Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces changes to the handling of L2 gas and the addition of versioning for RPC methods in the project. The most significant updates include the removal of L2 gas fields, the introduction of versioning for RPC methods, and adjustments to the fee estimation process. Below are the key changes grouped by theme:
Removal of L2 Gas Fields:
L2Gas
field from theDataAvailability
struct incore/transaction.go
.L2Gas
field handling inadaptExecutionResources
functions inadapters/core2p2p/receipt.go
andadapters/p2p2core/receipt.go
. [1] [2]RPC Method Versioning:
V0_7
andV0_8
inrpc/handlers.go
.rpc/block.go
andrpc/handlers.go
, such asBlockWithTxHashesV0_7
,BlockWithTxsV0_7
, andBlockWithReceiptsV0_7
. [1] [2] [3]Fee Estimation Adjustments:
FeeEstimateV0_7
struct and integrated versioning into theFeeEstimate
struct inrpc/estimate_fee.go
. [1] [2]EstimateFeeV0_7
andEstimateMessageFeeV0_7
methods to use the new versioning approach. [1] [2]Test Updates:
rpc/block_test.go
andrpc/estimate_fee_pkg_test.go
to accommodate the changes in fee estimation and RPC method versioning. [1] [2] [3]