core/vm: add bn256ScalarMul testcase for zero scalar value (#26607)

EIP-196 allows a zero value in the scalar argument to precompile `0x07`. This change adds a test for that case.
This commit is contained in:
raulk 2023-02-06 12:41:29 +00:00 committed by GitHub
parent 8e92881a3d
commit 918aed4e31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -124,5 +124,12 @@
"Name": "cdetrio15",
"Gas": 6000,
"NoBenchmark": true
},
{
"Input": "039730ea8dff1254c0fee9c0ea777d29a9c710b7e616683f194f18c43b43b869073a5ffcc6fc7a28c30723d6e58ce577356982d65b833a5a5c15bf9024b43d980000000000000000000000000000000000000000000000000000000000000000",
"Expected": "00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"Name": "zeroScalar",
"Gas": 6000,
"NoBenchmark": true
}
]