aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stCreateTest/CreateOOGafterInitCodeRevert2.json
diff options
context:
space:
mode:
Diffstat (limited to 'GeneralStateTests/stCreateTest/CreateOOGafterInitCodeRevert2.json')
-rw-r--r--GeneralStateTests/stCreateTest/CreateOOGafterInitCodeRevert2.json81
1 files changed, 81 insertions, 0 deletions
diff --git a/GeneralStateTests/stCreateTest/CreateOOGafterInitCodeRevert2.json b/GeneralStateTests/stCreateTest/CreateOOGafterInitCodeRevert2.json
new file mode 100644
index 000000000..acd6d1afd
--- /dev/null
+++ b/GeneralStateTests/stCreateTest/CreateOOGafterInitCodeRevert2.json
@@ -0,0 +1,81 @@
+{
+ "CreateOOGafterInitCodeRevert2" : {
+ "_info" : {
+ "comment" : "Calls a contract that runs CREATE which deploy a code. then after deployment and exiting from CREATE a REVERT is called. check the REVERT data in this case equal to RETURN value of CREATE. CREATE fails due to the deployment cost.",
+ "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/CreateOOGafterInitCodeRevert2Filler.json",
+ "sourceHash" : "5da53239441d2b26b5bab534410d6205dabfdedf15d0c7ed2e31a89026bcc5ec"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Byzantium" : [
+ {
+ "hash" : "0xfd157c52348892cc178af9f65adbbb26fe6f4baef16005e8903dc7190baa1ead",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ],
+ "Constantinople" : [
+ {
+ "hash" : "0xfd157c52348892cc178af9f65adbbb26fe6f4baef16005e8903dc7190baa1ead",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xe8d4a51000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x00",
+ "code" : "0x6d6460016001556000526005601bf3600052600e60126000f05060206000fd",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x00",
+ "code" : "0x6020600060006000600073b94f5374fce5edbc8e2a8697c15331677e6ebf0b6180e8f150600051600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x"
+ ],
+ "gasLimit" : [
+ "0x0124f8"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0xc94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "value" : [
+ "0x00"
+ ]
+ }
+ }
+} \ No newline at end of file