diff --git a/core/rawdb/database.go b/core/rawdb/database.go index ed5368eff0..9cab30bfcd 100644 --- a/core/rawdb/database.go +++ b/core/rawdb/database.go @@ -312,7 +312,6 @@ func NewLevelDBDatabase(file string, cache int, handles int, namespace string, r if err != nil { return nil, err } - log.Info("Using LevelDB as the backing database") return NewDatabase(db), nil } diff --git a/core/state_transition.go b/core/state_transition.go index 2a914f7f10..a52e24dc43 100644 --- a/core/state_transition.go +++ b/core/state_transition.go @@ -141,8 +141,6 @@ type Message struct { AccessList types.AccessList BlobGasFeeCap *big.Int BlobHashes []common.Hash - // Distinguishes type-2 txes - DynamicFee bool // When SkipAccountChecks is true, the message nonce is not checked against the // account nonce in state. It also disables checking that the sender is an EOA. @@ -165,7 +163,6 @@ func TransactionToMessage(tx *types.Transaction, s types.Signer, baseFee *big.In SkipAccountChecks: false, BlobHashes: tx.BlobHashes(), BlobGasFeeCap: tx.BlobGasFeeCap(), - DynamicFee: tx.Type() == 2 || tx.Type() == 3, } // If baseFee provided, set gasPrice to effectiveGasPrice. if baseFee != nil { diff --git a/core/vm/evm.go b/core/vm/evm.go index 5e30451e0d..25b5bc84e8 100644 --- a/core/vm/evm.go +++ b/core/vm/evm.go @@ -39,11 +39,6 @@ type ( GetHashFunc func(uint64) common.Hash ) -func (evm *EVM) IsPrecompileAddr(addr common.Address) bool { - _, isPrecompile := evm.precompile(addr) - return isPrecompile -} - func (evm *EVM) precompile(addr common.Address) (PrecompiledContract, bool) { var precompiles map[common.Address]PrecompiledContract switch {