mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
internal/jsre: format blob* in block
Signed-off-by: jsvisa <delweng@gmail.com>
This commit is contained in:
parent
eb52bca5c4
commit
f249f22bb7
1 changed files with 7 additions and 1 deletions
|
|
@ -3840,6 +3840,12 @@ var outputBlockFormatter = function(block) {
|
||||||
if (block.baseFeePerGas !== undefined) {
|
if (block.baseFeePerGas !== undefined) {
|
||||||
block.baseFeePerGas = utils.toBigNumber(block.baseFeePerGas);
|
block.baseFeePerGas = utils.toBigNumber(block.baseFeePerGas);
|
||||||
}
|
}
|
||||||
|
if (block.blobGasUsed !== undefined) {
|
||||||
|
block.blobGasUsed = utils.toBigNumber(block.blobGasUsed);
|
||||||
|
}
|
||||||
|
if (block.excessBlobGas !== undefined) {
|
||||||
|
block.excessBlobGas = utils.toBigNumber(block.excessBlobGas);
|
||||||
|
}
|
||||||
block.gasLimit = utils.toDecimal(block.gasLimit);
|
block.gasLimit = utils.toDecimal(block.gasLimit);
|
||||||
block.gasUsed = utils.toDecimal(block.gasUsed);
|
block.gasUsed = utils.toDecimal(block.gasUsed);
|
||||||
block.size = utils.toDecimal(block.size);
|
block.size = utils.toDecimal(block.size);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue