diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-06-26 23:54:02 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2017-06-27 18:51:14 +0800 |
commit | eeadf5729d45e8682a808d8ce496e4ca9f8d3ff4 (patch) | |
tree | 9cde7fb5ee42de0ef747f46cd4bd432306c230d4 /src/GeneralStateTestsFiller/stStaticCall | |
parent | f975c7c0f684bd29fea0857b9c2e6dc344656cb8 (diff) | |
download | tangerine-tests-eeadf5729d45e8682a808d8ce496e4ca9f8d3ff4.tar tangerine-tests-eeadf5729d45e8682a808d8ce496e4ca9f8d3ff4.tar.gz tangerine-tests-eeadf5729d45e8682a808d8ce496e4ca9f8d3ff4.tar.bz2 tangerine-tests-eeadf5729d45e8682a808d8ce496e4ca9f8d3ff4.tar.lz tangerine-tests-eeadf5729d45e8682a808d8ce496e4ca9f8d3ff4.tar.xz tangerine-tests-eeadf5729d45e8682a808d8ce496e4ca9f8d3ff4.tar.zst tangerine-tests-eeadf5729d45e8682a808d8ce496e4ca9f8d3ff4.zip |
Fix a test case that expected staticcall to return successfully even when an SSTORE is attempted
Diffstat (limited to 'src/GeneralStateTestsFiller/stStaticCall')
-rw-r--r-- | src/GeneralStateTestsFiller/stStaticCall/static_callToStaticOpCodeCheckFiller.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/GeneralStateTestsFiller/stStaticCall/static_callToStaticOpCodeCheckFiller.json b/src/GeneralStateTestsFiller/stStaticCall/static_callToStaticOpCodeCheckFiller.json index 4e1bf5c1b..7c8537f05 100644 --- a/src/GeneralStateTestsFiller/stStaticCall/static_callToStaticOpCodeCheckFiller.json +++ b/src/GeneralStateTestsFiller/stStaticCall/static_callToStaticOpCodeCheckFiller.json @@ -40,7 +40,7 @@ }, "1000000000000000000000000000000000000002" : { "balance" : "1000000000000000000", - "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x1000000000000000000000000000000000000001 (CALLER)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x1000000000000000000000000000000000000002 (ADDRESS)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x0186a0 (CALLVALUE)) (MSTORE 1 1) (SSTORE 1 2) ) }", + "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x1000000000000000000000000000000000000001 (CALLER)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x1000000000000000000000000000000000000002 (ADDRESS)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0 (CALLVALUE)) (MSTORE 1 1) (SSTORE 1 2) ) }", "nonce" : "0", "storage" : { } |