mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-28 07:36:44 +00:00
Reverting some files that had changes that are not on master branch anymore
This commit is contained in:
parent
262c3117f6
commit
0bf8a9dea9
3 changed files with 0 additions and 9 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue