mirror of https://github.com/ethereum/go-ethereum
cmd/evm: set ExcessBlobGas from env (#27796)
Sets the `currentExcessBlobGas` from env, alternatively calculates it based on `parentExcessBlobGas` and `parentBlobGasUsed`. It then emits the `currentExcessBlobGas` and `currentBlobGasUsed` into the output, to be used as parent-values for a future iteration. Closes #27785 Closes #27783 --------- Signed-off-by: jsvisa <delweng@gmail.com> Co-authored-by: Martin Holst Swende <martin@swende.se>pull/27833/head
parent
7c95ebd63d
commit
f404a2d0f1
@ -0,0 +1,16 @@ |
||||
{ |
||||
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { |
||||
"balance" : "0x016345785d8a0000", |
||||
"code" : "0x", |
||||
"nonce" : "0x00", |
||||
"storage" : { |
||||
} |
||||
}, |
||||
"0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { |
||||
"balance" : "0x016345785d8a0000", |
||||
"code" : "0x60004960015500", |
||||
"nonce" : "0x00", |
||||
"storage" : { |
||||
} |
||||
} |
||||
} |
@ -0,0 +1,22 @@ |
||||
{ |
||||
"currentCoinbase" : "0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", |
||||
"currentNumber" : "0x01", |
||||
"currentTimestamp" : "0x079e", |
||||
"currentGasLimit" : "0x7fffffffffffffff", |
||||
"previousHash" : "0x3a9b485972e7353edd9152712492f0c58d89ef80623686b6bf947a4a6dce6cb6", |
||||
"currentBlobGasUsed" : "0x00", |
||||
"parentTimestamp" : "0x03b6", |
||||
"parentDifficulty" : "0x00", |
||||
"parentUncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", |
||||
"currentRandom" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", |
||||
"withdrawals" : [ |
||||
], |
||||
"parentBaseFee" : "0x0a", |
||||
"parentGasUsed" : "0x00", |
||||
"parentGasLimit" : "0x7fffffffffffffff", |
||||
"parentExcessBlobGas" : "0x00", |
||||
"parentBlobGasUsed" : "0x00", |
||||
"blockHashes" : { |
||||
"0" : "0x3a9b485972e7353edd9152712492f0c58d89ef80623686b6bf947a4a6dce6cb6" |
||||
} |
||||
} |
@ -0,0 +1,47 @@ |
||||
{ |
||||
"alloc": { |
||||
"0x2adc25665018aa1fe0e6bc666dac8fc2697ff9ba": { |
||||
"balance": "0x150ca" |
||||
}, |
||||
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b": { |
||||
"balance": "0x16345785d80c3a9", |
||||
"nonce": "0x1" |
||||
}, |
||||
"0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b": { |
||||
"code": "0x60004960015500", |
||||
"storage": { |
||||
"0x0000000000000000000000000000000000000000000000000000000000000001": "0x01a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8" |
||||
}, |
||||
"balance": "0x16345785d8a0000" |
||||
} |
||||
}, |
||||
"result": { |
||||
"stateRoot": "0xa40cb3fab01848e922a48bd24191815df9f721ad4b60376edac75161517663e8", |
||||
"txRoot": "0x4409cc4b699384ba5f8248d92b784713610c5ff9c1de51e9239da0dac76de9ce", |
||||
"receiptsRoot": "0xbff643da765981266133094092d98c81d2ac8e9a83a7bbda46c3d736f1f874ac", |
||||
"logsHash": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", |
||||
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", |
||||
"receipts": [ |
||||
{ |
||||
"type": "0x3", |
||||
"root": "0x", |
||||
"status": "0x1", |
||||
"cumulativeGasUsed": "0xa865", |
||||
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", |
||||
"logs": null, |
||||
"transactionHash": "0x7508d7139d002a4b3a26a4f12dec0d87cb46075c78bf77a38b569a133b509262", |
||||
"contractAddress": "0x0000000000000000000000000000000000000000", |
||||
"gasUsed": "0xa865", |
||||
"effectiveGasPrice": null, |
||||
"blockHash": "0x0000000000000000000000000000000000000000000000000000000000000000", |
||||
"transactionIndex": "0x0" |
||||
} |
||||
], |
||||
"currentDifficulty": null, |
||||
"gasUsed": "0xa865", |
||||
"currentBaseFee": "0x9", |
||||
"withdrawalsRoot": "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421", |
||||
"currentExcessBlobGas": "0x0", |
||||
"currentBlobGasUsed": "0x20000" |
||||
} |
||||
} |
@ -0,0 +1 @@ |
||||
"0xf88bb88903f8860180026483061a8094b94f5374fce5edbc8e2a8697c15331677e6ebf0b8080c00ae1a001a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d801a025e16bb498552165016751911c3608d79000ab89dc3100776e729e6ea13091c7a03acacff7fc0cff6eda8a927dec93ca17765e1ee6cbc06c5954ce102e097c01d2" |
Loading…
Reference in new issue