Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
pcw109550 committed May 29, 2024
1 parent a7cd575 commit b021079
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions core/types/receipt.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ type Receipt struct {
// post-Canyon deposit transactions.
DepositReceiptVersion *uint64 `json:"depositReceiptVersion,omitempty"`

L1BlobBaseFee *big.Int `json:"l1BlobBaseFee,omitempty"` // Always nil prior to the Ecotone hardfork
L1BaseFeeScalar *uint64 `json:"l1BaseFeeScalar,omitempty"` // Always nil prior to the Ecotone hardfork
L1BlobBaseFeeScalar *uint64 `json:"l1BlobBaseFeeScalar,omitempty"` // Always nil prior to the Ecotone hardfork
L1BlobBaseFee *big.Int `json:"l1BlobBaseFee,omitempty"` // Always nil prior to the Ecotone hardfork
L1BaseFeeScalar *uint64 `json:"l1BaseFeeScalar,omitempty"` // Always nil prior to the Ecotone hardfork
L1BlobBaseFeeScalar *uint64 `json:"l1BlobBaseFeeScalar,omitempty"` // Always nil prior to the Ecotone hardfork
}

type receiptMarshaling struct {
Expand Down
2 changes: 1 addition & 1 deletion eth/ethutils/receipt.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func MarshalReceipt(
fields["l1GasUsed"] = hexutil.Big(*receipt.L1GasUsed)
fields["l1Fee"] = hexutil.Big(*receipt.L1Fee)
// Fields removed in Ecotone
if receipt.FeeScalar != nil {
if receipt.FeeScalar != nil {
fields["l1FeeScalar"] = receipt.FeeScalar
}
// Fields added in Ecotone
Expand Down

0 comments on commit b021079

Please sign in to comment.