Reverting some files that had changes that are not on master branch anymore

This commit is contained in:
Matthieu Vachon 2024-03-25 14:49:10 -04:00
parent 262c3117f6
commit 0bf8a9dea9
3 changed files with 0 additions and 9 deletions

View file

@ -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
}

View file

@ -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 {

View file

@ -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 {