aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stCreate2/create2collisionSelfdestructed2.json
diff options
context:
space:
mode:
Diffstat (limited to 'GeneralStateTests/stCreate2/create2collisionSelfdestructed2.json')
-rw-r--r--GeneralStateTests/stCreate2/create2collisionSelfdestructed2.json80
1 files changed, 80 insertions, 0 deletions
diff --git a/GeneralStateTests/stCreate2/create2collisionSelfdestructed2.json b/GeneralStateTests/stCreate2/create2collisionSelfdestructed2.json
new file mode 100644
index 000000000..c61aed991
--- /dev/null
+++ b/GeneralStateTests/stCreate2/create2collisionSelfdestructed2.json
@@ -0,0 +1,80 @@
+{
+ "create2collisionSelfdestructed2" : {
+ "_info" : {
+ "comment" : "A contract which performs SUICIDE, and is then attempted to be recreated (different code, same init-code) during the same transaction. This ought to fail, since the code is not cleaned out until after the transaction is ended.",
+ "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/create2collisionSelfdestructed2Filler.json",
+ "sourceHash" : "c2dfd1897c3208ec6bb0d90f4c28366282433d67d37d571ba0af0fc0f7441ad4"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x20000",
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0x2aaeccadffb464b3942a98bcaa33d20002168de6b585c39514e45f2bfe8f68a8",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xccd5070f2c969fd80b3d6e01a5419fd7fd70359d4cbe9397da6838b338ceae50",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x0de0b6b3a7640000",
+ "code" : "0x626010ff6000526003601df3",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xcff64f4c5df8f436c4f2c1af4b2e3f9e3004c779" : {
+ "balance" : "0x01",
+ "code" : "0x6010ff",
+ "nonce" : "0x01",
+ "storage" : {
+ }
+ },
+ "0xfce41d047b4a1d4450382dcc29ec7e5fedc5f9a3" : {
+ "balance" : "0x01",
+ "code" : "0x6010ff",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x6000600060006000600073fce41d047b4a1d4450382dcc29ec7e5fedc5f9a361c350f1506b620102036000526003601df36000526000600c60146000f5",
+ "0x6000600060006000600073cff64f4c5df8f436c4f2c1af4b2e3f9e3004c77961c350f1506b626010ff6000526003601df36000526000600c60146000f5"
+ ],
+ "gasLimit" : [
+ "0x061a80"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "",
+ "value" : [
+ "0x00"
+ ]
+ }
+ }
+} \ No newline at end of file