aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stCreateTest
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2018-07-06 20:29:44 +0800
committerDimitry <dimitry@ethereum.org>2018-07-06 20:29:44 +0800
commit3b8723eff8edc18e80a4610066847891ab61980a (patch)
tree579d07453ce2f25e057101c21e48fedaccaa3b6e /GeneralStateTests/stCreateTest
parentaa820ad89b8dfe378d1ce74ed8f3f79ee94bd668 (diff)
downloadtangerine-tests-3b8723eff8edc18e80a4610066847891ab61980a.tar
tangerine-tests-3b8723eff8edc18e80a4610066847891ab61980a.tar.gz
tangerine-tests-3b8723eff8edc18e80a4610066847891ab61980a.tar.bz2
tangerine-tests-3b8723eff8edc18e80a4610066847891ab61980a.tar.lz
tangerine-tests-3b8723eff8edc18e80a4610066847891ab61980a.tar.xz
tangerine-tests-3b8723eff8edc18e80a4610066847891ab61980a.tar.zst
tangerine-tests-3b8723eff8edc18e80a4610066847891ab61980a.zip
check returndatasize after failing create
Diffstat (limited to 'GeneralStateTests/stCreateTest')
-rw-r--r--GeneralStateTests/stCreateTest/CreateOOGafterInitCodeReturndataSize.json74
1 files changed, 74 insertions, 0 deletions
diff --git a/GeneralStateTests/stCreateTest/CreateOOGafterInitCodeReturndataSize.json b/GeneralStateTests/stCreateTest/CreateOOGafterInitCodeReturndataSize.json
new file mode 100644
index 000000000..aae775633
--- /dev/null
+++ b/GeneralStateTests/stCreateTest/CreateOOGafterInitCodeReturndataSize.json
@@ -0,0 +1,74 @@
+{
+ "CreateOOGafterInitCodeReturndataSize" : {
+ "_info" : {
+ "comment" : "Calls a contract that runs CREATE which deploy a code. then OOG happens upon deployment of the actual code. check the RETURNDATASIZE after create. fails with OOG if RETURNDATASIZE != 0",
+ "filledwith" : "testeth 1.4.0.dev1-71+commit.d4c00a53.dirty",
+ "lllcversion" : "Version: 0.4.25-develop.2018.6.30+commit.e289c361.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stCreateTest/CreateOOGafterInitCodeReturndataSizeFiller.json",
+ "sourceHash" : "417b25215044dde14303698232194ca655d7e8279eab519794c728f8fbf94e9d"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Byzantium" : [
+ {
+ "hash" : "0x75e1af250ad929c968eb25a2c14d174e4acdab0c7c61166684a8cae06a5a3456",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Constantinople" : [
+ {
+ "hash" : "0x75e1af250ad929c968eb25a2c14d174e4acdab0c7c61166684a8cae06a5a3456",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xe8d4a51000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x00",
+ "code" : "0x726960016001556001600255600052600a6016f36000526013600d6000f0503d60020a",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x"
+ ],
+ "gasLimit" : [
+ "0xd70e"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : [
+ "0x01"
+ ]
+ }
+ }
+} \ No newline at end of file