Skip to content

Commit

Permalink
Specify removal
Browse files Browse the repository at this point in the history
  • Loading branch information
danyalprout committed May 15, 2024
1 parent 2dd412c commit 44edb4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion specs/fjord/exec-engine.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,5 @@ multiplying the `estimatedSize` of the transaction from the above L1 cost formul
of the bytes in the compressed data are non-zero.

The `L1GasUsed` property will be deprecated due to it not accurately calculating the L1 gas used
by a transaction. Users can continue to use the `L1Fee` field to retrieve the L1 fee for a given transaction.
by a transaction. Users can continue to use the `L1Fee` field to retrieve the L1 fee for a given transaction. This field
will be removed in a future network upgrade.
2 changes: 1 addition & 1 deletion specs/fjord/predeploys.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,6 @@ function getL1GasUsed(bytes memory _data) public view returns (uint256) {
```

The `getL1GasUsed` method will be deprecated. This is due to it not accurately estimating the
L1 gas used, for a transaction.
L1 gas used, for a transaction. In a future network upgrade this function will revert when called.

Users can continue to use the `getL1FeeUpperBound` or `getL1Fee` method to estimate the L1 fee for a given transaction.

0 comments on commit 44edb4f

Please sign in to comment.