Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/rawdb/accessors_chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -619,7 +619,7 @@ type storedReceiptRLP struct {
CumulativeGasUsed uint64
Logs []*types.LogForStorage
L1Fee *big.Int
FeeTokenID *uint16
FeeTokenID *uint64
FeeRate *big.Int
TokenScale *big.Int
FeeLimit *big.Int
Expand Down
49 changes: 24 additions & 25 deletions core/types/gen_receipt_json.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 9 additions & 5 deletions core/types/receipt.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ type Receipt struct {
// Morph rollup
L1Fee *big.Int `json:"l1Fee,omitempty"`
// Alt Fee
FeeTokenID *uint16 `json:"fee_token_id,omitempty"`
FeeRate *big.Int `json:"fee_rate,omitempty"`
TokenScale *big.Int `json:"token_scale,omitempty"`
FeeTokenID *uint64 `json:"feeTokenID,omitempty"`
FeeRate *big.Int `json:"feeRate,omitempty"`
TokenScale *big.Int `json:"tokenScale,omitempty"`
FeeLimit *big.Int `json:"feeLimit,omitempty"`
Comment thread
curryxbo marked this conversation as resolved.
}

Expand All @@ -97,6 +97,10 @@ type receiptMarshaling struct {
BlockNumber *hexutil.Big
TransactionIndex hexutil.Uint
L1Fee *hexutil.Big
FeeTokenID *hexutil.Uint64
FeeRate *hexutil.Big
TokenScale *hexutil.Big
FeeLimit *hexutil.Big
}

// receiptRLP is the consensus encoding of a receipt.
Expand All @@ -113,7 +117,7 @@ type storedReceiptRLP struct {
CumulativeGasUsed uint64
Logs []*LogForStorage
L1Fee *big.Int
FeeTokenID *uint16
FeeTokenID *uint64
FeeRate *big.Int
TokenScale *big.Int
FeeLimit *big.Int
Expand All @@ -127,7 +131,7 @@ type v7StoredReceiptRLP struct {
CumulativeGasUsed uint64
Logs []*LogForStorage
L1Fee *big.Int
FeeTokenID *uint16
FeeTokenID *uint64
FeeRate *big.Int
TokenScale *big.Int
FeeLimit *big.Int
Expand Down