-
Couldn't load subscription status.
- Fork 934
Open
Description
Following our pattern for previous forks, we want to add a new fields to the API receipt, daFootprintGasScalar uint16, and populate it when requesting a receipt via the API, at
Line 589 in 96738d2
| func (rs Receipts) DeriveFields(config *params.ChainConfig, blockHash common.Hash, blockNumber uint64, blockTime uint64, baseFee *big.Int, blobGasPrice *big.Int, txs []*Transaction) error { |
when Jovian is active, and also set the receipt's
blobGasUsed field to the transaction's DA footprint.
Note that this is not a consensus change, as the receipt hash only contains these fields:
Lines 126 to 132 in 96738d2
| // receiptRLP is the consensus encoding of a receipt. | |
| type receiptRLP struct { | |
| PostStateOrStatus []byte | |
| CumulativeGasUsed uint64 | |
| Bloom Bloom | |
| Logs []*Log | |
| } |
Metadata
Metadata
Assignees
Labels
No labels