mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 23:56:43 +00:00
* Revert modexp precompiled contract if input is not u256 * bump version * use specific error * bump version * tests * bump version * fix lint * Update version.go --------- Co-authored-by: Péter Garamvölgyi <peter@scroll.io>
12 lines
No EOL
678 B
JSON
12 lines
No EOL
678 B
JSON
[
|
|
{
|
|
"Input": "000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020",
|
|
"ExpectedError": "modexp temporarily accepts only 32-byte (256-bit) inputs",
|
|
"Name": "too small input"
|
|
},
|
|
{
|
|
"Input": "000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000020",
|
|
"ExpectedError": "modexp temporarily accepts only 32-byte (256-bit) inputs",
|
|
"Name": "too big input"
|
|
}
|
|
] |