aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stRevertTest/RevertPrecompiledTouchDC.json
diff options
context:
space:
mode:
Diffstat (limited to 'GeneralStateTests/stRevertTest/RevertPrecompiledTouchDC.json')
-rw-r--r--GeneralStateTests/stRevertTest/RevertPrecompiledTouchDC.json172
1 files changed, 79 insertions, 93 deletions
diff --git a/GeneralStateTests/stRevertTest/RevertPrecompiledTouchDC.json b/GeneralStateTests/stRevertTest/RevertPrecompiledTouchDC.json
index ab4a567aa..736f6cd04 100644
--- a/GeneralStateTests/stRevertTest/RevertPrecompiledTouchDC.json
+++ b/GeneralStateTests/stRevertTest/RevertPrecompiledTouchDC.json
@@ -2,137 +2,123 @@
"RevertPrecompiledTouchDC" : {
"_info" : {
"comment" : "",
- "filledwith" : "cpp-1.3.0+commit.57f8eb2b.Linux.g++",
+ "filledwith" : "cpp-1.3.0+commit.16292201.Linux.g++",
"source" : "/src/GeneralStateTestsFiller/stRevertTest/RevertPrecompiledTouchDCFiller.json"
},
"env" : {
- "currentCoinbase" : "0x68795C4AA09D6f4Ed3E5DeDDf8c2AD3049A601da",
+ "currentCoinbase" : "68795C4AA09D6f4Ed3E5DeDDf8c2AD3049A601da",
"currentDifficulty" : "0x020000",
- "currentGasLimit" : "0x3d37ef",
- "currentNumber" : "0x01",
- "currentTimestamp" : "0x03e8",
- "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "currentGasLimit" : "4012015",
+ "currentNumber" : "1",
+ "currentTimestamp" : "1000",
+ "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "post" : {
- "EIP150" : [
- {
- "hash" : "0xf6e61932177156675bc1f56bafea0999e78ccd7e47c86e549cc5ece7b65a1824",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
+ "expect" : [
+ {
+ "indexes" : {
+ "data" : -1,
+ "gas" : -1,
+ "value" : -1
+ },
+ "network" : [
+ "EIP158"
+ ],
+ "result" : {
+ "0000000000000000000000000000000000000001" : {
+ "balance" : "0"
+ },
+ "0000000000000000000000000000000000000002" : {
+ "balance" : "0"
+ },
+ "0000000000000000000000000000000000000003" : {
+ "balance" : "0"
+ },
+ "0000000000000000000000000000000000000004" : {
+ "balance" : "0"
+ },
+ "0000000000000000000000000000000000000005" : {
+ "balance" : "0"
+ },
+ "0000000000000000000000000000000000000006" : {
+ "balance" : "0"
+ },
+ "0000000000000000000000000000000000000007" : {
+ "balance" : "0"
+ },
+ "0000000000000000000000000000000000000008" : {
+ "balance" : "0"
}
}
- ],
- "EIP158" : [
- {
- "hash" : "0xf6e61932177156675bc1f56bafea0999e78ccd7e47c86e549cc5ece7b65a1824",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
- }
- ],
- "Frontier" : [
- {
- "hash" : "0xf6e61932177156675bc1f56bafea0999e78ccd7e47c86e549cc5ece7b65a1824",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
- }
- ],
- "Homestead" : [
- {
- "hash" : "0xf6e61932177156675bc1f56bafea0999e78ccd7e47c86e549cc5ece7b65a1824",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
- }
- ],
- "Metropolis" : [
- {
- "hash" : "0xf6e61932177156675bc1f56bafea0999e78ccd7e47c86e549cc5ece7b65a1824",
- "indexes" : {
- "data" : 0,
- "gas" : 0,
- "value" : 0
- }
- }
- ]
- },
+ }
+ ],
"pre" : {
- "0x0000000000000000000000000000000000000001" : {
- "balance" : "0x00",
+ "0000000000000000000000000000000000000001" : {
+ "balance" : "0",
"code" : "",
- "nonce" : "0x00",
+ "nonce" : "0",
"storage" : {
}
},
- "0x0000000000000000000000000000000000000002" : {
- "balance" : "0x00",
+ "0000000000000000000000000000000000000002" : {
+ "balance" : "0",
"code" : "",
- "nonce" : "0x00",
+ "nonce" : "0",
"storage" : {
}
},
- "0x0000000000000000000000000000000000000003" : {
- "balance" : "0x00",
+ "0000000000000000000000000000000000000003" : {
+ "balance" : "0",
"code" : "",
- "nonce" : "0x00",
+ "nonce" : "0",
"storage" : {
}
},
- "0x0000000000000000000000000000000000000004" : {
- "balance" : "0x00",
+ "0000000000000000000000000000000000000004" : {
+ "balance" : "0",
"code" : "",
- "nonce" : "0x00",
+ "nonce" : "0",
"storage" : {
}
},
- "0x0000000000000000000000000000000000000005" : {
- "balance" : "0x00",
+ "0000000000000000000000000000000000000005" : {
+ "balance" : "0",
"code" : "",
- "nonce" : "0x00",
+ "nonce" : "0",
"storage" : {
}
},
- "0x0000000000000000000000000000000000000006" : {
- "balance" : "0x00",
+ "0000000000000000000000000000000000000006" : {
+ "balance" : "0",
"code" : "",
- "nonce" : "0x00",
+ "nonce" : "0",
"storage" : {
}
},
- "0x0000000000000000000000000000000000000007" : {
- "balance" : "0x00",
+ "0000000000000000000000000000000000000007" : {
+ "balance" : "0",
"code" : "",
- "nonce" : "0x00",
+ "nonce" : "0",
"storage" : {
}
},
- "0x0000000000000000000000000000000000000008" : {
- "balance" : "0x00",
+ "0000000000000000000000000000000000000008" : {
+ "balance" : "0",
"code" : "",
- "nonce" : "0x00",
+ "nonce" : "0",
"storage" : {
}
},
- "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x0de0b6b3a7640000",
+ "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "1000000000000000000",
"code" : "",
- "nonce" : "0x01",
+ "nonce" : "1",
"storage" : {
}
},
- "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0x00",
- "code" : "0x6000600060006000600161c350f4506000600060006000600261c350f4506000600060006000600361c350f4506000600060006000600461c350f4506000600060006000600561c350f4506000600060006000600661c350f4506000600060006000600761c350f4506000600060006000600861c350f4505a6001555a6002555a600355",
- "nonce" : "0x00",
+ "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0",
+ "code" : "{ (DELEGATECALL 50000 1 0 0 0 0) (DELEGATECALL 50000 2 0 0 0 0) (DELEGATECALL 50000 3 0 0 0 0) (DELEGATECALL 50000 4 0 0 0 0) (DELEGATECALL 50000 5 0 0 0 0) (DELEGATECALL 50000 6 0 0 0 0) (DELEGATECALL 50000 7 0 0 0 0) (DELEGATECALL 50000 8 0 0 0 0) [[1]] (GAS) [[2]] (GAS) [[3]] (GAS) }",
+ "nonce" : "0",
"storage" : {
}
}
@@ -142,14 +128,14 @@
""
],
"gasLimit" : [
- "0xea60"
+ "60000"
],
- "gasPrice" : "0x01",
- "nonce" : "0x01",
- "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "gasPrice" : "1",
+ "nonce" : "1",
+ "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : [
- "0x00"
+ "0"
]
}
}