diff options
author | Yoichi Hirai <i@yoichihirai.com> | 2017-09-27 17:13:05 +0800 |
---|---|---|
committer | Yoichi Hirai <i@yoichihirai.com> | 2017-09-27 17:13:51 +0800 |
commit | d6dd9704757b1f27c2fe7aad72f6c04bcb80d8f9 (patch) | |
tree | e91f5beac8293f02d94cdfb007094c4347f5c24b /src/GeneralStateTestsFiller/stRevertTest | |
parent | ab372add116d2255062cb54bbc80c55bacbbdc92 (diff) | |
download | tangerine-tests-d6dd9704757b1f27c2fe7aad72f6c04bcb80d8f9.tar tangerine-tests-d6dd9704757b1f27c2fe7aad72f6c04bcb80d8f9.tar.gz tangerine-tests-d6dd9704757b1f27c2fe7aad72f6c04bcb80d8f9.tar.bz2 tangerine-tests-d6dd9704757b1f27c2fe7aad72f6c04bcb80d8f9.tar.lz tangerine-tests-d6dd9704757b1f27c2fe7aad72f6c04bcb80d8f9.tar.xz tangerine-tests-d6dd9704757b1f27c2fe7aad72f6c04bcb80d8f9.tar.zst tangerine-tests-d6dd9704757b1f27c2fe7aad72f6c04bcb80d8f9.zip |
Update with more comments
Diffstat (limited to 'src/GeneralStateTestsFiller/stRevertTest')
-rw-r--r-- | src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeInCallsOnNonEmptyReturnDataFiller.json | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeInCallsOnNonEmptyReturnDataFiller.json b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeInCallsOnNonEmptyReturnDataFiller.json index 1c07ffacf..65c403041 100644 --- a/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeInCallsOnNonEmptyReturnDataFiller.json +++ b/src/GeneralStateTestsFiller/stRevertTest/RevertOpcodeInCallsOnNonEmptyReturnDataFiller.json @@ -78,7 +78,6 @@ } }, { - "comment" : "OOG", "indexes" : { "data" : 0, "gas" : 1, @@ -267,14 +266,16 @@ } }, "c94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { - "balance" : "1", - "code" : "{ [[1]] 12 (REVERT 0 1) [[3]] 13 }", - "nonce" : "0", - "storage" : { - } - }, + "balance" : "1", + "//comment" : "Recording it's called at [[1]], and reverting. The store into [[3]] should not be reached.", + "code" : "{ [[1]] 12 (REVERT 0 1) [[3]] 13 }", + "nonce" : "0", + "storage" : { + } + }, "ffff5374fce5edbc8e2a8697c15331677e6ebf0b" : { "balance" : "1", + "// comment" : "This should return 12 as a return value. This sets the returndata buffer of the caller to be 64-byte long.", "code" : "{ [1] 12 (RETURN 0 64) }", "nonce" : "0", "storage" : { |