aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2018-07-06 00:55:02 +0800
committerDimitry <dimitry@ethereum.org>2018-07-06 00:55:02 +0800
commitaa820ad89b8dfe378d1ce74ed8f3f79ee94bd668 (patch)
tree3e809eee8dec209d44c969d2da5bdb7848d54f54 /GeneralStateTests
parent3f745669dbeb7eedcff1af1101fe90751a2891ff (diff)
downloadtangerine-tests-aa820ad89b8dfe378d1ce74ed8f3f79ee94bd668.tar.gz
tangerine-tests-aa820ad89b8dfe378d1ce74ed8f3f79ee94bd668.tar.zst
tangerine-tests-aa820ad89b8dfe378d1ce74ed8f3f79ee94bd668.zip
check returndata after failing create
Diffstat (limited to 'GeneralStateTests')
-rw-r--r--GeneralStateTests/stCreateTest/CreateOOGafterInitCodeReturndata3.json81
1 files changed, 81 insertions, 0 deletions
diff --git a/GeneralStateTests/stCreateTest/CreateOOGafterInitCodeReturndata3.json b/GeneralStateTests/stCreateTest/CreateOOGafterInitCodeReturndata3.json
new file mode 100644
index 000000000..47957fc37
--- /dev/null
+++ b/GeneralStateTests/stCreateTest/CreateOOGafterInitCodeReturndata3.json
@@ -0,0 +1,81 @@
+{
+ "CreateOOGafterInitCodeReturndata3" : {
+ "_info" : {
+ "comment" : "Calls a contract that runs CREATE which deploy a code. then OOG happens upon deployment of the actual code. check the RETURN data buffer in initial contract",
+ "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/CreateOOGafterInitCodeReturndata3Filler.json",
+ "sourceHash" : "a6e6fd73748768e3ceed88ae0704f7ab7bd79a32ef145f80e557536aa3e2b5ce"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Byzantium" : [
+ {
+ "hash" : "0x372c4f631ee4522dc20a85f48d9ab2e0faff8feef0621944228378c76a388746",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Constantinople" : [
+ {
+ "hash" : "0x372c4f631ee4522dc20a85f48d9ab2e0faff8feef0621944228378c76a388746",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xe8d4a51000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x00",
+ "code" : "0x6d6460016001556000526005601bf3600052600e60126000f0",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x00",
+ "code" : "0x6020600060006000600073b94f5374fce5edbc8e2a8697c15331677e6ebf0b5af2506020600060003e600051600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x"
+ ],
+ "gasLimit" : [
+ "0xd6d8"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : [
+ "0x00"
+ ]
+ }
+ }
+} \ No newline at end of file