diff options
Diffstat (limited to 'src/GeneralStateTestsFiller/stPreCompiledContracts')
-rw-r--r-- | src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json index 7db520093..4074f49a1 100644 --- a/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json +++ b/src/GeneralStateTestsFiller/stPreCompiledContracts/modexpFiller.json @@ -91,7 +91,7 @@ }, { "indexes" : { - "data" : [11, 14], + "data" : [11, 14, 25, 26], "gas" : -1, "value" : -1 }, @@ -177,7 +177,9 @@ "17 - 02**03 % 0006", "18,19,20 - Non-zero length mod, but passed calldata has not enough total length", "21,21,22,23 - Non-zero length exp & mod, but passed data has only base and part of exp / only base", - "24 - Non-zero length base & exp & mod and no values in input data - interpreted as all zeroes" + "24 - Non-zero length base & exp & mod and no values in input data - interpreted as all zeroes", + "25 - Price calculation when baseLength > modLength", + "26 - bigint_expmod precompiled contract returns 1 for 0 ^ 0 mod 100" ], "data" : [ "0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002003fffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2efffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f", @@ -204,7 +206,9 @@ "0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002023003", "0x0000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000020230", "0x00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000202", -"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002" +"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002", +"0x000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001001001010010", +"0x000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001000064" ], "gasLimit" : [ "100000000" |