From 6ebd4f17753ad633a7aeec98dc3f8fb2d629571a Mon Sep 17 00:00:00 2001 From: Dimitry Date: Wed, 15 Aug 2018 20:05:39 +0300 Subject: create2 test --- .../stCreate2/create2collisionCode.json | 74 ++++++++++++++++++++++ 1 file changed, 74 insertions(+) create mode 100644 GeneralStateTests/stCreate2/create2collisionCode.json (limited to 'GeneralStateTests/stCreate2/create2collisionCode.json') diff --git a/GeneralStateTests/stCreate2/create2collisionCode.json b/GeneralStateTests/stCreate2/create2collisionCode.json new file mode 100644 index 000000000..36f6e2f55 --- /dev/null +++ b/GeneralStateTests/stCreate2/create2collisionCode.json @@ -0,0 +1,74 @@ +{ + "create2collisionCode" : { + "_info" : { + "comment" : "create2 generates an account that already exists and has not empty code", + "filledwith" : "testeth 1.5.0.dev2+commit.0397a837.dirty", + "lllcversion" : "Version: 0.4.25-develop.2018.8.9+commit.63d071d6.mod.Linux.g++", + "source" : "src/GeneralStateTestsFiller/stCreate2/create2collisionCodeFiller.json", + "sourceHash" : "4f997537a448d0024ea20a53d9673afa9324d9633ec7e8b97bd74073b40a25b9" + }, + "env" : { + "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "0x20000", + "currentGasLimit" : "0x0f4240", + "currentNumber" : "0x01", + "currentTimestamp" : "0x03e8", + "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "post" : { + "Byzantium" : [ + { + "hash" : "0x99f1f2d802c0e3d46619a143e236f1a8390f8b524553c8fd18b678317b377654", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ], + "Constantinople" : [ + { + "hash" : "0x171ffc2b7bf5a9a8fcfb5d7a4b799c4069dc16f3b5b4d3837606b17b696b15f7", + "indexes" : { + "data" : 0, + "gas" : 0, + "value" : 0 + }, + "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347" + } + ] + }, + "pre" : { + "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { + "balance" : "0x0de0b6b3a7640000", + "code" : "", + "nonce" : "0x00", + "storage" : { + } + }, + "0xe2b35478fdd26477cc576dd906e6277761246a3c" : { + "balance" : "0x00", + "code" : "0x010203", + "nonce" : "0x00", + "storage" : { + } + } + }, + "transaction" : { + "data" : [ + "0x6000600060006000f5" + ], + "gasLimit" : [ + "0x061a80" + ], + "gasPrice" : "0x01", + "nonce" : "0x00", + "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8", + "to" : "", + "value" : [ + "0x01" + ] + } + } +} \ No newline at end of file -- cgit