aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests
diff options
context:
space:
mode:
authorDimitry <dimitry@ethereum.org>2018-10-17 20:29:01 +0800
committerDimitry <dimitry@ethereum.org>2018-10-17 20:29:01 +0800
commit08f02b246475be9e7955bd2eb7aad9315f2acb75 (patch)
tree6ffde8f473a7d450228be005829a5ec5405a1f94 /GeneralStateTests
parentc4ce13f6f0d0f5d1a9594a979080700738eed88e (diff)
downloaddexon-tests-08f02b246475be9e7955bd2eb7aad9315f2acb75.tar.gz
dexon-tests-08f02b246475be9e7955bd2eb7aad9315f2acb75.tar.zst
dexon-tests-08f02b246475be9e7955bd2eb7aad9315f2acb75.zip
fill as blockchain
Diffstat (limited to 'GeneralStateTests')
-rw-r--r--GeneralStateTests/stSStoreTest/sstore_0to0.json207
-rw-r--r--GeneralStateTests/stSStoreTest/sstore_0to0to0.json77
-rw-r--r--GeneralStateTests/stSStoreTest/sstore_0to0toX.json77
-rw-r--r--GeneralStateTests/stSStoreTest/sstore_0toX.json258
-rw-r--r--GeneralStateTests/stSStoreTest/sstore_0toXto0.json77
-rw-r--r--GeneralStateTests/stSStoreTest/sstore_0toXtoX.json77
-rw-r--r--GeneralStateTests/stSStoreTest/sstore_0toXtoY.json77
-rw-r--r--GeneralStateTests/stSStoreTest/sstore_Xto0.json208
-rw-r--r--GeneralStateTests/stSStoreTest/sstore_Xto0to0.json80
-rw-r--r--GeneralStateTests/stSStoreTest/sstore_Xto0toX.json80
-rw-r--r--GeneralStateTests/stSStoreTest/sstore_Xto0toY.json80
-rw-r--r--GeneralStateTests/stSStoreTest/sstore_XtoX.json214
-rw-r--r--GeneralStateTests/stSStoreTest/sstore_XtoY.json212
-rw-r--r--GeneralStateTests/stSStoreTest/sstore_XtoYto0.json80
14 files changed, 1744 insertions, 60 deletions
diff --git a/GeneralStateTests/stSStoreTest/sstore_0to0.json b/GeneralStateTests/stSStoreTest/sstore_0to0.json
index 105aecd8a..72ae94737 100644
--- a/GeneralStateTests/stSStoreTest/sstore_0to0.json
+++ b/GeneralStateTests/stSStoreTest/sstore_0to0.json
@@ -5,7 +5,7 @@
"filledwith" : "testeth 1.5.0.dev2-76+commit.2fd57400",
"lllcversion" : "Version: 0.5.0-develop.2018.10.10+commit.06200b4b.Linux.g++",
"source" : "src/GeneralStateTestsFiller/stSStoreTest/sstore_0to0Filler.json",
- "sourceHash" : "4ba6fc89319db71bd23d5c54f0b8cf66d1abd4b2f4cf8287015406cce6aefeb7"
+ "sourceHash" : "b442bb09ef56eb3211b35045333679263bfb992f226ae8878a42583f6aface3e"
},
"env" : {
"currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
@@ -18,24 +18,188 @@
"post" : {
"Constantinople" : [
{
- "hash" : "0x49cdd90e22d15c53bcd9bff4d66e2994a35261ffd0f830dcbed6c2ff1c4d13fb",
+ "hash" : "0xd869245d455e7089422a3cdebb00a7655ee8c97b112a88db6e1dcfa5ab520d70",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x6e4478961d84bbe68217cddd9c3c5bed156e5a5b09eca5491bfa740cf070c219",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xd869245d455e7089422a3cdebb00a7655ee8c97b112a88db6e1dcfa5ab520d70",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x6e4478961d84bbe68217cddd9c3c5bed156e5a5b09eca5491bfa740cf070c219",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x007e3588f23cf38e112eae7b8beb1bb23f79f909e4d4b23271d73bf0644843fc",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x7b1595660ce49ebf160fc57e1a9216c4ed1b704c211eb30f01e3d54f6ddc3c98",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x59b7fa7affa5d7b16204730ba29129cc36e246e5de59b7b0e86697ba6c6d8ba0",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x68b5879a85f83059f01c79aab88fb4ee936112ab4024e8c2af4d268e456bf13c",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xbf921e5ea1533ef4b63751dfd474a928ab76a86357e4311a58955b7652adfd83",
+ "indexes" : {
+ "data" : 4,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x4772b0de778cd4c54367391004f0b269347412c7a5b6163308a18df92617f1c4",
+ "indexes" : {
+ "data" : 4,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x7f55513da6b4526958cdbc9a289d158ebc54be43508ee41f87b9d6178ce31ac3",
+ "indexes" : {
+ "data" : 5,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xe4463dad221d894319387ffe17cf6840abf306d160b4d5296004210328523c01",
+ "indexes" : {
+ "data" : 5,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x7f55513da6b4526958cdbc9a289d158ebc54be43508ee41f87b9d6178ce31ac3",
+ "indexes" : {
+ "data" : 6,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xe4463dad221d894319387ffe17cf6840abf306d160b4d5296004210328523c01",
+ "indexes" : {
+ "data" : 6,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x23b1d94853e9e1728f625b802da15457167f36da6f4f9d16b4dec2b59e4a5e77",
+ "indexes" : {
+ "data" : 7,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xa46827cf1a8011a6786feee26707a607aa759b0f82d2def6f1af64bce44c0f51",
+ "indexes" : {
+ "data" : 7,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x94b855e5d83c668fe44dd6426cf86ff988ce57b10753b2e756e373544ac801f2",
+ "indexes" : {
+ "data" : 8,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x9af68063b65c4aeeeba0e35abf938302d37bd9f65298c4388582d2ac1593f10c",
+ "indexes" : {
+ "data" : 8,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x631e8f5c8612188a5c4088ce3a5071555fe5937b1ce251e331b77acd9fe23c14",
+ "indexes" : {
+ "data" : 9,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xd8795890bed529993097626098ff6773c79f91fec3701e01db91b7d182d97a9b",
+ "indexes" : {
+ "data" : 9,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
]
},
"pre" : {
- "0x3e180b1862f9d158abb5e519a6d8605540c23682" : {
- "balance" : "0x05",
- "code" : "0x60006000556000600060006000600073b000000000000000000000000000000000000000620186a0f1506000600060006000600073b000000000000000000000000000000000000000620186a0f250600060006000600073b000000000000000000000000000000000000000620186a0f450600060006000600073b000000000000000000000000000000000000000620186a0fa506000600a8060a760003960006000f55000fe60006000556001600155",
- "nonce" : "0x00",
- "storage" : {
- }
- },
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
"code" : "",
@@ -45,7 +209,7 @@
},
"0xb000000000000000000000000000000000000000" : {
"balance" : "0x00",
- "code" : "0x60006001556001600255",
+ "code" : "0x6000600155",
"nonce" : "0x00",
"storage" : {
}
@@ -56,19 +220,36 @@
"nonce" : "0x00",
"storage" : {
}
+ },
+ "0xdea0000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x6001600155600060015560016002556000600255600160035560006003556001600455600060045560016005556000600555600160065560006006556001600755600060075560016008556000600855600160095560006009556001600a556000600a556001600b556000600b556001600c556000600c556001600d556000600d556001600e556000600e556001600f556000600f55600160105560006010556001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
}
},
"transaction" : {
"data" : [
- "0x"
+ "0x6000600060006000600073b000000000000000000000000000000000000000620493e0f1506000600060006000600073dea0000000000000000000000000000000000000620927c0f1",
+ "0x6000600060006000600073b000000000000000000000000000000000000000620493e0f2506000600060006000600073dea0000000000000000000000000000000000000620927c0f1",
+ "0x600060006000600073b000000000000000000000000000000000000000620493e0f4506000600060006000600073dea0000000000000000000000000000000000000620927c0f1",
+ "0x600060006000600073c000000000000000000000000000000000000000620493e0fa506000600060006000600073dea0000000000000000000000000000000000000620927c0f1",
+ "0x6000600a80603760003960006000f5506000600060006000600073dea0000000000000000000000000000000000000620927c0f15000fe60006000556001600155",
+ "0x6000600060006000600073b000000000000000000000000000000000000000620493e0f1506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd",
+ "0x6000600060006000600073b000000000000000000000000000000000000000620493e0f2506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd",
+ "0x600060006000600073b000000000000000000000000000000000000000620493e0f4506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd",
+ "0x600060006000600073c000000000000000000000000000000000000000620493e0fa506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd",
+ "0x6000600a80603c60003960006000f5506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd00fe60006000556001600155"
],
"gasLimit" : [
- "0x03f7a0"
+ "0x0f4240",
+ "0x061a80"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
"secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682",
+ "to" : "",
"value" : [
"0x01"
]
diff --git a/GeneralStateTests/stSStoreTest/sstore_0to0to0.json b/GeneralStateTests/stSStoreTest/sstore_0to0to0.json
new file mode 100644
index 000000000..584e67af3
--- /dev/null
+++ b/GeneralStateTests/stSStoreTest/sstore_0to0to0.json
@@ -0,0 +1,77 @@
+{
+ "sstore_0to0to0" : {
+ "_info" : {
+ "comment" : "change 0 -> 0 -> 0",
+ "filledwith" : "testeth 1.5.0.dev2-76+commit.2fd57400",
+ "lllcversion" : "Version: 0.5.0-develop.2018.10.10+commit.06200b4b.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stSStoreTest/sstore_0to0to0Filler.json",
+ "sourceHash" : "7cf34d9d21040dc8fff8d3aa657d94390a0741eec41fe6943df20a04e2cd98f6"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0x27a439bc342a7da39a7ec85fcb77516b7839672155351f35b352983f2c4c96d6",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0x3e180b1862f9d158abb5e519a6d8605540c23682" : {
+ "balance" : "0x05",
+ "code" : "0x600060005560006000556000600060006000600073b000000000000000000000000000000000000000620186a0f1506000600060006000600073b000000000000000000000000000000000000000620186a0f250600060006000600073b000000000000000000000000000000000000000620186a0f450600060006000600073b000000000000000000000000000000000000000620186a0fa50600060148060ac60003960006000f55000fe6001600055600060015560006001556000600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xe8d4a51000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xb000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x6000600155600060015560006001556001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xc000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x600060015560006001556000600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x"
+ ],
+ "gasLimit" : [
+ "0x0a1220"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682",
+ "value" : [
+ "0x01"
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/GeneralStateTests/stSStoreTest/sstore_0to0toX.json b/GeneralStateTests/stSStoreTest/sstore_0to0toX.json
new file mode 100644
index 000000000..2db27a19a
--- /dev/null
+++ b/GeneralStateTests/stSStoreTest/sstore_0to0toX.json
@@ -0,0 +1,77 @@
+{
+ "sstore_0to0toX" : {
+ "_info" : {
+ "comment" : "change 0 -> 0 -> X",
+ "filledwith" : "testeth 1.5.0.dev2-76+commit.2fd57400",
+ "lllcversion" : "Version: 0.5.0-develop.2018.10.10+commit.06200b4b.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stSStoreTest/sstore_0to0toXFiller.json",
+ "sourceHash" : "94deaf3ee4e282474fd31a9d6f67f2c2e18a7a812f3ab2a24aa0a1a731ffc149"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0xcbbed3d5859ba5207d5d52df1b799702791b3c9718b2589fb6db92ac255739e3",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0x3e180b1862f9d158abb5e519a6d8605540c23682" : {
+ "balance" : "0x05",
+ "code" : "0x600060005560016000556000600060006000600073b000000000000000000000000000000000000000620186a0f1506000600060006000600073b000000000000000000000000000000000000000620186a0f250600060006000600073b000000000000000000000000000000000000000620186a0f450600060006000600073b000000000000000000000000000000000000000620186a0fa50600060148060ac60003960006000f55000fe6001600055600060015560006001556001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xe8d4a51000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xb000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x600060015560016001556001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xc000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x600060015560016001556000600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x"
+ ],
+ "gasLimit" : [
+ "0x0a1220"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682",
+ "value" : [
+ "0x01"
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/GeneralStateTests/stSStoreTest/sstore_0toX.json b/GeneralStateTests/stSStoreTest/sstore_0toX.json
new file mode 100644
index 000000000..c57f8be39
--- /dev/null
+++ b/GeneralStateTests/stSStoreTest/sstore_0toX.json
@@ -0,0 +1,258 @@
+{
+ "sstore_0toX" : {
+ "_info" : {
+ "comment" : "change 0 -> X",
+ "filledwith" : "testeth 1.5.0.dev2-76+commit.2fd57400",
+ "lllcversion" : "Version: 0.5.0-develop.2018.10.10+commit.06200b4b.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stSStoreTest/sstore_0toXFiller.json",
+ "sourceHash" : "2ca5858c41e1763b9b7c9e4cb723066cbceef16a3c41bc49a63568d588ebfad6"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0xad3263ab870a418982060a7888cd94f6c1b829eacaeac1c0419ac3a651994799",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x8ccd216991875e6804a31ff785a1a84ccaeda722b234ba4d7d3fcef2a050a5e5",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xbd2c6eef72e23577d27f03799173da0a1ae1ecedbe853e6467f2754dae94b202",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x0b065267ca61d60cd35c20b3dd668004554ae4618bba082fa677dcfa8aa11331",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x63b61551dbd5224b45c0c23eb217cb0f2988ed660f0a92b78ae27dff59a1d2e3",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x870cf6dabebf69fcf4e9ab091dda8a08366e964a19da73c4943e115ec156e89e",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xd95931d50f90b0fe245c933763d12507e1b0898b22428ca34ca65f61b4be8d04",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xbd6c67e6bbd0aaeedf3ca6e5c4ec9ed7c6ec4332111cfe37d25b755d13372871",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x9b70228597cad65543f32f3e387a47d87cd2734cf5f634f5b8d905b3febe053c",
+ "indexes" : {
+ "data" : 4,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xadee5da725a752ca2b2dfb98c0b3c54f34d6b37a660612264f2262b9c0f9db28",
+ "indexes" : {
+ "data" : 4,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x52b369d3dc9f0109119e44023582832f28131e50e8b865f68c20ac602506ace2",
+ "indexes" : {
+ "data" : 5,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x75895db18b81995cbc7ebe8e83bb52e9d4c9d1fca06a1536ae4e96ccb4a6129f",
+ "indexes" : {
+ "data" : 5,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x52b369d3dc9f0109119e44023582832f28131e50e8b865f68c20ac602506ace2",
+ "indexes" : {
+ "data" : 6,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x75895db18b81995cbc7ebe8e83bb52e9d4c9d1fca06a1536ae4e96ccb4a6129f",
+ "indexes" : {
+ "data" : 6,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x94a85cfc60ee094e38df7801545a02e80c5429b35ffa3251338496414a540fac",
+ "indexes" : {
+ "data" : 7,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xdf08b5bd46c3e4c71b59e70299f22a1eade59b7b9ac751fb17b54856e54282df",
+ "indexes" : {
+ "data" : 7,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xf0b854c2ca04f20d65a4faf17af7e3506a5163f9229b38a80c1e306e70f15df4",
+ "indexes" : {
+ "data" : 8,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xd0ef5c985f85d4540463324e545a9c78ec0f37d28e4f0274d43e876dd394bd6c",
+ "indexes" : {
+ "data" : 8,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xd399778a6b4a715d7e0249156aec0cddfd9c3ecd4590761612b16c1e82901a62",
+ "indexes" : {
+ "data" : 9,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x3f49a2d6d636eb9af7a84fdaf5d4b15e42c11abbeff16bee8c6f614cbe04bd4c",
+ "indexes" : {
+ "data" : 9,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xe8d4a51000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xb000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xc000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xdea0000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x6001600155600060015560016002556000600255600160035560006003556001600455600060045560016005556000600555600160065560006006556001600755600060075560016008556000600855600160095560006009556001600a556000600a556001600b556000600b556001600c556000600c556001600d556000600d556001600e556000600e556001600f556000600f55600160105560006010556001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x6000600060006000600073b000000000000000000000000000000000000000620493e0f1506000600060006000600073dea0000000000000000000000000000000000000620927c0f1",
+ "0x6000600060006000600073b000000000000000000000000000000000000000620493e0f2506000600060006000600073dea0000000000000000000000000000000000000620927c0f1",
+ "0x600060006000600073b000000000000000000000000000000000000000620493e0f4506000600060006000600073dea0000000000000000000000000000000000000620927c0f1",
+ "0x600060006000600073c000000000000000000000000000000000000000620493e0fa506000600060006000600073dea0000000000000000000000000000000000000620927c0f1",
+ "0x6000600a80603760003960006000f5506000600060006000600073dea0000000000000000000000000000000000000620927c0f15000fe60006000556001600155",
+ "0x6000600060006000600073b000000000000000000000000000000000000000620493e0f1506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd",
+ "0x6000600060006000600073b000000000000000000000000000000000000000620493e0f2506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd",
+ "0x600060006000600073b000000000000000000000000000000000000000620493e0f4506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd",
+ "0x600060006000600073c000000000000000000000000000000000000000620493e0fa506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd",
+ "0x6000600a80603c60003960006000f5506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd00fe60006000556001600155"
+ ],
+ "gasLimit" : [
+ "0x0f4240",
+ "0x061a80"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "",
+ "value" : [
+ "0x01"
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/GeneralStateTests/stSStoreTest/sstore_0toXto0.json b/GeneralStateTests/stSStoreTest/sstore_0toXto0.json
new file mode 100644
index 000000000..8b827b7df
--- /dev/null
+++ b/GeneralStateTests/stSStoreTest/sstore_0toXto0.json
@@ -0,0 +1,77 @@
+{
+ "sstore_0toXto0" : {
+ "_info" : {
+ "comment" : "change 0 -> X -> 0",
+ "filledwith" : "testeth 1.5.0.dev2-76+commit.2fd57400",
+ "lllcversion" : "Version: 0.5.0-develop.2018.10.10+commit.06200b4b.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stSStoreTest/sstore_0toXto0Filler.json",
+ "sourceHash" : "e5b3cdfe05a2a863d386fbea8b11344a819bc83a69ffd74a0ac7f14518b0a49d"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0x34529f3a1b6b3303a5347284f0e0b42e3147871a32e7a2049ab28384fb093a16",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0x3e180b1862f9d158abb5e519a6d8605540c23682" : {
+ "balance" : "0x05",
+ "code" : "0x600160005560006000556000600060006000600073b000000000000000000000000000000000000000620186a0f1506000600060006000600073b000000000000000000000000000000000000000620186a0f250600060006000600073b000000000000000000000000000000000000000620186a0f450600060006000600073b000000000000000000000000000000000000000620186a0fa50600060148060ac60003960006000f55000fe6001600055600060015560016001556000600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xe8d4a51000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xb000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x600160015560006001556001600255",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xc000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x60016001556000600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x"
+ ],
+ "gasLimit" : [
+ "0x0a1220"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682",
+ "value" : [
+ "0x01"
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/GeneralStateTests/stSStoreTest/sstore_0toXtoX.json b/GeneralStateTests/stSStoreTest/sstore_0toXtoX.json
new file mode 100644
index 000000000..cbe4facd5
--- /dev/null
+++ b/GeneralStateTests/stSStoreTest/sstore_0toXtoX.json
@@ -0,0 +1,77 @@
+{
+ "sstore_0toXtoX" : {
+ "_info" : {
+ "comment" : "change 0 -> X -> X",
+ "filledwith" : "testeth 1.5.0.dev2-76+commit.2fd57400",
+ "lllcversion" : "Version: 0.5.0-develop.2018.10.10+commit.06200b4b.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stSStoreTest/sstore_0toXtoXFiller.json",
+ "sourceHash" : "5e085c41337ead2944714319b211b4f7bd9e007b9b5522b0fd6ecc1b644c11f6"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0xeb2c61a6de447a41ccb083d61196f7bea013d8cbeb26f1baf22afb8a81bfd2e7",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0x3e180b1862f9d158abb5e519a6d8605540c23682" : {
+ "balance" : "0x05",
+ "code" : "0x600160005560016000556000600060006000600073b000000000000000000000000000000000000000620186a0f1506000600060006000600073b000000000000000000000000000000000000000620186a0f250600060006000600073b000000000000000000000000000000000000000620186a0f450600060006000600073b000000000000000000000000000000000000000620186a0fa50600060148060ac60003960006000f55000fe6001600055600060015560016001556001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xe8d4a51000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xb000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x60016001556001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xc000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x60016001556001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x"
+ ],
+ "gasLimit" : [
+ "0x0a1220"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682",
+ "value" : [
+ "0x01"
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/GeneralStateTests/stSStoreTest/sstore_0toXtoY.json b/GeneralStateTests/stSStoreTest/sstore_0toXtoY.json
new file mode 100644
index 000000000..5c023ce99
--- /dev/null
+++ b/GeneralStateTests/stSStoreTest/sstore_0toXtoY.json
@@ -0,0 +1,77 @@
+{
+ "sstore_0toXtoY" : {
+ "_info" : {
+ "comment" : "change 0 -> X -> Y",
+ "filledwith" : "testeth 1.5.0.dev2-76+commit.2fd57400",
+ "lllcversion" : "Version: 0.5.0-develop.2018.10.10+commit.06200b4b.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stSStoreTest/sstore_0toXtoYFiller.json",
+ "sourceHash" : "e6d7b51400a96cd41dcec72c4c0601d9711c5eabcbdce05170e116f63704c90f"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0xbb6c807778d97136d609f3ba06bd9677f5b70afe48aa4be60dd70c7919e1d702",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0x3e180b1862f9d158abb5e519a6d8605540c23682" : {
+ "balance" : "0x05",
+ "code" : "0x600260005560016000556000600060006000600073b000000000000000000000000000000000000000620186a0f1506000600060006000600073b000000000000000000000000000000000000000620186a0f250600060006000600073b000000000000000000000000000000000000000620186a0f450600060006000600073b000000000000000000000000000000000000000620186a0fa50600060148060ac60003960006000f55000fe6001600055600060015560026001556001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xe8d4a51000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xb000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x60026001556001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xc000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x60026001556001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x"
+ ],
+ "gasLimit" : [
+ "0x0a1220"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682",
+ "value" : [
+ "0x01"
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/GeneralStateTests/stSStoreTest/sstore_Xto0.json b/GeneralStateTests/stSStoreTest/sstore_Xto0.json
index 566c117e1..3b254f3b7 100644
--- a/GeneralStateTests/stSStoreTest/sstore_Xto0.json
+++ b/GeneralStateTests/stSStoreTest/sstore_Xto0.json
@@ -5,7 +5,7 @@
"filledwith" : "testeth 1.5.0.dev2-76+commit.2fd57400",
"lllcversion" : "Version: 0.5.0-develop.2018.10.10+commit.06200b4b.Linux.g++",
"source" : "src/GeneralStateTestsFiller/stSStoreTest/sstore_Xto0Filler.json",
- "sourceHash" : "fc3e1c6ce2175a7c1fc572280399f2aad8eeca32f81ea56bf49b5036ea47f11a"
+ "sourceHash" : "7466fd76d4d5e8006644422ca76a5329130fcfbc214776206fa9eaa3668c2143"
},
"env" : {
"currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
@@ -18,25 +18,188 @@
"post" : {
"Constantinople" : [
{
- "hash" : "0x0d5aecf82a3653177e3586b47f23ad81ba3a136f7beb8ddc91f585d6d213d455",
+ "hash" : "0xda57263c5e1e8c9d045763d89d83dd69eb0fd50cd115cfbf16b81ed8e3832082",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x249b57a2873df7c5020e97ec41e7295900a143367a424bc30176f45ea4ba9e3e",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xc37dca88c799fe0aa99f89f54e8c6abf0dada1aedf769ce3ce087b486a029f0a",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x47b00e34e7618efcdf35a65b3c400938ace383ff63462dcb876820a1cfb33049",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x3a8659700ec6b3332912dcef47ba964e8522b6c2177c810cb936dec069a8211e",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x4a2c0b072cf8ae6c4a27db49daa072672442d5eefd58bece659bc5d9812987af",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xa0148f9143899097997f7abd69a1623bd4d6d5a78f47a1cb8129bca34273f01c",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x7993ade4ad9571238eca13ecedbab82a7304942ff2b64ca0556eb0b88916f26a",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x9bfc5b66c0568fef127f685d7e273d5161e5cc556874c0382c481700b414d514",
+ "indexes" : {
+ "data" : 4,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xc3d85cd0e82e88b14d361b475c4efa939f0ecaa2d4510c8ad164ae795a550ef5",
+ "indexes" : {
+ "data" : 4,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x2a6f63db5a864197684c1c07215ce1252cfea7b12878dc2024ad042e684c79ea",
+ "indexes" : {
+ "data" : 5,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x4710eaa2625a0720beb6df8d934c4e19ab1b6469ae7f605279965bd51e598242",
+ "indexes" : {
+ "data" : 5,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xe122439924785a6be5ee05daee5970c90bd575ad096767187a7998e38f526b1a",
+ "indexes" : {
+ "data" : 6,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xb19af80e8079666447dd6c7a14c88882f44cc8b0d18b55f8aa96c40029f9a062",
+ "indexes" : {
+ "data" : 6,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xaf754e7fab49b73955e07ed64b978a631a1ca8a245fa4933567fe98756656b5a",
+ "indexes" : {
+ "data" : 7,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xff583147c1b2d0e3862a4d578fcd97691edfc843bd867786ad1c1c8229360d0c",
+ "indexes" : {
+ "data" : 7,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x7854197a0e0f4522e51acb48c58aa51c092e816b9ac599ec8ed8f19194c9f9db",
+ "indexes" : {
+ "data" : 8,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x47dd2e8ae7d50c244c5ac3818babfbe74358c5097dd271b3b06f33cbf2df7ab8",
+ "indexes" : {
+ "data" : 8,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x10b901731a8e615a2e2c01d5db526eaa8fbd7861facff12a67257610bed6a58d",
+ "indexes" : {
+ "data" : 9,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x5cafd29ad6964ec28f1c470d266b7b5f616dfa3acd8c8091b2126e6850978f57",
+ "indexes" : {
+ "data" : 9,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
]
},
"pre" : {
- "0x3e180b1862f9d158abb5e519a6d8605540c23682" : {
- "balance" : "0x05",
- "code" : "0x60006000556000600060006000600073b000000000000000000000000000000000000000620186a0f1506000600060006000600073b000000000000000000000000000000000000000620186a0f250600060006000600073b000000000000000000000000000000000000000620186a0f450600060006000600073b000000000000000000000000000000000000000620186a0fa506000600f8060a760003960006000f55000fe600060005560016001556000600155",
- "nonce" : "0x00",
- "storage" : {
- "0x00" : "0x01"
- }
- },
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
"code" : "",
@@ -46,7 +209,7 @@
},
"0xb000000000000000000000000000000000000000" : {
"balance" : "0x00",
- "code" : "0x60006001556001600255",
+ "code" : "0x6000600155",
"nonce" : "0x00",
"storage" : {
"0x01" : "0x01"
@@ -59,19 +222,36 @@
"storage" : {
"0x01" : "0x01"
}
+ },
+ "0xdea0000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x6001600155600060015560016002556000600255600160035560006003556001600455600060045560016005556000600555600160065560006006556001600755600060075560016008556000600855600160095560006009556001600a556000600a556001600b556000600b556001600c556000600c556001600d556000600d556001600e556000600e556001600f556000600f55600160105560006010556001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
}
},
"transaction" : {
"data" : [
- "0x"
+ "0x6000600060006000600073b000000000000000000000000000000000000000620493e0f1506000600060006000600073dea0000000000000000000000000000000000000620927c0f1",
+ "0x6000600060006000600073b000000000000000000000000000000000000000620493e0f2506000600060006000600073dea0000000000000000000000000000000000000620927c0f1",
+ "0x600060006000600073b000000000000000000000000000000000000000620493e0f4506000600060006000600073dea0000000000000000000000000000000000000620927c0f1",
+ "0x600060006000600073c000000000000000000000000000000000000000620493e0fa506000600060006000600073dea0000000000000000000000000000000000000620927c0f1",
+ "0x6000600f80603760003960006000f5506000600060006000600073dea0000000000000000000000000000000000000620927c0f15000fe600160005560006000556001600155",
+ "0x6000600060006000600073b000000000000000000000000000000000000000620493e0f1506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd",
+ "0x6000600060006000600073b000000000000000000000000000000000000000620493e0f2506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd",
+ "0x600060006000600073b000000000000000000000000000000000000000620493e0f4506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd",
+ "0x600060006000600073c000000000000000000000000000000000000000620493e0fa506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd",
+ "0x6000600f80603c60003960006000f5506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd00fe600160005560006000556001600155"
],
"gasLimit" : [
- "0x03f7a0"
+ "0x2dc6c0",
+ "0x061a80"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
"secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682",
+ "to" : "",
"value" : [
"0x01"
]
diff --git a/GeneralStateTests/stSStoreTest/sstore_Xto0to0.json b/GeneralStateTests/stSStoreTest/sstore_Xto0to0.json
new file mode 100644
index 000000000..e8a8cfd12
--- /dev/null
+++ b/GeneralStateTests/stSStoreTest/sstore_Xto0to0.json
@@ -0,0 +1,80 @@
+{
+ "sstore_Xto0to0" : {
+ "_info" : {
+ "comment" : "change X -> 0 -> 0",
+ "filledwith" : "testeth 1.5.0.dev2-76+commit.2fd57400",
+ "lllcversion" : "Version: 0.5.0-develop.2018.10.10+commit.06200b4b.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stSStoreTest/sstore_Xto0to0Filler.json",
+ "sourceHash" : "9f8219a630bb7e37207949cc834bb9488fe218281df3ab84f21f3ccbe683aad3"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0x027c83f43ea5f142d97a30ac7141165d29c3b5fd2143d76348c22fb35a90e76f",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0x3e180b1862f9d158abb5e519a6d8605540c23682" : {
+ "balance" : "0x05",
+ "code" : "0x600060005560006000556000600060006000600073b000000000000000000000000000000000000000620186a0f1506000600060006000600073b000000000000000000000000000000000000000620186a0f250600060006000600073b000000000000000000000000000000000000000620186a0f450600060006000600073b000000000000000000000000000000000000000620186a0fa50600060148060ac60003960006000f55000fe6001600055600160015560006001556000600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xe8d4a51000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xb000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x60006001556000600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ },
+ "0xc000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x60006001556000600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x"
+ ],
+ "gasLimit" : [
+ "0x0a1220"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682",
+ "value" : [
+ "0x01"
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/GeneralStateTests/stSStoreTest/sstore_Xto0toX.json b/GeneralStateTests/stSStoreTest/sstore_Xto0toX.json
new file mode 100644
index 000000000..6c0d963c4
--- /dev/null
+++ b/GeneralStateTests/stSStoreTest/sstore_Xto0toX.json
@@ -0,0 +1,80 @@
+{
+ "sstore_Xto0toX" : {
+ "_info" : {
+ "comment" : "change X -> 0 -> X",
+ "filledwith" : "testeth 1.5.0.dev2-76+commit.2fd57400",
+ "lllcversion" : "Version: 0.5.0-develop.2018.10.10+commit.06200b4b.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stSStoreTest/sstore_Xto0toXFiller.json",
+ "sourceHash" : "39af1df57ae518a44aa820d988c76c30b0eafb9b0ac130120ef725aaeba01738"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0xf5562acb67a91f68500e1b172b91fa534767311b21b2ed630300034913386e76",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0x3e180b1862f9d158abb5e519a6d8605540c23682" : {
+ "balance" : "0x05",
+ "code" : "0x600060005560016000556000600060006000600073b000000000000000000000000000000000000000620186a0f1506000600060006000600073b000000000000000000000000000000000000000620186a0f250600060006000600073b000000000000000000000000000000000000000620186a0f450600060006000600073b000000000000000000000000000000000000000620186a0fa50600060148060ac60003960006000f55000fe6001600055600160015560006001556001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xe8d4a51000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xb000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x60006001556001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ },
+ "0xc000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x60006001556001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x"
+ ],
+ "gasLimit" : [
+ "0x0a1220"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682",
+ "value" : [
+ "0x01"
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/GeneralStateTests/stSStoreTest/sstore_Xto0toY.json b/GeneralStateTests/stSStoreTest/sstore_Xto0toY.json
new file mode 100644
index 000000000..75efcc376
--- /dev/null
+++ b/GeneralStateTests/stSStoreTest/sstore_Xto0toY.json
@@ -0,0 +1,80 @@
+{
+ "sstore_Xto0toY" : {
+ "_info" : {
+ "comment" : "change X -> 0 -> Y",
+ "filledwith" : "testeth 1.5.0.dev2-76+commit.2fd57400",
+ "lllcversion" : "Version: 0.5.0-develop.2018.10.10+commit.06200b4b.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stSStoreTest/sstore_Xto0toYFiller.json",
+ "sourceHash" : "334818497e62e1cc0a8eb378a23ddd05f14b35138972d2cfe20560a1c75cd0b8"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0xd69122758049a9f29d469a49691e234121e15a785e9fcd273c1ff618af3ccf95",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0x3e180b1862f9d158abb5e519a6d8605540c23682" : {
+ "balance" : "0x05",
+ "code" : "0x600060005560016000556000600060006000600073b000000000000000000000000000000000000000620186a0f1506000600060006000600073b000000000000000000000000000000000000000620186a0f250600060006000600073b000000000000000000000000000000000000000620186a0f450600060006000600073b000000000000000000000000000000000000000620186a0fa50600060148060ac60003960006000f55000fe6001600055600260015560006001556001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x02"
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xe8d4a51000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xb000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x60006001556001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0x02"
+ }
+ },
+ "0xc000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x60006001556001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0x02"
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x"
+ ],
+ "gasLimit" : [
+ "0x0a1220"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682",
+ "value" : [
+ "0x01"
+ ]
+ }
+ }
+} \ No newline at end of file
diff --git a/GeneralStateTests/stSStoreTest/sstore_XtoX.json b/GeneralStateTests/stSStoreTest/sstore_XtoX.json
index ab2670bfd..b97b00b3a 100644
--- a/GeneralStateTests/stSStoreTest/sstore_XtoX.json
+++ b/GeneralStateTests/stSStoreTest/sstore_XtoX.json
@@ -5,7 +5,7 @@
"filledwith" : "testeth 1.5.0.dev2-76+commit.2fd57400",
"lllcversion" : "Version: 0.5.0-develop.2018.10.10+commit.06200b4b.Linux.g++",
"source" : "src/GeneralStateTestsFiller/stSStoreTest/sstore_XtoXFiller.json",
- "sourceHash" : "8133f57f84b29bb1b352e4d26f618cd1c2ec820e910985446e6094043b1d7457"
+ "sourceHash" : "4e9816ffb84bcba9f22f2400097e94c408e9eab41eff510758cb918057b4405a"
},
"env" : {
"currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
@@ -18,25 +18,188 @@
"post" : {
"Constantinople" : [
{
- "hash" : "0xb5eae1fbc75ef0707102cac4a9cb5f13ee6b8f3c3bfc818f621f61b93572284e",
+ "hash" : "0x11afa5f149d416e2da5e9250448598fbf9eeb33b95dc3fd046309e1c35891258",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xb574bd092b69d5c632c4bfe651243ab5a34986426f1f77736256fac33e15b750",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x19c1a1410476d831c6a5aa546db2c779d38df26b0ca5f3faf18a9e84d23c99e4",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x1735045721de38d370327709c3ad21e0d8eacb01a4f8a8c7f138e5b7b0238f9e",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x209f9e3748079e444eb4d5487c3960bd2a7aba22be72c2ae72fc117a8430e9b4",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x5a800eabd6401153bde58a0f912b0142fc381cf0fc7778c846d85b8c3e7f7196",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x681b3752289d78ff84c1b71b2587e3f5e8b4bab3a776c2f546fd91d1f9650a69",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xabade0e3e8515554be761c22f7a354ab389a136746943b4fb7454d3b19ce1c64",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x6b6cf3b2c66773f9be2b7b0b23d41c5c30ae3de11317c5ccbff3d0131738cf65",
+ "indexes" : {
+ "data" : 4,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x10864dba1df6f867d1595c5c1f9b6eb1c1240b5c998b595baec0be3fed244c8b",
+ "indexes" : {
+ "data" : 4,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xe61106a6059468722460a61f15ab49d56226af65fbefee02b2d79a88ad93e600",
+ "indexes" : {
+ "data" : 5,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x9e466a78b80e78f0428d51a3114ccae1192a209583e7cb7fff4621ceca753196",
+ "indexes" : {
+ "data" : 5,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x8e7da32d0ca422a13d60141d421793a45f001388b4e5688b13900a4942e8c15b",
+ "indexes" : {
+ "data" : 6,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xf3eeafc2038b78cbbcbe8832cdc2f6c2cbdd2ffe1ee45e024af058632f072403",
+ "indexes" : {
+ "data" : 6,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xca49bf55b5088c9fa2bcf22c14d596004a4985e031f17bc32b3a897b611db938",
+ "indexes" : {
+ "data" : 7,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x58614187014503c1d7303e22ccc7f55616da173d9fd48ef2fc0754ae42063f6e",
+ "indexes" : {
+ "data" : 7,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x0a16b722455bcad8ff7deffce69a7e7c9402003a5772abef12538616fcdd8650",
+ "indexes" : {
+ "data" : 8,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xa4c7d3a1cb08bc94d40b6d608360148fbd89e2ffc49d331e85a984d18f5202c9",
+ "indexes" : {
+ "data" : 8,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x1a07a05c58472a2c3b310f90f63977a66700b7d5b7a3798f3068a0bd9ef0514a",
+ "indexes" : {
+ "data" : 9,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x0ab7e85731f0549f4b09b4da88a5ce8623a6b148526319986cb062309f9214ff",
+ "indexes" : {
+ "data" : 9,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
]
},
"pre" : {
- "0x3e180b1862f9d158abb5e519a6d8605540c23682" : {
- "balance" : "0x05",
- "code" : "0x600060005560036003556000600060006000600073b000000000000000000000000000000000000000620186a0f1506000600060006000600073b000000000000000000000000000000000000000620186a0f250600060006000600073b000000000000000000000000000000000000000620186a0f450600060006000600073b000000000000000000000000000000000000000620186a0fa506000600f8060ac60003960006000f55000fe600060005560016001556001600155",
- "nonce" : "0x00",
- "storage" : {
- "0x03" : "0x03"
- }
- },
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
"code" : "",
@@ -46,32 +209,49 @@
},
"0xb000000000000000000000000000000000000000" : {
"balance" : "0x00",
- "code" : "0x60006001556001600255",
+ "code" : "0x6001600155",
"nonce" : "0x00",
"storage" : {
- "0x02" : "0x01"
+ "0x01" : "0x01"
}
},
"0xc000000000000000000000000000000000000000" : {
"balance" : "0x00",
- "code" : "0x6002600155",
+ "code" : "0x6001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ },
+ "0xdea0000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x6001600155600060015560016002556000600255600160035560006003556001600455600060045560016005556000600555600160065560006006556001600755600060075560016008556000600855600160095560006009556001600a556000600a556001600b556000600b556001600c556000600c556001600d556000600d556001600e556000600e556001600f556000600f55600160105560006010556001600155",
"nonce" : "0x00",
"storage" : {
- "0x01" : "0x02"
}
}
},
"transaction" : {
"data" : [
- "0x"
+ "0x6000600060006000600073b000000000000000000000000000000000000000620493e0f1506000600060006000600073dea0000000000000000000000000000000000000620927c0f1",
+ "0x6000600060006000600073b000000000000000000000000000000000000000620493e0f2506000600060006000600073dea0000000000000000000000000000000000000620927c0f1",
+ "0x600060006000600073b000000000000000000000000000000000000000620493e0f4506000600060006000600073dea0000000000000000000000000000000000000620927c0f1",
+ "0x600060006000600073c000000000000000000000000000000000000000620493e0fa506000600060006000600073dea0000000000000000000000000000000000000620927c0f1",
+ "0x6000600f80603760003960006000f5506000600060006000600073dea0000000000000000000000000000000000000620927c0f15000fe600160005560016000556001600155",
+ "0x6000600060006000600073b000000000000000000000000000000000000000620493e0f1506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd",
+ "0x6000600060006000600073b000000000000000000000000000000000000000620493e0f2506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd",
+ "0x600060006000600073b000000000000000000000000000000000000000620493e0f4506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd",
+ "0x600060006000600073c000000000000000000000000000000000000000620493e0fa506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd",
+ "0x6000600f80603c60003960006000f5506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd00fe600160005560016000556001600155"
],
"gasLimit" : [
- "0x03f7a0"
+ "0x2dc6c0",
+ "0x061a80"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
"secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682",
+ "to" : "",
"value" : [
"0x01"
]
diff --git a/GeneralStateTests/stSStoreTest/sstore_XtoY.json b/GeneralStateTests/stSStoreTest/sstore_XtoY.json
index bf4f5e4e6..01827782a 100644
--- a/GeneralStateTests/stSStoreTest/sstore_XtoY.json
+++ b/GeneralStateTests/stSStoreTest/sstore_XtoY.json
@@ -5,7 +5,7 @@
"filledwith" : "testeth 1.5.0.dev2-76+commit.2fd57400",
"lllcversion" : "Version: 0.5.0-develop.2018.10.10+commit.06200b4b.Linux.g++",
"source" : "src/GeneralStateTestsFiller/stSStoreTest/sstore_XtoYFiller.json",
- "sourceHash" : "318a542edde8893fd4ee5cf0b646a93e7784f95998b8874607f7a4a742a819ce"
+ "sourceHash" : "446b5a26be804e30e34f7247394541b17dd0e316a102e2cd6201a19a68893fd5"
},
"env" : {
"currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
@@ -18,25 +18,188 @@
"post" : {
"Constantinople" : [
{
- "hash" : "0x89963b4143f721187bbbead52b7aadb476c63e2ba6939cbe5a64b567293c684d",
+ "hash" : "0xc13501ba0740050391acec91cb57c60899b8f815b7422b85b3eb6e759ddd7ff2",
"indexes" : {
"data" : 0,
"gas" : 0,
"value" : 0
},
"logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x11302e2be7a0818c712d3978e558e2d50b430f4c9293da7e2af7a4a0f5fcf356",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x5ea0ff474976bf5c9cbd20270e5643451ea5fcb04a1573a621a577abc7547027",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x32fa6c4e74100462127b99f59034f80a0145f3907941491dfb9ae69e3afe0da9",
+ "indexes" : {
+ "data" : 1,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x140b64d2eb94e8c7d79b567377ec9f103a014b54a9a71b3cab4a5b911306028f",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xef8441a17f123081d9fc68c388adf36d6f96ac82575dd751664b7ef298359990",
+ "indexes" : {
+ "data" : 2,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xcfc3be9367ae9fd031f38642d869b1cf248cb5b3c9d1e3fcbac28f7d947ae1b0",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x4c063e1e42802d5a29450e2ad47a549783ab2a404cb985c7cc781bb3b29a7691",
+ "indexes" : {
+ "data" : 3,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x52818335cebf571f8a3e2382d147aae622ebd100e1ee5fd3f5b06f05fec32e94",
+ "indexes" : {
+ "data" : 4,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xc4acf4c23cf8d35d18b7402ba22e70eda5de29dc44187b2ec155dfa65e97e3aa",
+ "indexes" : {
+ "data" : 4,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xbbeb79ef65316a1246c1e618bff569657ab0ddb757549605c37629863ba5f5ca",
+ "indexes" : {
+ "data" : 5,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x1e6ba0f347f6d52e2113f73e65c2602cfb314d4bdfc85a26c317172c2952277e",
+ "indexes" : {
+ "data" : 5,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x75571c2fdf525981425ef5204ab480cd3390d49217dc58bb377a7d81b87ae363",
+ "indexes" : {
+ "data" : 6,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x13b87a16d8c9984dfeb426c6e1acc1840d232dfb98f150715dd9071ef0847acd",
+ "indexes" : {
+ "data" : 6,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x6afac50903b1dfd2d26d7b217cd7b24d2b3e93b0fc3973de0f13a79df73c7492",
+ "indexes" : {
+ "data" : 7,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x8321f732700477d2aeda13df029b9eadb700a6e57837cd4c93ec4eb97944cd4a",
+ "indexes" : {
+ "data" : 7,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xa0a998ff4737ed813512faa41923aacacb9a8c9a7b2a627a5f91293d82988548",
+ "indexes" : {
+ "data" : 8,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0xe69cee00d743c92a415698ef0e5b2bbf9b05cdf70ee7489fc41bd4c2a4e1e834",
+ "indexes" : {
+ "data" : 8,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x00bb7b89a966e850121e482906b2b349b05694069eee6f28e481f86e4fdea3e2",
+ "indexes" : {
+ "data" : 9,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ },
+ {
+ "hash" : "0x34d2ccc9f6280b9ea7616c237def8582fb6077ccf32fc6ab610cedc530015ad0",
+ "indexes" : {
+ "data" : 9,
+ "gas" : 1,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
}
]
},
"pre" : {
- "0x3e180b1862f9d158abb5e519a6d8605540c23682" : {
- "balance" : "0x05",
- "code" : "0x600060005560026003556000600060006000600073b000000000000000000000000000000000000000620186a0f1506000600060006000600073b000000000000000000000000000000000000000620186a0f250600060006000600073b000000000000000000000000000000000000000620186a0f450600060006000600073b000000000000000000000000000000000000000620186a0fa506000600f8060ac60003960006000f55000fe600060005560016001556004600155",
- "nonce" : "0x00",
- "storage" : {
- "0x03" : "0x03"
- }
- },
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "0xe8d4a51000",
"code" : "",
@@ -46,32 +209,49 @@
},
"0xb000000000000000000000000000000000000000" : {
"balance" : "0x00",
- "code" : "0x60006001556001600255",
+ "code" : "0x6002600155",
"nonce" : "0x00",
"storage" : {
- "0x02" : "0x02"
+ "0x01" : "0x01"
}
},
"0xc000000000000000000000000000000000000000" : {
"balance" : "0x00",
- "code" : "0x6000600155",
+ "code" : "0x6002600155",
"nonce" : "0x00",
"storage" : {
"0x01" : "0x01"
}
+ },
+ "0xdea0000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x6001600155600060015560016002556000600255600160035560006003556001600455600060045560016005556000600555600160065560006006556001600755600060075560016008556000600855600160095560006009556001600a556000600a556001600b556000600b556001600c556000600c556001600d556000600d556001600e556000600e556001600f556000600f55600160105560006010556001600155",
+ "nonce" : "0x00",
+ "storage" : {
+ }
}
},
"transaction" : {
"data" : [
- "0x"
+ "0x6000600060006000600073b000000000000000000000000000000000000000620493e0f1506000600060006000600073dea0000000000000000000000000000000000000620927c0f1",
+ "0x6000600060006000600073b000000000000000000000000000000000000000620493e0f2506000600060006000600073dea0000000000000000000000000000000000000620927c0f1",
+ "0x600060006000600073b000000000000000000000000000000000000000620493e0f4506000600060006000600073dea0000000000000000000000000000000000000620927c0f1",
+ "0x600060006000600073c000000000000000000000000000000000000000620493e0fa506000600060006000600073dea0000000000000000000000000000000000000620927c0f1",
+ "0x6000600f80603760003960006000f5506000600060006000600073dea0000000000000000000000000000000000000620927c0f15000fe600160005560026000556001600155",
+ "0x6000600060006000600073b000000000000000000000000000000000000000620493e0f1506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd",
+ "0x6000600060006000600073b000000000000000000000000000000000000000620493e0f2506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd",
+ "0x600060006000600073b000000000000000000000000000000000000000620493e0f4506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd",
+ "0x600060006000600073c000000000000000000000000000000000000000620493e0fa506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd",
+ "0x6000600f80603c60003960006000f5506000600060006000600073dea0000000000000000000000000000000000000620927c0f15060206000fd00fe600160005560026000556001600155"
],
"gasLimit" : [
- "0x03f7a0"
+ "0x2dc6c0",
+ "0x061a80"
],
"gasPrice" : "0x01",
"nonce" : "0x00",
"secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682",
+ "to" : "",
"value" : [
"0x01"
]
diff --git a/GeneralStateTests/stSStoreTest/sstore_XtoYto0.json b/GeneralStateTests/stSStoreTest/sstore_XtoYto0.json
new file mode 100644
index 000000000..bee99a98d
--- /dev/null
+++ b/GeneralStateTests/stSStoreTest/sstore_XtoYto0.json
@@ -0,0 +1,80 @@
+{
+ "sstore_XtoYto0" : {
+ "_info" : {
+ "comment" : "change X -> Y -> 0",
+ "filledwith" : "testeth 1.5.0.dev2-76+commit.2fd57400",
+ "lllcversion" : "Version: 0.5.0-develop.2018.10.10+commit.06200b4b.Linux.g++",
+ "source" : "src/GeneralStateTestsFiller/stSStoreTest/sstore_XtoYto0Filler.json",
+ "sourceHash" : "599b03a9059ba305e2a9aa106fe2acacd9f1615a5e06a52798b85e027fd0c041"
+ },
+ "env" : {
+ "currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
+ "currentDifficulty" : "0x020000",
+ "currentGasLimit" : "0x989680",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ },
+ "post" : {
+ "Constantinople" : [
+ {
+ "hash" : "0x5b3d4bb1b245d979331cd6e31406b4b54eebcc213b080b8f2036d939b814d3ac",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"
+ }
+ ]
+ },
+ "pre" : {
+ "0x3e180b1862f9d158abb5e519a6d8605540c23682" : {
+ "balance" : "0x05",
+ "code" : "0x600260005560006000556000600060006000600073b000000000000000000000000000000000000000620186a0f1506000600060006000600073b000000000000000000000000000000000000000620186a0f250600060006000600073b000000000000000000000000000000000000000620186a0f450600060006000600073b000000000000000000000000000000000000000620186a0fa50600060148060ac60003960006000f55000fe6001600055600160015560026001556000600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x00" : "0x01"
+ }
+ },
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0xe8d4a51000",
+ "code" : "",
+ "nonce" : "0x00",
+ "storage" : {
+ }
+ },
+ "0xb000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x60026001556000600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ },
+ "0xc000000000000000000000000000000000000000" : {
+ "balance" : "0x00",
+ "code" : "0x60026001556000600155",
+ "nonce" : "0x00",
+ "storage" : {
+ "0x01" : "0x01"
+ }
+ }
+ },
+ "transaction" : {
+ "data" : [
+ "0x"
+ ],
+ "gasLimit" : [
+ "0x0a1220"
+ ],
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0x3e180b1862f9d158abb5e519a6d8605540c23682",
+ "value" : [
+ "0x01"
+ ]
+ }
+ }
+} \ No newline at end of file