forked from cerc-io/plugeth
64af2aafda
This implements 1b & 1c of EIP150 by adding a new GasTable which must be returned from the RuleSet config method. This table is used to determine the gas prices for the current epoch. Please note that when the CreateBySuicide gas price is set it is assumed that we're in the new epoch phase. In addition this PR will serve as temporary basis while refactorisation in being done in the EVM64 PR, which will substentially overhaul the gas price code.
320 lines
11 KiB
JSON
320 lines
11 KiB
JSON
{
|
|
"contractCreationOOGdontLeaveEmptyContract" : {
|
|
"env" : {
|
|
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
|
|
"currentDifficulty" : "0x02b8feb0",
|
|
"currentGasLimit" : "0x0f4240",
|
|
"currentNumber" : "0x257da8",
|
|
"currentTimestamp" : "0x01",
|
|
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
|
|
},
|
|
"logs" : [
|
|
],
|
|
"out" : "0x",
|
|
"post" : {
|
|
"1000000000000000000000000000000000000001" : {
|
|
"balance" : "0x00",
|
|
"code" : "0x60106001557f6001600155601080600c6000396000f3006000355415600957005b6020356000600052602060006000f0",
|
|
"nonce" : "0x01",
|
|
"storage" : {
|
|
"0x01" : "0x10"
|
|
}
|
|
},
|
|
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
|
|
"balance" : "0x016a48",
|
|
"code" : "0x",
|
|
"nonce" : "0x00",
|
|
"storage" : {
|
|
}
|
|
},
|
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
|
"balance" : "0x1c58",
|
|
"code" : "0x",
|
|
"nonce" : "0x01",
|
|
"storage" : {
|
|
}
|
|
}
|
|
},
|
|
"postStateRoot" : "35df33d2a146ff660bb837914781857715d1b8752371b2f3e0768f29dd484775",
|
|
"pre" : {
|
|
"1000000000000000000000000000000000000001" : {
|
|
"balance" : "0x00",
|
|
"code" : "0x60106001557f6001600155601080600c6000396000f3006000355415600957005b6020356000600052602060006000f0",
|
|
"nonce" : "0x00",
|
|
"storage" : {
|
|
}
|
|
},
|
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
|
"balance" : "0x0186a0",
|
|
"code" : "0x",
|
|
"nonce" : "0x00",
|
|
"storage" : {
|
|
}
|
|
}
|
|
},
|
|
"transaction" : {
|
|
"data" : "",
|
|
"gasLimit" : "0x016b80",
|
|
"gasPrice" : "0x01",
|
|
"nonce" : "0x00",
|
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
|
"to" : "1000000000000000000000000000000000000001",
|
|
"value" : "0x00"
|
|
}
|
|
},
|
|
"contractCreationOOGdontLeaveEmptyContractViaTransaction" : {
|
|
"env" : {
|
|
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
|
|
"currentDifficulty" : "0x02b8feb0",
|
|
"currentGasLimit" : "0x0f4240",
|
|
"currentNumber" : "0x257da8",
|
|
"currentTimestamp" : "0x01",
|
|
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
|
|
},
|
|
"logs" : [
|
|
],
|
|
"out" : "0x",
|
|
"post" : {
|
|
"1000000000000000000000000000000000000001" : {
|
|
"balance" : "0x0186a0",
|
|
"code" : "0x6001600155",
|
|
"nonce" : "0x00",
|
|
"storage" : {
|
|
}
|
|
},
|
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
|
"balance" : "0x10c8e0",
|
|
"code" : "0x",
|
|
"nonce" : "0x00",
|
|
"storage" : {
|
|
}
|
|
},
|
|
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
|
"balance" : "0x0186a0",
|
|
"code" : "0x6040600060406000600073100000000000000000000000000000000000000161c350f1",
|
|
"nonce" : "0x00",
|
|
"storage" : {
|
|
}
|
|
}
|
|
},
|
|
"postStateRoot" : "e83fc77d3037af4447bc5e67db8c646240473cd77125129d085d4ffeddbb5e4f",
|
|
"pre" : {
|
|
"1000000000000000000000000000000000000001" : {
|
|
"balance" : "0x0186a0",
|
|
"code" : "0x6001600155",
|
|
"nonce" : "0x00",
|
|
"storage" : {
|
|
}
|
|
},
|
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
|
"balance" : "0x10c8e0",
|
|
"code" : "0x",
|
|
"nonce" : "0x00",
|
|
"storage" : {
|
|
}
|
|
},
|
|
"b94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
|
"balance" : "0x0186a0",
|
|
"code" : "0x6040600060406000600073100000000000000000000000000000000000000161c350f1",
|
|
"nonce" : "0x00",
|
|
"storage" : {
|
|
}
|
|
}
|
|
},
|
|
"transaction" : {
|
|
"data" : "0x6040600060406000600073100000000000000000000000000000000000000161c350f1",
|
|
"gasLimit" : "0xcf08",
|
|
"gasPrice" : "0x01",
|
|
"nonce" : "0x00",
|
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
|
"to" : "",
|
|
"value" : "0x00"
|
|
}
|
|
},
|
|
"createContractViaContract" : {
|
|
"env" : {
|
|
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
|
|
"currentDifficulty" : "0x02b8feb0",
|
|
"currentGasLimit" : "0x0f4240",
|
|
"currentNumber" : "0x257da8",
|
|
"currentTimestamp" : "0x01",
|
|
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
|
|
},
|
|
"logs" : [
|
|
],
|
|
"out" : "0x",
|
|
"post" : {
|
|
"1000000000000000000000000000000000000001" : {
|
|
"balance" : "0x00",
|
|
"code" : "0x600060006000f0",
|
|
"nonce" : "0x01",
|
|
"storage" : {
|
|
}
|
|
},
|
|
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
|
|
"balance" : "0xcf11",
|
|
"code" : "0x",
|
|
"nonce" : "0x00",
|
|
"storage" : {
|
|
}
|
|
},
|
|
"5dddfce53ee040d9eb21afbc0ae1bb4dbb0ba643" : {
|
|
"balance" : "0x00",
|
|
"code" : "0x",
|
|
"nonce" : "0x00",
|
|
"storage" : {
|
|
}
|
|
},
|
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
|
"balance" : "0xb78f",
|
|
"code" : "0x",
|
|
"nonce" : "0x01",
|
|
"storage" : {
|
|
}
|
|
}
|
|
},
|
|
"postStateRoot" : "373942284112628b5c8cfd0f36d8058934fe6861cd7224feb3ac2d03739da305",
|
|
"pre" : {
|
|
"1000000000000000000000000000000000000001" : {
|
|
"balance" : "0x00",
|
|
"code" : "0x600060006000f0",
|
|
"nonce" : "0x00",
|
|
"storage" : {
|
|
}
|
|
},
|
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
|
"balance" : "0x0186a0",
|
|
"code" : "0x",
|
|
"nonce" : "0x00",
|
|
"storage" : {
|
|
}
|
|
}
|
|
},
|
|
"transaction" : {
|
|
"data" : "",
|
|
"gasLimit" : "0x0186a0",
|
|
"gasPrice" : "0x01",
|
|
"nonce" : "0x00",
|
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
|
"to" : "1000000000000000000000000000000000000001",
|
|
"value" : "0x00"
|
|
}
|
|
},
|
|
"createContractViaContractOOGInitCode" : {
|
|
"env" : {
|
|
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
|
|
"currentDifficulty" : "0x02b8feb0",
|
|
"currentGasLimit" : "0x0f4240",
|
|
"currentNumber" : "0x257da8",
|
|
"currentTimestamp" : "0x01",
|
|
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
|
|
},
|
|
"logs" : [
|
|
],
|
|
"out" : "0x",
|
|
"post" : {
|
|
"1000000000000000000000000000000000000001" : {
|
|
"balance" : "0x00",
|
|
"code" : "0x6b602060406000f0600c600055600052600c60146000f0",
|
|
"nonce" : "0x01",
|
|
"storage" : {
|
|
}
|
|
},
|
|
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
|
|
"balance" : "0x019728",
|
|
"code" : "0x",
|
|
"nonce" : "0x00",
|
|
"storage" : {
|
|
}
|
|
},
|
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
|
"balance" : "0x0f31b8",
|
|
"code" : "0x",
|
|
"nonce" : "0x01",
|
|
"storage" : {
|
|
}
|
|
}
|
|
},
|
|
"postStateRoot" : "f079b93388a39a4c343c66a917a044fb0d91de079786366d0c6c3b01bee07e7b",
|
|
"pre" : {
|
|
"1000000000000000000000000000000000000001" : {
|
|
"balance" : "0x00",
|
|
"code" : "0x6b602060406000f0600c600055600052600c60146000f0",
|
|
"nonce" : "0x00",
|
|
"storage" : {
|
|
}
|
|
},
|
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
|
"balance" : "0x10c8e0",
|
|
"code" : "0x",
|
|
"nonce" : "0x00",
|
|
"storage" : {
|
|
}
|
|
}
|
|
},
|
|
"transaction" : {
|
|
"data" : "",
|
|
"gasLimit" : "0x019a54",
|
|
"gasPrice" : "0x01",
|
|
"nonce" : "0x00",
|
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
|
"to" : "1000000000000000000000000000000000000001",
|
|
"value" : "0x00"
|
|
}
|
|
},
|
|
"createContractViaTransactionCost53000" : {
|
|
"env" : {
|
|
"currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",
|
|
"currentDifficulty" : "0x02b8feb0",
|
|
"currentGasLimit" : "0x0f4240",
|
|
"currentNumber" : "0x257da8",
|
|
"currentTimestamp" : "0x01",
|
|
"previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6"
|
|
},
|
|
"logs" : [
|
|
],
|
|
"out" : "0x",
|
|
"post" : {
|
|
"2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" : {
|
|
"balance" : "0xcf08",
|
|
"code" : "0x",
|
|
"nonce" : "0x00",
|
|
"storage" : {
|
|
}
|
|
},
|
|
"6295ee1b4f6dd65047762f924ecd367c17eabf8f" : {
|
|
"balance" : "0x00",
|
|
"code" : "0x",
|
|
"nonce" : "0x00",
|
|
"storage" : {
|
|
}
|
|
},
|
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
|
"balance" : "0xb798",
|
|
"code" : "0x",
|
|
"nonce" : "0x01",
|
|
"storage" : {
|
|
}
|
|
}
|
|
},
|
|
"postStateRoot" : "53f5b84edd82703a225e53e9ae3639729eb8e337098531456998af602b0ded0a",
|
|
"pre" : {
|
|
"a94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
|
|
"balance" : "0x0186a0",
|
|
"code" : "0x",
|
|
"nonce" : "0x00",
|
|
"storage" : {
|
|
}
|
|
}
|
|
},
|
|
"transaction" : {
|
|
"data" : "",
|
|
"gasLimit" : "0x0186a0",
|
|
"gasPrice" : "0x01",
|
|
"nonce" : "0x00",
|
|
"secretKey" : "45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
|
"to" : "",
|
|
"value" : "0x00"
|
|
}
|
|
}
|
|
} |