aboutsummaryrefslogtreecommitdiffstats
path: root/src/GeneralStateTestsFiller/stPreCompiledContracts2/CallEcrecoverInvalidSignatureFiller.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/GeneralStateTestsFiller/stPreCompiledContracts2/CallEcrecoverInvalidSignatureFiller.json')
-rw-r--r--src/GeneralStateTestsFiller/stPreCompiledContracts2/CallEcrecoverInvalidSignatureFiller.json7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/GeneralStateTestsFiller/stPreCompiledContracts2/CallEcrecoverInvalidSignatureFiller.json b/src/GeneralStateTestsFiller/stPreCompiledContracts2/CallEcrecoverInvalidSignatureFiller.json
index 6e6e65c65..facf092ff 100644
--- a/src/GeneralStateTestsFiller/stPreCompiledContracts2/CallEcrecoverInvalidSignatureFiller.json
+++ b/src/GeneralStateTestsFiller/stPreCompiledContracts2/CallEcrecoverInvalidSignatureFiller.json
@@ -1,5 +1,8 @@
{
"CallEcrecoverInvalidSignature" : {
+ "_info" : {
+ "comment": "CALL to ECREC precompile with input which is a completely invalid signature and a 32 byte output range in memory. ECREC should return an empty response and the 32 byte output range should be left unchanged."
+ },
"env" : {
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
"currentDifficulty" : "0x20000",
@@ -19,7 +22,7 @@
"result" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"storage" : {
- "0x00" : "0x1234"
+ "0x00" : "0x1122334455667788991011121314151617181920212223242526272829303132"
}
}
}
@@ -28,7 +31,7 @@
"pre" : {
"095e7baea6a6c7c4c2dfeb977efac326af552d87" : {
"balance" : "20000000",
- "code" : "{ (MSTORE 128 0x1234) (CALL 300000 1 0 0 128 128 32) [[ 0 ]] (MLOAD 128) }",
+ "code" : "{ (MSTORE 128 0x1122334455667788991011121314151617181920212223242526272829303132) (CALL 300000 1 0 0 128 128 32) [[ 0 ]] (MLOAD 128) }",
"nonce" : "0",
"storage" : {
}