From 2c6866f7b3543a66a6f4975aa451beb67111e128 Mon Sep 17 00:00:00 2001 From: Tristan Wilson Date: Mon, 27 Feb 2023 21:34:50 -0800 Subject: [PATCH] Remove refs to dropped legacy types This removes references to types removed in https://github.com/ethereum/go-ethereum/pull/26225 --- core/types/receipt.go | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/core/types/receipt.go b/core/types/receipt.go index 4813e2045b..2888b48d14 100644 --- a/core/types/receipt.go +++ b/core/types/receipt.go @@ -111,7 +111,7 @@ type arbLegacyStoredReceiptRLP struct { L1GasUsed uint64 Status uint64 ContractAddress common.Address - Logs []*LogForStorage + Logs []*Log } // v4StoredReceiptRLP is the storage encoding of a receipt used in database version 4. @@ -331,13 +331,7 @@ func (r *ReceiptForStorage) DecodeRLP(s *rlp.Stream) error { if err := decodeStoredReceiptRLP(r, blob); err == nil { return nil } - if err := decodeArbitrumLegacyStoredReceiptRLP(r, blob); err == nil { - return nil - } - if err := decodeV3StoredReceiptRLP(r, blob); err == nil { - return nil - } - return decodeV4StoredReceiptRLP(r, blob) + return decodeArbitrumLegacyStoredReceiptRLP(r, blob) } func decodeArbitrumLegacyStoredReceiptRLP(r *ReceiptForStorage, blob []byte) error {