From d00a5f4d81f5f762df360cc2e501eea90cc35353 Mon Sep 17 00:00:00 2001 From: David Date: Thu, 23 Jan 2025 23:13:11 +0800 Subject: [PATCH] feat: new defs for op-services --- core/types/op_deposit_tx.go | 1 + 1 file changed, 1 insertion(+) diff --git a/core/types/op_deposit_tx.go b/core/types/op_deposit_tx.go index c064e3baa0f9..032d4ae5b393 100644 --- a/core/types/op_deposit_tx.go +++ b/core/types/op_deposit_tx.go @@ -49,6 +49,7 @@ func (tx *DepositTx) nonce() uint64 { return 0 } func (tx *DepositTx) to() *common.Address { return tx.To } func (tx *DepositTx) isSystemTx() bool { return tx.IsSystemTransaction } func (tx *DepositTx) isAnchor() bool { return false } +func (tx *DepositTx) markAsAnchor() error { return ErrInvalidTxType } func (tx *DepositTx) effectiveGasPrice(dst *big.Int, baseFee *big.Int) *big.Int { return dst.Set(new(big.Int))