diff options
author | Dimitry <dimitry@ethereum.org> | 2018-08-28 22:14:59 +0800 |
---|---|---|
committer | Dimitry <dimitry@ethereum.org> | 2018-08-28 22:14:59 +0800 |
commit | e4433658bd7521066a49fd3bf1d8c86e61e393a7 (patch) | |
tree | 18408183d0b1770c67e2f9adbe22d7846e247476 /GeneralStateTests/stCreate2/create2noCash.json | |
parent | 980b4771fbe8ed4a5429e0feeadf4ae07a2b8929 (diff) | |
download | dexon-tests-e4433658bd7521066a49fd3bf1d8c86e61e393a7.tar dexon-tests-e4433658bd7521066a49fd3bf1d8c86e61e393a7.tar.gz dexon-tests-e4433658bd7521066a49fd3bf1d8c86e61e393a7.tar.bz2 dexon-tests-e4433658bd7521066a49fd3bf1d8c86e61e393a7.tar.lz dexon-tests-e4433658bd7521066a49fd3bf1d8c86e61e393a7.tar.xz dexon-tests-e4433658bd7521066a49fd3bf1d8c86e61e393a7.tar.zst dexon-tests-e4433658bd7521066a49fd3bf1d8c86e61e393a7.zip |
create2 init code tests
Diffstat (limited to 'GeneralStateTests/stCreate2/create2noCash.json')
-rw-r--r-- | GeneralStateTests/stCreate2/create2noCash.json | 112 |
1 files changed, 112 insertions, 0 deletions
diff --git a/GeneralStateTests/stCreate2/create2noCash.json b/GeneralStateTests/stCreate2/create2noCash.json new file mode 100644 index 000000000..f6b647be7 --- /dev/null +++ b/GeneralStateTests/stCreate2/create2noCash.json @@ -0,0 +1,112 @@ +{ + "create2noCash" : { + "_info" : { + "comment" : "create2 fails with not enough cash (endowment of a new account) + inside staticcall", + "filledwith" : "testeth 1.5.0.dev2+commit.a168110a.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreate2/create2noCashFiller.json", + "sourceHash" : "25092db15937c9acea83773c69349f41e86a4da665ddc3665bb74fbeb4032cfe" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0x16cca509f2b6739c631ffe2cb44ed0d69748838111860f78e94b402ffae302c6", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x6c66ccc9d9aa82092fc7d1e98e19252128395af787bd42682381aa04d2364744", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x15b1ca0282293bca9a76c63748dd689c04f31bd124de7ecf80e959e9d5868637", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Constantinople" : [ + { + "hash" : "0x5f84794f487fb324fa2653e2dc0e3879ae8091d3bdd0b6de6f34882f1458696d", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0xbaee1b2a4e66acf567ab59e57460dc0d471d087350463a419abf845e81f21970", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x15b1ca0282293bca9a76c63748dd689c04f31bd124de7ecf80e959e9d5868637", + "indexes" : { + "data" : 2, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe2b35478fdd26477cc576dd906e6277761246a3c" : { + "balance" : "0x64", + "code" : "0x6000600060006065f5", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x6000600060006000600073e2b35478fdd26477cc576dd906e6277761246a3c620249f0f1", + "0x6000600060006000600173e2b35478fdd26477cc576dd906e6277761246a3c620249f0f1", + "0x600060006000600073e2b35478fdd26477cc576dd906e6277761246a3c620249f0fa" + ], + "gasLimit" : [ + "0x061a80" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : [ + "0x01" + ] + } + } +}
\ No newline at end of file |