aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorYoichi Hirai <i@yoichihirai.com>2017-06-26 23:52:01 +0800
committerYoichi Hirai <i@yoichihirai.com>2017-06-27 18:51:09 +0800
commitf975c7c0f684bd29fea0857b9c2e6dc344656cb8 (patch)
tree362b19cd4d6e63b8837b49a0dc32d32204be376e /src
parent45fdeabf2648482fa155358ead296faa4a0c94e3 (diff)
downloaddexon-tests-f975c7c0f684bd29fea0857b9c2e6dc344656cb8.tar
dexon-tests-f975c7c0f684bd29fea0857b9c2e6dc344656cb8.tar.gz
dexon-tests-f975c7c0f684bd29fea0857b9c2e6dc344656cb8.tar.bz2
dexon-tests-f975c7c0f684bd29fea0857b9c2e6dc344656cb8.tar.lz
dexon-tests-f975c7c0f684bd29fea0857b9c2e6dc344656cb8.tar.xz
dexon-tests-f975c7c0f684bd29fea0857b9c2e6dc344656cb8.tar.zst
dexon-tests-f975c7c0f684bd29fea0857b9c2e6dc344656cb8.zip
Fix a test that expected staticcall to return successfully even when SSTORE is attempted inside
Diffstat (limited to 'src')
-rw-r--r--src/GeneralStateTestsFiller/stStaticCall/static_callToDelCallOpCodeCheckFiller.json4
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" : {
}