• Mark Tyneway's avatar
    l2geth: add L1 gas fields to transaction receipt · 65289e63
    Mark Tyneway authored
    The response of the RPC endpoint `eth_getTransactionReceipt`
    will now return 4 new fields.
    
    - `l1GasPrice`
    - `l1GasUsed`
    - `l1Fee`
    - `l1FeeScalar`
    
    These fields are added to the database as part of the receipt
    itself. This means that it is a consensus change as the
    serialization of the receipt has been updated. This impacts
    the blockhash because the block header commits to a merkle root
    of all of the receipts in the block.
    
    Each of the new fields on the receipt exist in the state but
    would require an archive node to query for as the values can
    change over time.
    65289e63
Name
Last commit
Last update
.changeset Loading commit data...
.github Loading commit data...
.husky Loading commit data...
.vscode Loading commit data...
go Loading commit data...
integration-tests Loading commit data...
l2geth Loading commit data...
ops Loading commit data...
packages Loading commit data...
patches Loading commit data...
specs Loading commit data...
.dockerignore Loading commit data...
.editorconfig Loading commit data...
.eslintrc.js Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.gitmodules Loading commit data...
.nvmrc Loading commit data...
.prettierrc.js Loading commit data...
.prettierrc.json Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
lerna.json Loading commit data...
package.json Loading commit data...
tsconfig.build.json Loading commit data...
tsconfig.json Loading commit data...
yarn.lock Loading commit data...