From 970aaa33db8264f03d2c90a868d2b2cf45fc8394 Mon Sep 17 00:00:00 2001 From: Dimitry Date: Fri, 14 Sep 2018 12:21:54 +0300 Subject: create2 smart init code --- .../stCreate2/create2SmartInitCode.json | 87 ++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 GeneralStateTests/stCreate2/create2SmartInitCode.json (limited to 'GeneralStateTests') diff --git a/GeneralStateTests/stCreate2/create2SmartInitCode.json b/GeneralStateTests/stCreate2/create2SmartInitCode.json new file mode 100644 index 000000000..c6c681c31 --- /dev/null +++ b/GeneralStateTests/stCreate2/create2SmartInitCode.json @@ -0,0 +1,87 @@ +{ + "create2SmartInitCode" : { + "_info" : { + "comment" : "create2SmartInitCode. create2 works different each time you call it", + "filledwith" : "testeth 1.5.0.dev2-45+commit.0189490f.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreate2/create2SmartInitCodeFiller.json", + "sourceHash" : "70c1c3b4fa1c3b135937499903cbb469ca4c4734d3d4482dabf228bc24cafa22" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0a00000000", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Constantinople" : [ + { + "hash" : "0xd793409ee86a574df2476c3e44cb8b32ec8ae5a72e4b86845fdde73c5d77caff", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + }, + { + "hash" : "0x3c05d886fcf48052638cfb148a5fb7eacf154bfd6143818491a162a00c67c37f", + "indexes" : { + "data" : 1, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0x0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x64", + "code" : "0x7a600060015414601157600a6000f3601a565b60016001556001ff5b6000526000601b60056001f56001556000601b60056001f5600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0x1f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "0x64", + "code" : "0x7c600060015414601157600a6000f3601c565b6001600155600a6000f35b6000526000601d60036001f56001556000601b60056001f5600255", + "nonce" : "0x00", + "storage" : { + } + }, + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x6400000000", + "code" : "0x600060006000600060006000355af1", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x0000000000000000000000000f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "0x0000000000000000000000001f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" + ], + "gasLimit" : [ + "0x0a00000000" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b", + "value" : [ + "0x00" + ] + } + } +} \ No newline at end of file -- cgit