aboutsummaryrefslogtreecommitdiffstats
path: root/GeneralStateTests/stTransactionTest/StoreGasOnCreate.json
diff options
context:
space:
mode:
Diffstat (limited to 'GeneralStateTests/stTransactionTest/StoreGasOnCreate.json')
-rw-r--r--GeneralStateTests/stTransactionTest/StoreGasOnCreate.json132
1 files changed, 78 insertions, 54 deletions
diff --git a/GeneralStateTests/stTransactionTest/StoreGasOnCreate.json b/GeneralStateTests/stTransactionTest/StoreGasOnCreate.json
index 811b4a302..291e31ed3 100644
--- a/GeneralStateTests/stTransactionTest/StoreGasOnCreate.json
+++ b/GeneralStateTests/stTransactionTest/StoreGasOnCreate.json
@@ -6,63 +6,87 @@
"source" : "/src/GeneralStateTestsFiller/stTransactionTest/StoreGasOnCreateFiller.json"
},
"env" : {
- "currentCoinbase" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "currentCoinbase" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"currentDifficulty" : "0x020000",
- "currentGasLimit" : "1000000",
- "currentNumber" : "1",
- "currentTimestamp" : "1000",
- "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
+ "currentGasLimit" : "0x0f4240",
+ "currentNumber" : "0x01",
+ "currentTimestamp" : "0x03e8",
+ "previousHash" : "0x5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
},
- "expect" : [
- {
- "indexes" : {
- "data" : -1,
- "gas" : -1,
- "value" : -1
- },
- "network" : [
- "Frontier",
- "Homestead"
- ],
- "result" : {
- "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : {
- "storage" : {
- "0xfd" : "0x01340b"
- }
- }
+ "post" : {
+ "EIP150" : [
+ {
+ "hash" : "0x981251c50c9eaf41a1b1c05b9e396999e16dda2117366dfc6435e930f9024a6b",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
}
- },
- {
- "indexes" : {
- "data" : -1,
- "gas" : -1,
- "value" : -1
- },
- "network" : [
- "EIP150",
- "EIP158"
- ],
- "result" : {
- "f1ecf98489fa9ed60a664fc4998db699cfa39d40" : {
- "storage" : {
- "0xfd" : "0x012f3b"
- }
- }
+ ],
+ "EIP158" : [
+ {
+ "hash" : "0xf89245b6f80697b4b587dfbe85a9cc1fd2a9ef3b4d8fc4bac922c2c2a4de2974",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
}
- }
- ],
+ ],
+ "Frontier" : [
+ {
+ "hash" : "0xec303faac197a7d9d7602656492d111348e936d7cf5a58ee923b13db4028c53c",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ }
+ ],
+ "Homestead" : [
+ {
+ "hash" : "0xec303faac197a7d9d7602656492d111348e936d7cf5a58ee923b13db4028c53c",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ }
+ ],
+ "Metropolis" : [
+ {
+ "hash" : "0xf89245b6f80697b4b587dfbe85a9cc1fd2a9ef3b4d8fc4bac922c2c2a4de2974",
+ "indexes" : {
+ "data" : 0,
+ "gas" : 0,
+ "value" : 0
+ },
+ "logs" : [
+ ]
+ }
+ ]
+ },
"pre" : {
- "a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "400000",
+ "0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x061a80",
"code" : "",
- "nonce" : "0",
+ "nonce" : "0x00",
"storage" : {
}
},
- "b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
- "balance" : "0",
- "code" : "{ (MSTORE 0 0x5a60fd55) (CREATE 0 28 4)}",
- "nonce" : "0",
+ "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
+ "balance" : "0x00",
+ "code" : "0x635a60fd556000526004601c6000f0",
+ "nonce" : "0x00",
"storage" : {
}
}
@@ -72,14 +96,14 @@
""
],
"gasLimit" : [
- "131882"
+ "0x02032a"
],
- "gasPrice" : "1",
- "nonce" : "",
- "secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
- "to" : "b94f5374fce5edbc8e2a8697c15331677e6ebf0b",
+ "gasPrice" : "0x01",
+ "nonce" : "0x00",
+ "secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
+ "to" : "0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b",
"value" : [
- "100"
+ "0x64"
]
}
}