Skip to content

Commit 4722287

Browse files
committed
Annotate legacy OVM fields in receipt struct
1 parent 81ac53f commit 4722287

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

core/types/receipt.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,10 @@ type LegacyOptimismStoredReceiptRLP struct {
174174
// However, they must not be used as they may not be populated correctly due to multiple receipt formats
175175
// being combined into a single list of optional fields which can be mistaken for each other.
176176
// DepositNonce (*uint64) from Regolith deposit tx receipts will be parsed into L1GasUsed
177-
L1GasUsed *big.Int `rlp:"optional"`
178-
L1GasPrice *big.Int `rlp:"optional"`
179-
L1Fee *big.Int `rlp:"optional"`
180-
FeeScalar string `rlp:"optional"`
177+
L1GasUsed *big.Int `rlp:"optional"` // OVM Legacy
178+
L1GasPrice *big.Int `rlp:"optional"` // OVM Legacy
179+
L1Fee *big.Int `rlp:"optional"` // OVM Legacy
180+
FeeScalar string `rlp:"optional"` // OVM Legacy
181181
}
182182

183183
// LogForStorage is a wrapper around a Log that handles

0 commit comments

Comments
 (0)