diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-06-26 23:52:01 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2017-06-27 18:51:09 +0800 |
commit | f975c7c0f684bd29fea0857b9c2e6dc344656cb8 (patch) | |
tree | 362b19cd4d6e63b8837b49a0dc32d32204be376e /src/GeneralStateTestsFiller/stStaticCall/static_callToDelCallOpCodeCheckFiller.json | |
parent | 45fdeabf2648482fa155358ead296faa4a0c94e3 (diff) | |
download | tangerine-tests-f975c7c0f684bd29fea0857b9c2e6dc344656cb8.tar tangerine-tests-f975c7c0f684bd29fea0857b9c2e6dc344656cb8.tar.gz tangerine-tests-f975c7c0f684bd29fea0857b9c2e6dc344656cb8.tar.bz2 tangerine-tests-f975c7c0f684bd29fea0857b9c2e6dc344656cb8.tar.lz tangerine-tests-f975c7c0f684bd29fea0857b9c2e6dc344656cb8.tar.xz tangerine-tests-f975c7c0f684bd29fea0857b9c2e6dc344656cb8.tar.zst tangerine-tests-f975c7c0f684bd29fea0857b9c2e6dc344656cb8.zip |
Fix a test that expected staticcall to return successfully even when SSTORE is attempted inside
Diffstat (limited to 'src/GeneralStateTestsFiller/stStaticCall/static_callToDelCallOpCodeCheckFiller.json')
-rw-r--r-- | src/GeneralStateTestsFiller/stStaticCall/static_callToDelCallOpCodeCheckFiller.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GeneralStateTestsFiller/stStaticCall/static_callToDelCallOpCodeCheckFiller.json b/src/GeneralStateTestsFiller/stStaticCall/static_callToDelCallOpCodeCheckFiller.json index 21b6484a8..6a041c17f 100644 --- a/src/GeneralStateTestsFiller/stStaticCall/static_callToDelCallOpCodeCheckFiller.json +++ b/src/GeneralStateTestsFiller/stStaticCall/static_callToDelCallOpCodeCheckFiller.json @@ -24,7 +24,7 @@ "pre" : { "1000000000000000000000000000000000000000" : { "balance" : "1000000000000000000", - "code" : "Static call success", + "code" : "Static call succeed", "code" : "{ [[ 0 ]] (STATICCALL 100000 (CALLDATALOAD 0) 0 0 0 0) }", "nonce" : "0", "storage" : { @@ -40,7 +40,7 @@ }, "1000000000000000000000000000000000000002" : { "balance" : "1000000000000000000", - "code" : "{ (if (= 0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b (ORIGIN)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x1000000000000000000000000000000000000000 (CALLER)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x1000000000000000000000000000000000000001 (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 (= 0x1000000000000000000000000000000000000000 (CALLER)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0x1000000000000000000000000000000000000001 (ADDRESS)) (MSTORE 1 1) (SSTORE 1 2) ) (if (= 0 (CALLVALUE)) (MSTORE 1 1) (SSTORE 1 2) ) }", "nonce" : "0", "storage" : { } |