forked from ethereum/go-ethereum
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/evm: set ExcessBlobGas from env (ethereum#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 ethereum#27785 Closes ethereum#27783 --------- Signed-off-by: jsvisa <delweng@gmail.com> Co-authored-by: Martin Holst Swende <martin@swende.se>
- Loading branch information
Showing
7 changed files
with
219 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { | ||
"balance" : "0x016345785d8a0000", | ||
"code" : "0x", | ||
"nonce" : "0x00", | ||
"storage" : { | ||
} | ||
}, | ||
"0xb94f5374fce5edbc8e2a8697c15331677e6ebf0b" : { | ||
"balance" : "0x016345785d8a0000", | ||
"code" : "0x60004960015500", | ||
"nonce" : "0x00", | ||
"storage" : { | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} |
Oops, something went wrong.