mock_ledger

package
v1.20.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mock_ledger is a generated GoMock package.

Package mock_ledger is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockChainLedger

type MockChainLedger struct {
	// contains filtered or unexported fields
}

MockChainLedger is a mock of ChainLedger interface.

func NewMockChainLedger

func NewMockChainLedger(ctrl *gomock.Controller) *MockChainLedger

NewMockChainLedger creates a new mock instance.

func (*MockChainLedger) Close

func (m *MockChainLedger) Close()

Close mocks base method.

func (*MockChainLedger) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockChainLedger) GetBlock

func (m *MockChainLedger) GetBlock(height uint64) (*pb.Block, error)

GetBlock mocks base method.

func (*MockChainLedger) GetBlockByHash

func (m *MockChainLedger) GetBlockByHash(hash *types.Hash) (*pb.Block, error)

GetBlockByHash mocks base method.

func (*MockChainLedger) GetBlockHash

func (m *MockChainLedger) GetBlockHash(height uint64) *types.Hash

GetBlockHash mocks base method.

func (*MockChainLedger) GetBlockSign

func (m *MockChainLedger) GetBlockSign(height uint64) ([]byte, error)

GetBlockSign mocks base method.

func (*MockChainLedger) GetChainMeta

func (m *MockChainLedger) GetChainMeta() *pb.ChainMeta

GetChainMeta mocks base method.

func (*MockChainLedger) GetInterchainMeta

func (m *MockChainLedger) GetInterchainMeta(height uint64) (*pb.InterchainMeta, error)

GetInterchainMeta mocks base method.

func (*MockChainLedger) GetReceipt

func (m *MockChainLedger) GetReceipt(hash *types.Hash) (*pb.Receipt, error)

GetReceipt mocks base method.

func (*MockChainLedger) GetTransaction

func (m *MockChainLedger) GetTransaction(hash *types.Hash) (pb.Transaction, error)

GetTransaction mocks base method.

func (*MockChainLedger) GetTransactionCount

func (m *MockChainLedger) GetTransactionCount(height uint64) (uint64, error)

GetTransactionCount mocks base method.

func (*MockChainLedger) GetTransactionMeta

func (m *MockChainLedger) GetTransactionMeta(hash *types.Hash) (*pb.TransactionMeta, error)

GetTransactionMeta mocks base method.

func (*MockChainLedger) LoadChainMeta

func (m *MockChainLedger) LoadChainMeta() *pb.ChainMeta

LoadChainMeta mocks base method.

func (*MockChainLedger) PersistExecutionResult

func (m *MockChainLedger) PersistExecutionResult(block *pb.Block, receipts []*pb.Receipt, meta *pb.InterchainMeta) error

PersistExecutionResult mocks base method.

func (*MockChainLedger) PutBlock

func (m *MockChainLedger) PutBlock(height uint64, block *pb.Block) error

PutBlock mocks base method.

func (*MockChainLedger) RollbackBlockChain

func (m *MockChainLedger) RollbackBlockChain(height uint64) error

RollbackBlockChain mocks base method.

func (*MockChainLedger) UpdateChainMeta

func (m *MockChainLedger) UpdateChainMeta(arg0 *pb.ChainMeta)

UpdateChainMeta mocks base method.

type MockChainLedgerMockRecorder

type MockChainLedgerMockRecorder struct {
	// contains filtered or unexported fields
}

MockChainLedgerMockRecorder is the mock recorder for MockChainLedger.

func (*MockChainLedgerMockRecorder) Close

Close indicates an expected call of Close.

func (*MockChainLedgerMockRecorder) GetBlock

func (mr *MockChainLedgerMockRecorder) GetBlock(height interface{}) *gomock.Call

GetBlock indicates an expected call of GetBlock.

func (*MockChainLedgerMockRecorder) GetBlockByHash

func (mr *MockChainLedgerMockRecorder) GetBlockByHash(hash interface{}) *gomock.Call

GetBlockByHash indicates an expected call of GetBlockByHash.

func (*MockChainLedgerMockRecorder) GetBlockHash

func (mr *MockChainLedgerMockRecorder) GetBlockHash(height interface{}) *gomock.Call

GetBlockHash indicates an expected call of GetBlockHash.

func (*MockChainLedgerMockRecorder) GetBlockSign

func (mr *MockChainLedgerMockRecorder) GetBlockSign(height interface{}) *gomock.Call

GetBlockSign indicates an expected call of GetBlockSign.

func (*MockChainLedgerMockRecorder) GetChainMeta

func (mr *MockChainLedgerMockRecorder) GetChainMeta() *gomock.Call

GetChainMeta indicates an expected call of GetChainMeta.

func (*MockChainLedgerMockRecorder) GetInterchainMeta

func (mr *MockChainLedgerMockRecorder) GetInterchainMeta(height interface{}) *gomock.Call

GetInterchainMeta indicates an expected call of GetInterchainMeta.

func (*MockChainLedgerMockRecorder) GetReceipt

func (mr *MockChainLedgerMockRecorder) GetReceipt(hash interface{}) *gomock.Call

GetReceipt indicates an expected call of GetReceipt.

func (*MockChainLedgerMockRecorder) GetTransaction

func (mr *MockChainLedgerMockRecorder) GetTransaction(hash interface{}) *gomock.Call

GetTransaction indicates an expected call of GetTransaction.

func (*MockChainLedgerMockRecorder) GetTransactionCount

func (mr *MockChainLedgerMockRecorder) GetTransactionCount(height interface{}) *gomock.Call

GetTransactionCount indicates an expected call of GetTransactionCount.

func (*MockChainLedgerMockRecorder) GetTransactionMeta

func (mr *MockChainLedgerMockRecorder) GetTransactionMeta(hash interface{}) *gomock.Call

GetTransactionMeta indicates an expected call of GetTransactionMeta.

func (*MockChainLedgerMockRecorder) LoadChainMeta

func (mr *MockChainLedgerMockRecorder) LoadChainMeta() *gomock.Call

LoadChainMeta indicates an expected call of LoadChainMeta.

func (*MockChainLedgerMockRecorder) PersistExecutionResult

func (mr *MockChainLedgerMockRecorder) PersistExecutionResult(block, receipts, meta interface{}) *gomock.Call

PersistExecutionResult indicates an expected call of PersistExecutionResult.

func (*MockChainLedgerMockRecorder) PutBlock

func (mr *MockChainLedgerMockRecorder) PutBlock(height, block interface{}) *gomock.Call

PutBlock indicates an expected call of PutBlock.

func (*MockChainLedgerMockRecorder) RollbackBlockChain

func (mr *MockChainLedgerMockRecorder) RollbackBlockChain(height interface{}) *gomock.Call

RollbackBlockChain indicates an expected call of RollbackBlockChain.

func (*MockChainLedgerMockRecorder) UpdateChainMeta

func (mr *MockChainLedgerMockRecorder) UpdateChainMeta(arg0 interface{}) *gomock.Call

UpdateChainMeta indicates an expected call of UpdateChainMeta.

type MockIAccount

type MockIAccount struct {
	// contains filtered or unexported fields
}

MockIAccount is a mock of IAccount interface.

func NewMockIAccount

func NewMockIAccount(ctrl *gomock.Controller) *MockIAccount

NewMockIAccount creates a new mock instance.

func (*MockIAccount) AddBalance

func (m *MockIAccount) AddBalance(amount *big.Int)

AddBalance mocks base method.

func (*MockIAccount) AddState

func (m *MockIAccount) AddState(key, value []byte)

AddState mocks base method.

func (*MockIAccount) Code

func (m *MockIAccount) Code() []byte

Code mocks base method.

func (*MockIAccount) CodeHash

func (m *MockIAccount) CodeHash() []byte

CodeHash mocks base method.

func (*MockIAccount) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIAccount) GetAddress

func (m *MockIAccount) GetAddress() *types0.Address

GetAddress mocks base method.

func (*MockIAccount) GetBalance

func (m *MockIAccount) GetBalance() *big.Int

GetBalance mocks base method.

func (*MockIAccount) GetCommittedState

func (m *MockIAccount) GetCommittedState(key []byte) []byte

GetCommittedState mocks base method.

func (*MockIAccount) GetNonce

func (m *MockIAccount) GetNonce() uint64

GetNonce mocks base method.

func (*MockIAccount) GetState

func (m *MockIAccount) GetState(key []byte) (bool, []byte)

GetState mocks base method.

func (*MockIAccount) IsEmpty

func (m *MockIAccount) IsEmpty() bool

IsEmpty mocks base method.

func (*MockIAccount) Query

func (m *MockIAccount) Query(prefix string) (bool, [][]byte)

Query mocks base method.

func (*MockIAccount) SetBalance

func (m *MockIAccount) SetBalance(balance *big.Int)

SetBalance mocks base method.

func (*MockIAccount) SetCodeAndHash

func (m *MockIAccount) SetCodeAndHash(code []byte)

SetCodeAndHash mocks base method.

func (*MockIAccount) SetNonce

func (m *MockIAccount) SetNonce(nonce uint64)

SetNonce mocks base method.

func (*MockIAccount) SetState

func (m *MockIAccount) SetState(key, value []byte)

SetState mocks base method.

func (*MockIAccount) SetSuicided

func (m *MockIAccount) SetSuicided(arg0 bool)

SetSuicided mocks base method.

func (*MockIAccount) SubBalance

func (m *MockIAccount) SubBalance(amount *big.Int)

SubBalance mocks base method.

func (*MockIAccount) Suicided

func (m *MockIAccount) Suicided() bool

Suicided mocks base method.

type MockIAccountMockRecorder

type MockIAccountMockRecorder struct {
	// contains filtered or unexported fields
}

MockIAccountMockRecorder is the mock recorder for MockIAccount.

func (*MockIAccountMockRecorder) AddBalance

func (mr *MockIAccountMockRecorder) AddBalance(amount interface{}) *gomock.Call

AddBalance indicates an expected call of AddBalance.

func (*MockIAccountMockRecorder) AddState

func (mr *MockIAccountMockRecorder) AddState(key, value interface{}) *gomock.Call

AddState indicates an expected call of AddState.

func (*MockIAccountMockRecorder) Code

func (mr *MockIAccountMockRecorder) Code() *gomock.Call

Code indicates an expected call of Code.

func (*MockIAccountMockRecorder) CodeHash

func (mr *MockIAccountMockRecorder) CodeHash() *gomock.Call

CodeHash indicates an expected call of CodeHash.

func (*MockIAccountMockRecorder) GetAddress

func (mr *MockIAccountMockRecorder) GetAddress() *gomock.Call

GetAddress indicates an expected call of GetAddress.

func (*MockIAccountMockRecorder) GetBalance

func (mr *MockIAccountMockRecorder) GetBalance() *gomock.Call

GetBalance indicates an expected call of GetBalance.

func (*MockIAccountMockRecorder) GetCommittedState

func (mr *MockIAccountMockRecorder) GetCommittedState(key interface{}) *gomock.Call

GetCommittedState indicates an expected call of GetCommittedState.

func (*MockIAccountMockRecorder) GetNonce

func (mr *MockIAccountMockRecorder) GetNonce() *gomock.Call

GetNonce indicates an expected call of GetNonce.

func (*MockIAccountMockRecorder) GetState

func (mr *MockIAccountMockRecorder) GetState(key interface{}) *gomock.Call

GetState indicates an expected call of GetState.

func (*MockIAccountMockRecorder) IsEmpty

func (mr *MockIAccountMockRecorder) IsEmpty() *gomock.Call

IsEmpty indicates an expected call of IsEmpty.

func (*MockIAccountMockRecorder) Query

func (mr *MockIAccountMockRecorder) Query(prefix interface{}) *gomock.Call

Query indicates an expected call of Query.

func (*MockIAccountMockRecorder) SetBalance

func (mr *MockIAccountMockRecorder) SetBalance(balance interface{}) *gomock.Call

SetBalance indicates an expected call of SetBalance.

func (*MockIAccountMockRecorder) SetCodeAndHash

func (mr *MockIAccountMockRecorder) SetCodeAndHash(code interface{}) *gomock.Call

SetCodeAndHash indicates an expected call of SetCodeAndHash.

func (*MockIAccountMockRecorder) SetNonce

func (mr *MockIAccountMockRecorder) SetNonce(nonce interface{}) *gomock.Call

SetNonce indicates an expected call of SetNonce.

func (*MockIAccountMockRecorder) SetState

func (mr *MockIAccountMockRecorder) SetState(key, value interface{}) *gomock.Call

SetState indicates an expected call of SetState.

func (*MockIAccountMockRecorder) SetSuicided

func (mr *MockIAccountMockRecorder) SetSuicided(arg0 interface{}) *gomock.Call

SetSuicided indicates an expected call of SetSuicided.

func (*MockIAccountMockRecorder) SubBalance

func (mr *MockIAccountMockRecorder) SubBalance(amount interface{}) *gomock.Call

SubBalance indicates an expected call of SubBalance.

func (*MockIAccountMockRecorder) Suicided

func (mr *MockIAccountMockRecorder) Suicided() *gomock.Call

Suicided indicates an expected call of Suicided.

type MockStateAccessor

type MockStateAccessor struct {
	// contains filtered or unexported fields
}

MockStateAccessor is a mock of StateAccessor interface.

func NewMockStateAccessor

func NewMockStateAccessor(ctrl *gomock.Controller) *MockStateAccessor

NewMockStateAccessor creates a new mock instance.

func (*MockStateAccessor) AddState

func (m *MockStateAccessor) AddState(arg0 *types0.Address, arg1, arg2 []byte)

AddState mocks base method.

func (*MockStateAccessor) Clear

func (m *MockStateAccessor) Clear()

Clear mocks base method.

func (*MockStateAccessor) Commit

func (m *MockStateAccessor) Commit(height uint64, accounts map[string]ledger.IAccount, stateRoot *types0.Hash) error

Commit mocks base method.

func (*MockStateAccessor) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStateAccessor) FlushDirtyData added in v1.10.0

func (m *MockStateAccessor) FlushDirtyData() (map[string]ledger.IAccount, *types0.Hash)

FlushDirtyData mocks base method.

func (*MockStateAccessor) GetAccount

func (m *MockStateAccessor) GetAccount(arg0 *types0.Address) ledger.IAccount

GetAccount mocks base method.

func (*MockStateAccessor) GetBalance

func (m *MockStateAccessor) GetBalance(arg0 *types0.Address) *big.Int

GetBalance mocks base method.

func (*MockStateAccessor) GetCode

func (m *MockStateAccessor) GetCode(arg0 *types0.Address) []byte

GetCode mocks base method.

func (*MockStateAccessor) GetNonce

func (m *MockStateAccessor) GetNonce(arg0 *types0.Address) uint64

GetNonce mocks base method.

func (*MockStateAccessor) GetOrCreateAccount

func (m *MockStateAccessor) GetOrCreateAccount(arg0 *types0.Address) ledger.IAccount

GetOrCreateAccount mocks base method.

func (*MockStateAccessor) GetState

func (m *MockStateAccessor) GetState(arg0 *types0.Address, arg1 []byte) (bool, []byte)

GetState mocks base method.

func (*MockStateAccessor) QueryByPrefix

func (m *MockStateAccessor) QueryByPrefix(address *types0.Address, prefix string) (bool, [][]byte)

QueryByPrefix mocks base method.

func (*MockStateAccessor) SetBalance

func (m *MockStateAccessor) SetBalance(arg0 *types0.Address, arg1 *big.Int)

SetBalance mocks base method.

func (*MockStateAccessor) SetCode

func (m *MockStateAccessor) SetCode(arg0 *types0.Address, arg1 []byte)

SetCode mocks base method.

func (*MockStateAccessor) SetNonce

func (m *MockStateAccessor) SetNonce(arg0 *types0.Address, arg1 uint64)

SetNonce mocks base method.

func (*MockStateAccessor) SetState

func (m *MockStateAccessor) SetState(arg0 *types0.Address, arg1, arg2 []byte)

SetState mocks base method.

type MockStateAccessorMockRecorder

type MockStateAccessorMockRecorder struct {
	// contains filtered or unexported fields
}

MockStateAccessorMockRecorder is the mock recorder for MockStateAccessor.

func (*MockStateAccessorMockRecorder) AddState

func (mr *MockStateAccessorMockRecorder) AddState(arg0, arg1, arg2 interface{}) *gomock.Call

AddState indicates an expected call of AddState.

func (*MockStateAccessorMockRecorder) Clear

Clear indicates an expected call of Clear.

func (*MockStateAccessorMockRecorder) Commit

func (mr *MockStateAccessorMockRecorder) Commit(height, accounts, stateRoot interface{}) *gomock.Call

Commit indicates an expected call of Commit.

func (*MockStateAccessorMockRecorder) FlushDirtyData added in v1.10.0

func (mr *MockStateAccessorMockRecorder) FlushDirtyData() *gomock.Call

FlushDirtyData indicates an expected call of FlushDirtyData.

func (*MockStateAccessorMockRecorder) GetAccount

func (mr *MockStateAccessorMockRecorder) GetAccount(arg0 interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount.

func (*MockStateAccessorMockRecorder) GetBalance

func (mr *MockStateAccessorMockRecorder) GetBalance(arg0 interface{}) *gomock.Call

GetBalance indicates an expected call of GetBalance.

func (*MockStateAccessorMockRecorder) GetCode

func (mr *MockStateAccessorMockRecorder) GetCode(arg0 interface{}) *gomock.Call

GetCode indicates an expected call of GetCode.

func (*MockStateAccessorMockRecorder) GetNonce

func (mr *MockStateAccessorMockRecorder) GetNonce(arg0 interface{}) *gomock.Call

GetNonce indicates an expected call of GetNonce.

func (*MockStateAccessorMockRecorder) GetOrCreateAccount

func (mr *MockStateAccessorMockRecorder) GetOrCreateAccount(arg0 interface{}) *gomock.Call

GetOrCreateAccount indicates an expected call of GetOrCreateAccount.

func (*MockStateAccessorMockRecorder) GetState

func (mr *MockStateAccessorMockRecorder) GetState(arg0, arg1 interface{}) *gomock.Call

GetState indicates an expected call of GetState.

func (*MockStateAccessorMockRecorder) QueryByPrefix

func (mr *MockStateAccessorMockRecorder) QueryByPrefix(address, prefix interface{}) *gomock.Call

QueryByPrefix indicates an expected call of QueryByPrefix.

func (*MockStateAccessorMockRecorder) SetBalance

func (mr *MockStateAccessorMockRecorder) SetBalance(arg0, arg1 interface{}) *gomock.Call

SetBalance indicates an expected call of SetBalance.

func (*MockStateAccessorMockRecorder) SetCode

func (mr *MockStateAccessorMockRecorder) SetCode(arg0, arg1 interface{}) *gomock.Call

SetCode indicates an expected call of SetCode.

func (*MockStateAccessorMockRecorder) SetNonce

func (mr *MockStateAccessorMockRecorder) SetNonce(arg0, arg1 interface{}) *gomock.Call

SetNonce indicates an expected call of SetNonce.

func (*MockStateAccessorMockRecorder) SetState

func (mr *MockStateAccessorMockRecorder) SetState(arg0, arg1, arg2 interface{}) *gomock.Call

SetState indicates an expected call of SetState.

type MockStateDB

type MockStateDB struct {
	// contains filtered or unexported fields
}

MockStateDB is a mock of StateDB interface.

func NewMockStateDB

func NewMockStateDB(ctrl *gomock.Controller) *MockStateDB

NewMockStateDB creates a new mock instance.

func (*MockStateDB) AddAddressToEVMAccessList

func (m *MockStateDB) AddAddressToEVMAccessList(addr common.Address)

AddAddressToEVMAccessList mocks base method.

func (*MockStateDB) AddEVMBalance

func (m *MockStateDB) AddEVMBalance(arg0 common.Address, arg1 *big.Int)

AddEVMBalance mocks base method.

func (*MockStateDB) AddEVMLog

func (m *MockStateDB) AddEVMLog(log *types.Log)

AddEVMLog mocks base method.

func (*MockStateDB) AddEVMPreimage

func (m *MockStateDB) AddEVMPreimage(arg0 common.Hash, arg1 []byte)

AddEVMPreimage mocks base method.

func (*MockStateDB) AddEVMRefund

func (m *MockStateDB) AddEVMRefund(arg0 uint64)

AddEVMRefund mocks base method.

func (*MockStateDB) AddSlotToEVMAccessList

func (m *MockStateDB) AddSlotToEVMAccessList(addr common.Address, slot common.Hash)

AddSlotToEVMAccessList mocks base method.

func (*MockStateDB) AddressInEVMAccessList

func (m *MockStateDB) AddressInEVMAccessList(addr common.Address) bool

AddressInEVMAccessList mocks base method.

func (*MockStateDB) CreateEVMAccount

func (m *MockStateDB) CreateEVMAccount(arg0 common.Address)

CreateEVMAccount mocks base method.

func (*MockStateDB) EXPECT

func (m *MockStateDB) EXPECT() *MockStateDBMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStateDB) EmptyEVM

func (m *MockStateDB) EmptyEVM(arg0 common.Address) bool

EmptyEVM mocks base method.

func (*MockStateDB) ExistEVM

func (m *MockStateDB) ExistEVM(arg0 common.Address) bool

ExistEVM mocks base method.

func (*MockStateDB) GetEVMBalance

func (m *MockStateDB) GetEVMBalance(arg0 common.Address) *big.Int

GetEVMBalance mocks base method.

func (*MockStateDB) GetEVMCode

func (m *MockStateDB) GetEVMCode(arg0 common.Address) []byte

GetEVMCode mocks base method.

func (*MockStateDB) GetEVMCodeHash

func (m *MockStateDB) GetEVMCodeHash(arg0 common.Address) common.Hash

GetEVMCodeHash mocks base method.

func (*MockStateDB) GetEVMCodeSize

func (m *MockStateDB) GetEVMCodeSize(arg0 common.Address) int

GetEVMCodeSize mocks base method.

func (*MockStateDB) GetEVMCommittedState

func (m *MockStateDB) GetEVMCommittedState(arg0 common.Address, arg1 common.Hash) common.Hash

GetEVMCommittedState mocks base method.

func (*MockStateDB) GetEVMNonce

func (m *MockStateDB) GetEVMNonce(arg0 common.Address) uint64

GetEVMNonce mocks base method.

func (*MockStateDB) GetEVMRefund

func (m *MockStateDB) GetEVMRefund() uint64

GetEVMRefund mocks base method.

func (*MockStateDB) GetEVMState

func (m *MockStateDB) GetEVMState(arg0 common.Address, arg1 common.Hash) common.Hash

GetEVMState mocks base method.

func (*MockStateDB) HasSuisideEVM

func (m *MockStateDB) HasSuisideEVM(arg0 common.Address) bool

HasSuisideEVM mocks base method.

func (*MockStateDB) PrepareEVM

func (m *MockStateDB) PrepareEVM(arg0 common.Hash, arg1 int)

PrepareEVM mocks base method.

func (*MockStateDB) PrepareEVMAccessList

func (m *MockStateDB) PrepareEVMAccessList(sender common.Address, dest *common.Address, precompiles []common.Address, txAccesses types.AccessList)

PrepareEVMAccessList mocks base method.

func (*MockStateDB) RevertToSnapshot

func (m *MockStateDB) RevertToSnapshot(arg0 int)

RevertToSnapshot mocks base method.

func (*MockStateDB) SetEVMCode

func (m *MockStateDB) SetEVMCode(arg0 common.Address, arg1 []byte)

SetEVMCode mocks base method.

func (*MockStateDB) SetEVMNonce

func (m *MockStateDB) SetEVMNonce(arg0 common.Address, arg1 uint64)

SetEVMNonce mocks base method.

func (*MockStateDB) SetEVMState

func (m *MockStateDB) SetEVMState(arg0 common.Address, arg1, arg2 common.Hash)

SetEVMState mocks base method.

func (*MockStateDB) SlotInEVMAceessList

func (m *MockStateDB) SlotInEVMAceessList(addr common.Address, slot common.Hash) (bool, bool)

SlotInEVMAceessList mocks base method.

func (*MockStateDB) Snapshot

func (m *MockStateDB) Snapshot() int

Snapshot mocks base method.

func (*MockStateDB) SubEVMBalance

func (m *MockStateDB) SubEVMBalance(arg0 common.Address, arg1 *big.Int)

SubEVMBalance mocks base method.

func (*MockStateDB) SubEVMRefund

func (m *MockStateDB) SubEVMRefund(arg0 uint64)

SubEVMRefund mocks base method.

func (*MockStateDB) SuisideEVM

func (m *MockStateDB) SuisideEVM(arg0 common.Address) bool

SuisideEVM mocks base method.

type MockStateDBMockRecorder

type MockStateDBMockRecorder struct {
	// contains filtered or unexported fields
}

MockStateDBMockRecorder is the mock recorder for MockStateDB.

func (*MockStateDBMockRecorder) AddAddressToEVMAccessList

func (mr *MockStateDBMockRecorder) AddAddressToEVMAccessList(addr interface{}) *gomock.Call

AddAddressToEVMAccessList indicates an expected call of AddAddressToEVMAccessList.

func (*MockStateDBMockRecorder) AddEVMBalance

func (mr *MockStateDBMockRecorder) AddEVMBalance(arg0, arg1 interface{}) *gomock.Call

AddEVMBalance indicates an expected call of AddEVMBalance.

func (*MockStateDBMockRecorder) AddEVMLog

func (mr *MockStateDBMockRecorder) AddEVMLog(log interface{}) *gomock.Call

AddEVMLog indicates an expected call of AddEVMLog.

func (*MockStateDBMockRecorder) AddEVMPreimage

func (mr *MockStateDBMockRecorder) AddEVMPreimage(arg0, arg1 interface{}) *gomock.Call

AddEVMPreimage indicates an expected call of AddEVMPreimage.

func (*MockStateDBMockRecorder) AddEVMRefund

func (mr *MockStateDBMockRecorder) AddEVMRefund(arg0 interface{}) *gomock.Call

AddEVMRefund indicates an expected call of AddEVMRefund.

func (*MockStateDBMockRecorder) AddSlotToEVMAccessList

func (mr *MockStateDBMockRecorder) AddSlotToEVMAccessList(addr, slot interface{}) *gomock.Call

AddSlotToEVMAccessList indicates an expected call of AddSlotToEVMAccessList.

func (*MockStateDBMockRecorder) AddressInEVMAccessList

func (mr *MockStateDBMockRecorder) AddressInEVMAccessList(addr interface{}) *gomock.Call

AddressInEVMAccessList indicates an expected call of AddressInEVMAccessList.

func (*MockStateDBMockRecorder) CreateEVMAccount

func (mr *MockStateDBMockRecorder) CreateEVMAccount(arg0 interface{}) *gomock.Call

CreateEVMAccount indicates an expected call of CreateEVMAccount.

func (*MockStateDBMockRecorder) EmptyEVM

func (mr *MockStateDBMockRecorder) EmptyEVM(arg0 interface{}) *gomock.Call

EmptyEVM indicates an expected call of EmptyEVM.

func (*MockStateDBMockRecorder) ExistEVM

func (mr *MockStateDBMockRecorder) ExistEVM(arg0 interface{}) *gomock.Call

ExistEVM indicates an expected call of ExistEVM.

func (*MockStateDBMockRecorder) GetEVMBalance

func (mr *MockStateDBMockRecorder) GetEVMBalance(arg0 interface{}) *gomock.Call

GetEVMBalance indicates an expected call of GetEVMBalance.

func (*MockStateDBMockRecorder) GetEVMCode

func (mr *MockStateDBMockRecorder) GetEVMCode(arg0 interface{}) *gomock.Call

GetEVMCode indicates an expected call of GetEVMCode.

func (*MockStateDBMockRecorder) GetEVMCodeHash

func (mr *MockStateDBMockRecorder) GetEVMCodeHash(arg0 interface{}) *gomock.Call

GetEVMCodeHash indicates an expected call of GetEVMCodeHash.

func (*MockStateDBMockRecorder) GetEVMCodeSize

func (mr *MockStateDBMockRecorder) GetEVMCodeSize(arg0 interface{}) *gomock.Call

GetEVMCodeSize indicates an expected call of GetEVMCodeSize.

func (*MockStateDBMockRecorder) GetEVMCommittedState

func (mr *MockStateDBMockRecorder) GetEVMCommittedState(arg0, arg1 interface{}) *gomock.Call

GetEVMCommittedState indicates an expected call of GetEVMCommittedState.

func (*MockStateDBMockRecorder) GetEVMNonce

func (mr *MockStateDBMockRecorder) GetEVMNonce(arg0 interface{}) *gomock.Call

GetEVMNonce indicates an expected call of GetEVMNonce.

func (*MockStateDBMockRecorder) GetEVMRefund

func (mr *MockStateDBMockRecorder) GetEVMRefund() *gomock.Call

GetEVMRefund indicates an expected call of GetEVMRefund.

func (*MockStateDBMockRecorder) GetEVMState

func (mr *MockStateDBMockRecorder) GetEVMState(arg0, arg1 interface{}) *gomock.Call

GetEVMState indicates an expected call of GetEVMState.

func (*MockStateDBMockRecorder) HasSuisideEVM

func (mr *MockStateDBMockRecorder) HasSuisideEVM(arg0 interface{}) *gomock.Call

HasSuisideEVM indicates an expected call of HasSuisideEVM.

func (*MockStateDBMockRecorder) PrepareEVM

func (mr *MockStateDBMockRecorder) PrepareEVM(arg0, arg1 interface{}) *gomock.Call

PrepareEVM indicates an expected call of PrepareEVM.

func (*MockStateDBMockRecorder) PrepareEVMAccessList

func (mr *MockStateDBMockRecorder) PrepareEVMAccessList(sender, dest, precompiles, txAccesses interface{}) *gomock.Call

PrepareEVMAccessList indicates an expected call of PrepareEVMAccessList.

func (*MockStateDBMockRecorder) RevertToSnapshot

func (mr *MockStateDBMockRecorder) RevertToSnapshot(arg0 interface{}) *gomock.Call

RevertToSnapshot indicates an expected call of RevertToSnapshot.

func (*MockStateDBMockRecorder) SetEVMCode

func (mr *MockStateDBMockRecorder) SetEVMCode(arg0, arg1 interface{}) *gomock.Call

SetEVMCode indicates an expected call of SetEVMCode.

func (*MockStateDBMockRecorder) SetEVMNonce

func (mr *MockStateDBMockRecorder) SetEVMNonce(arg0, arg1 interface{}) *gomock.Call

SetEVMNonce indicates an expected call of SetEVMNonce.

func (*MockStateDBMockRecorder) SetEVMState

func (mr *MockStateDBMockRecorder) SetEVMState(arg0, arg1, arg2 interface{}) *gomock.Call

SetEVMState indicates an expected call of SetEVMState.

func (*MockStateDBMockRecorder) SlotInEVMAceessList

func (mr *MockStateDBMockRecorder) SlotInEVMAceessList(addr, slot interface{}) *gomock.Call

SlotInEVMAceessList indicates an expected call of SlotInEVMAceessList.

func (*MockStateDBMockRecorder) Snapshot

func (mr *MockStateDBMockRecorder) Snapshot() *gomock.Call

Snapshot indicates an expected call of Snapshot.

func (*MockStateDBMockRecorder) SubEVMBalance

func (mr *MockStateDBMockRecorder) SubEVMBalance(arg0, arg1 interface{}) *gomock.Call

SubEVMBalance indicates an expected call of SubEVMBalance.

func (*MockStateDBMockRecorder) SubEVMRefund

func (mr *MockStateDBMockRecorder) SubEVMRefund(arg0 interface{}) *gomock.Call

SubEVMRefund indicates an expected call of SubEVMRefund.

func (*MockStateDBMockRecorder) SuisideEVM

func (mr *MockStateDBMockRecorder) SuisideEVM(arg0 interface{}) *gomock.Call

SuisideEVM indicates an expected call of SuisideEVM.

type MockStateLedger

type MockStateLedger struct {
	// contains filtered or unexported fields
}

MockStateLedger is a mock of StateLedger interface.

func NewMockStateLedger

func NewMockStateLedger(ctrl *gomock.Controller) *MockStateLedger

NewMockStateLedger creates a new mock instance.

func (*MockStateLedger) AddAddressToEVMAccessList

func (m *MockStateLedger) AddAddressToEVMAccessList(addr common.Address)

AddAddressToEVMAccessList mocks base method.

func (*MockStateLedger) AddEVMBalance

func (m *MockStateLedger) AddEVMBalance(arg0 common.Address, arg1 *big.Int)

AddEVMBalance mocks base method.

func (*MockStateLedger) AddEVMLog

func (m *MockStateLedger) AddEVMLog(log *types.Log)

AddEVMLog mocks base method.

func (*MockStateLedger) AddEVMPreimage

func (m *MockStateLedger) AddEVMPreimage(arg0 common.Hash, arg1 []byte)

AddEVMPreimage mocks base method.

func (*MockStateLedger) AddEVMRefund

func (m *MockStateLedger) AddEVMRefund(arg0 uint64)

AddEVMRefund mocks base method.

func (*MockStateLedger) AddEvent

func (m *MockStateLedger) AddEvent(arg0 *pb.Event)

AddEvent mocks base method.

func (*MockStateLedger) AddLog added in v1.10.0

func (m *MockStateLedger) AddLog(log *pb.EvmLog)

AddLog mocks base method.

func (*MockStateLedger) AddSlotToEVMAccessList

func (m *MockStateLedger) AddSlotToEVMAccessList(addr common.Address, slot common.Hash)

AddSlotToEVMAccessList mocks base method.

func (*MockStateLedger) AddState

func (m *MockStateLedger) AddState(arg0 *types0.Address, arg1, arg2 []byte)

AddState mocks base method.

func (*MockStateLedger) AddressInEVMAccessList

func (m *MockStateLedger) AddressInEVMAccessList(addr common.Address) bool

AddressInEVMAccessList mocks base method.

func (*MockStateLedger) Clear

func (m *MockStateLedger) Clear()

Clear mocks base method.

func (*MockStateLedger) ClearChangerAndRefund

func (m *MockStateLedger) ClearChangerAndRefund()

ClearChangerAndRefund mocks base method.

func (*MockStateLedger) Close

func (m *MockStateLedger) Close()

Close mocks base method.

func (*MockStateLedger) Commit

func (m *MockStateLedger) Commit(height uint64, accounts map[string]ledger.IAccount, stateRoot *types0.Hash) error

Commit mocks base method.

func (*MockStateLedger) Copy added in v1.10.0

Copy mocks base method.

func (*MockStateLedger) CreateEVMAccount

func (m *MockStateLedger) CreateEVMAccount(arg0 common.Address)

CreateEVMAccount mocks base method.

func (*MockStateLedger) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockStateLedger) EmptyEVM

func (m *MockStateLedger) EmptyEVM(arg0 common.Address) bool

EmptyEVM mocks base method.

func (*MockStateLedger) Events

func (m *MockStateLedger) Events(txHash string) []*pb.Event

Events mocks base method.

func (*MockStateLedger) ExistEVM

func (m *MockStateLedger) ExistEVM(arg0 common.Address) bool

ExistEVM mocks base method.

func (*MockStateLedger) Finalise

func (m *MockStateLedger) Finalise(arg0 bool)

Finalise mocks base method.

func (*MockStateLedger) FlushDirtyData added in v1.10.0

func (m *MockStateLedger) FlushDirtyData() (map[string]ledger.IAccount, *types0.Hash)

FlushDirtyData mocks base method.

func (*MockStateLedger) GetAccount

func (m *MockStateLedger) GetAccount(arg0 *types0.Address) ledger.IAccount

GetAccount mocks base method.

func (*MockStateLedger) GetBalance

func (m *MockStateLedger) GetBalance(arg0 *types0.Address) *big.Int

GetBalance mocks base method.

func (*MockStateLedger) GetCode

func (m *MockStateLedger) GetCode(arg0 *types0.Address) []byte

GetCode mocks base method.

func (*MockStateLedger) GetEVMBalance

func (m *MockStateLedger) GetEVMBalance(arg0 common.Address) *big.Int

GetEVMBalance mocks base method.

func (*MockStateLedger) GetEVMCode

func (m *MockStateLedger) GetEVMCode(arg0 common.Address) []byte

GetEVMCode mocks base method.

func (*MockStateLedger) GetEVMCodeHash

func (m *MockStateLedger) GetEVMCodeHash(arg0 common.Address) common.Hash

GetEVMCodeHash mocks base method.

func (*MockStateLedger) GetEVMCodeSize

func (m *MockStateLedger) GetEVMCodeSize(arg0 common.Address) int

GetEVMCodeSize mocks base method.

func (*MockStateLedger) GetEVMCommittedState

func (m *MockStateLedger) GetEVMCommittedState(arg0 common.Address, arg1 common.Hash) common.Hash

GetEVMCommittedState mocks base method.

func (*MockStateLedger) GetEVMNonce

func (m *MockStateLedger) GetEVMNonce(arg0 common.Address) uint64

GetEVMNonce mocks base method.

func (*MockStateLedger) GetEVMRefund

func (m *MockStateLedger) GetEVMRefund() uint64

GetEVMRefund mocks base method.

func (*MockStateLedger) GetEVMState

func (m *MockStateLedger) GetEVMState(arg0 common.Address, arg1 common.Hash) common.Hash

GetEVMState mocks base method.

func (*MockStateLedger) GetLogs

func (m *MockStateLedger) GetLogs(arg0 types0.Hash) []*pb.EvmLog

GetLogs mocks base method.

func (*MockStateLedger) GetNonce

func (m *MockStateLedger) GetNonce(arg0 *types0.Address) uint64

GetNonce mocks base method.

func (*MockStateLedger) GetOrCreateAccount

func (m *MockStateLedger) GetOrCreateAccount(arg0 *types0.Address) ledger.IAccount

GetOrCreateAccount mocks base method.

func (*MockStateLedger) GetState

func (m *MockStateLedger) GetState(arg0 *types0.Address, arg1 []byte) (bool, []byte)

GetState mocks base method.

func (*MockStateLedger) HasSuisideEVM

func (m *MockStateLedger) HasSuisideEVM(arg0 common.Address) bool

HasSuisideEVM mocks base method.

func (*MockStateLedger) PrepareBlock

func (m *MockStateLedger) PrepareBlock(arg0 *types0.Hash, arg1 uint64)

PrepareBlock mocks base method.

func (*MockStateLedger) PrepareEVM

func (m *MockStateLedger) PrepareEVM(arg0 common.Hash, arg1 int)

PrepareEVM mocks base method.

func (*MockStateLedger) PrepareEVMAccessList

func (m *MockStateLedger) PrepareEVMAccessList(sender common.Address, dest *common.Address, precompiles []common.Address, txAccesses types.AccessList)

PrepareEVMAccessList mocks base method.

func (*MockStateLedger) QueryByPrefix

func (m *MockStateLedger) QueryByPrefix(address *types0.Address, prefix string) (bool, [][]byte)

QueryByPrefix mocks base method.

func (*MockStateLedger) RevertToSnapshot

func (m *MockStateLedger) RevertToSnapshot(arg0 int)

RevertToSnapshot mocks base method.

func (*MockStateLedger) RollbackState

func (m *MockStateLedger) RollbackState(height uint64) error

RollbackState mocks base method.

func (*MockStateLedger) SetBalance

func (m *MockStateLedger) SetBalance(arg0 *types0.Address, arg1 *big.Int)

SetBalance mocks base method.

func (*MockStateLedger) SetCode

func (m *MockStateLedger) SetCode(arg0 *types0.Address, arg1 []byte)

SetCode mocks base method.

func (*MockStateLedger) SetEVMCode

func (m *MockStateLedger) SetEVMCode(arg0 common.Address, arg1 []byte)

SetEVMCode mocks base method.

func (*MockStateLedger) SetEVMNonce

func (m *MockStateLedger) SetEVMNonce(arg0 common.Address, arg1 uint64)

SetEVMNonce mocks base method.

func (*MockStateLedger) SetEVMState

func (m *MockStateLedger) SetEVMState(arg0 common.Address, arg1, arg2 common.Hash)

SetEVMState mocks base method.

func (*MockStateLedger) SetNonce

func (m *MockStateLedger) SetNonce(arg0 *types0.Address, arg1 uint64)

SetNonce mocks base method.

func (*MockStateLedger) SetState

func (m *MockStateLedger) SetState(arg0 *types0.Address, arg1, arg2 []byte)

SetState mocks base method.

func (*MockStateLedger) SlotInEVMAceessList

func (m *MockStateLedger) SlotInEVMAceessList(addr common.Address, slot common.Hash) (bool, bool)

SlotInEVMAceessList mocks base method.

func (*MockStateLedger) Snapshot

func (m *MockStateLedger) Snapshot() int

Snapshot mocks base method.

func (*MockStateLedger) SubEVMBalance

func (m *MockStateLedger) SubEVMBalance(arg0 common.Address, arg1 *big.Int)

SubEVMBalance mocks base method.

func (*MockStateLedger) SubEVMRefund

func (m *MockStateLedger) SubEVMRefund(arg0 uint64)

SubEVMRefund mocks base method.

func (*MockStateLedger) SuisideEVM

func (m *MockStateLedger) SuisideEVM(arg0 common.Address) bool

SuisideEVM mocks base method.

func (*MockStateLedger) Version

func (m *MockStateLedger) Version() uint64

Version mocks base method.

type MockStateLedgerMockRecorder

type MockStateLedgerMockRecorder struct {
	// contains filtered or unexported fields
}

MockStateLedgerMockRecorder is the mock recorder for MockStateLedger.

func (*MockStateLedgerMockRecorder) AddAddressToEVMAccessList

func (mr *MockStateLedgerMockRecorder) AddAddressToEVMAccessList(addr interface{}) *gomock.Call

AddAddressToEVMAccessList indicates an expected call of AddAddressToEVMAccessList.

func (*MockStateLedgerMockRecorder) AddEVMBalance

func (mr *MockStateLedgerMockRecorder) AddEVMBalance(arg0, arg1 interface{}) *gomock.Call

AddEVMBalance indicates an expected call of AddEVMBalance.

func (*MockStateLedgerMockRecorder) AddEVMLog

func (mr *MockStateLedgerMockRecorder) AddEVMLog(log interface{}) *gomock.Call

AddEVMLog indicates an expected call of AddEVMLog.

func (*MockStateLedgerMockRecorder) AddEVMPreimage

func (mr *MockStateLedgerMockRecorder) AddEVMPreimage(arg0, arg1 interface{}) *gomock.Call

AddEVMPreimage indicates an expected call of AddEVMPreimage.

func (*MockStateLedgerMockRecorder) AddEVMRefund

func (mr *MockStateLedgerMockRecorder) AddEVMRefund(arg0 interface{}) *gomock.Call

AddEVMRefund indicates an expected call of AddEVMRefund.

func (*MockStateLedgerMockRecorder) AddEvent

func (mr *MockStateLedgerMockRecorder) AddEvent(arg0 interface{}) *gomock.Call

AddEvent indicates an expected call of AddEvent.

func (*MockStateLedgerMockRecorder) AddLog added in v1.10.0

func (mr *MockStateLedgerMockRecorder) AddLog(log interface{}) *gomock.Call

AddLog indicates an expected call of AddLog.

func (*MockStateLedgerMockRecorder) AddSlotToEVMAccessList

func (mr *MockStateLedgerMockRecorder) AddSlotToEVMAccessList(addr, slot interface{}) *gomock.Call

AddSlotToEVMAccessList indicates an expected call of AddSlotToEVMAccessList.

func (*MockStateLedgerMockRecorder) AddState

func (mr *MockStateLedgerMockRecorder) AddState(arg0, arg1, arg2 interface{}) *gomock.Call

AddState indicates an expected call of AddState.

func (*MockStateLedgerMockRecorder) AddressInEVMAccessList

func (mr *MockStateLedgerMockRecorder) AddressInEVMAccessList(addr interface{}) *gomock.Call

AddressInEVMAccessList indicates an expected call of AddressInEVMAccessList.

func (*MockStateLedgerMockRecorder) Clear

Clear indicates an expected call of Clear.

func (*MockStateLedgerMockRecorder) ClearChangerAndRefund

func (mr *MockStateLedgerMockRecorder) ClearChangerAndRefund() *gomock.Call

ClearChangerAndRefund indicates an expected call of ClearChangerAndRefund.

func (*MockStateLedgerMockRecorder) Close

Close indicates an expected call of Close.

func (*MockStateLedgerMockRecorder) Commit

func (mr *MockStateLedgerMockRecorder) Commit(height, accounts, stateRoot interface{}) *gomock.Call

Commit indicates an expected call of Commit.

func (*MockStateLedgerMockRecorder) Copy added in v1.10.0

Copy indicates an expected call of Copy.

func (*MockStateLedgerMockRecorder) CreateEVMAccount

func (mr *MockStateLedgerMockRecorder) CreateEVMAccount(arg0 interface{}) *gomock.Call

CreateEVMAccount indicates an expected call of CreateEVMAccount.

func (*MockStateLedgerMockRecorder) EmptyEVM

func (mr *MockStateLedgerMockRecorder) EmptyEVM(arg0 interface{}) *gomock.Call

EmptyEVM indicates an expected call of EmptyEVM.

func (*MockStateLedgerMockRecorder) Events

func (mr *MockStateLedgerMockRecorder) Events(txHash interface{}) *gomock.Call

Events indicates an expected call of Events.

func (*MockStateLedgerMockRecorder) ExistEVM

func (mr *MockStateLedgerMockRecorder) ExistEVM(arg0 interface{}) *gomock.Call

ExistEVM indicates an expected call of ExistEVM.

func (*MockStateLedgerMockRecorder) Finalise

func (mr *MockStateLedgerMockRecorder) Finalise(arg0 interface{}) *gomock.Call

Finalise indicates an expected call of Finalise.

func (*MockStateLedgerMockRecorder) FlushDirtyData added in v1.10.0

func (mr *MockStateLedgerMockRecorder) FlushDirtyData() *gomock.Call

FlushDirtyData indicates an expected call of FlushDirtyData.

func (*MockStateLedgerMockRecorder) GetAccount

func (mr *MockStateLedgerMockRecorder) GetAccount(arg0 interface{}) *gomock.Call

GetAccount indicates an expected call of GetAccount.

func (*MockStateLedgerMockRecorder) GetBalance

func (mr *MockStateLedgerMockRecorder) GetBalance(arg0 interface{}) *gomock.Call

GetBalance indicates an expected call of GetBalance.

func (*MockStateLedgerMockRecorder) GetCode

func (mr *MockStateLedgerMockRecorder) GetCode(arg0 interface{}) *gomock.Call

GetCode indicates an expected call of GetCode.

func (*MockStateLedgerMockRecorder) GetEVMBalance

func (mr *MockStateLedgerMockRecorder) GetEVMBalance(arg0 interface{}) *gomock.Call

GetEVMBalance indicates an expected call of GetEVMBalance.

func (*MockStateLedgerMockRecorder) GetEVMCode

func (mr *MockStateLedgerMockRecorder) GetEVMCode(arg0 interface{}) *gomock.Call

GetEVMCode indicates an expected call of GetEVMCode.

func (*MockStateLedgerMockRecorder) GetEVMCodeHash

func (mr *MockStateLedgerMockRecorder) GetEVMCodeHash(arg0 interface{}) *gomock.Call

GetEVMCodeHash indicates an expected call of GetEVMCodeHash.

func (*MockStateLedgerMockRecorder) GetEVMCodeSize

func (mr *MockStateLedgerMockRecorder) GetEVMCodeSize(arg0 interface{}) *gomock.Call

GetEVMCodeSize indicates an expected call of GetEVMCodeSize.

func (*MockStateLedgerMockRecorder) GetEVMCommittedState

func (mr *MockStateLedgerMockRecorder) GetEVMCommittedState(arg0, arg1 interface{}) *gomock.Call

GetEVMCommittedState indicates an expected call of GetEVMCommittedState.

func (*MockStateLedgerMockRecorder) GetEVMNonce

func (mr *MockStateLedgerMockRecorder) GetEVMNonce(arg0 interface{}) *gomock.Call

GetEVMNonce indicates an expected call of GetEVMNonce.

func (*MockStateLedgerMockRecorder) GetEVMRefund

func (mr *MockStateLedgerMockRecorder) GetEVMRefund() *gomock.Call

GetEVMRefund indicates an expected call of GetEVMRefund.

func (*MockStateLedgerMockRecorder) GetEVMState

func (mr *MockStateLedgerMockRecorder) GetEVMState(arg0, arg1 interface{}) *gomock.Call

GetEVMState indicates an expected call of GetEVMState.

func (*MockStateLedgerMockRecorder) GetLogs

func (mr *MockStateLedgerMockRecorder) GetLogs(arg0 interface{}) *gomock.Call

GetLogs indicates an expected call of GetLogs.

func (*MockStateLedgerMockRecorder) GetNonce

func (mr *MockStateLedgerMockRecorder) GetNonce(arg0 interface{}) *gomock.Call

GetNonce indicates an expected call of GetNonce.

func (*MockStateLedgerMockRecorder) GetOrCreateAccount

func (mr *MockStateLedgerMockRecorder) GetOrCreateAccount(arg0 interface{}) *gomock.Call

GetOrCreateAccount indicates an expected call of GetOrCreateAccount.

func (*MockStateLedgerMockRecorder) GetState

func (mr *MockStateLedgerMockRecorder) GetState(arg0, arg1 interface{}) *gomock.Call

GetState indicates an expected call of GetState.

func (*MockStateLedgerMockRecorder) HasSuisideEVM

func (mr *MockStateLedgerMockRecorder) HasSuisideEVM(arg0 interface{}) *gomock.Call

HasSuisideEVM indicates an expected call of HasSuisideEVM.

func (*MockStateLedgerMockRecorder) PrepareBlock

func (mr *MockStateLedgerMockRecorder) PrepareBlock(arg0, arg1 interface{}) *gomock.Call

PrepareBlock indicates an expected call of PrepareBlock.

func (*MockStateLedgerMockRecorder) PrepareEVM

func (mr *MockStateLedgerMockRecorder) PrepareEVM(arg0, arg1 interface{}) *gomock.Call

PrepareEVM indicates an expected call of PrepareEVM.

func (*MockStateLedgerMockRecorder) PrepareEVMAccessList

func (mr *MockStateLedgerMockRecorder) PrepareEVMAccessList(sender, dest, precompiles, txAccesses interface{}) *gomock.Call

PrepareEVMAccessList indicates an expected call of PrepareEVMAccessList.

func (*MockStateLedgerMockRecorder) QueryByPrefix

func (mr *MockStateLedgerMockRecorder) QueryByPrefix(address, prefix interface{}) *gomock.Call

QueryByPrefix indicates an expected call of QueryByPrefix.

func (*MockStateLedgerMockRecorder) RevertToSnapshot

func (mr *MockStateLedgerMockRecorder) RevertToSnapshot(arg0 interface{}) *gomock.Call

RevertToSnapshot indicates an expected call of RevertToSnapshot.

func (*MockStateLedgerMockRecorder) RollbackState

func (mr *MockStateLedgerMockRecorder) RollbackState(height interface{}) *gomock.Call

RollbackState indicates an expected call of RollbackState.

func (*MockStateLedgerMockRecorder) SetBalance

func (mr *MockStateLedgerMockRecorder) SetBalance(arg0, arg1 interface{}) *gomock.Call

SetBalance indicates an expected call of SetBalance.

func (*MockStateLedgerMockRecorder) SetCode

func (mr *MockStateLedgerMockRecorder) SetCode(arg0, arg1 interface{}) *gomock.Call

SetCode indicates an expected call of SetCode.

func (*MockStateLedgerMockRecorder) SetEVMCode

func (mr *MockStateLedgerMockRecorder) SetEVMCode(arg0, arg1 interface{}) *gomock.Call

SetEVMCode indicates an expected call of SetEVMCode.

func (*MockStateLedgerMockRecorder) SetEVMNonce

func (mr *MockStateLedgerMockRecorder) SetEVMNonce(arg0, arg1 interface{}) *gomock.Call

SetEVMNonce indicates an expected call of SetEVMNonce.

func (*MockStateLedgerMockRecorder) SetEVMState

func (mr *MockStateLedgerMockRecorder) SetEVMState(arg0, arg1, arg2 interface{}) *gomock.Call

SetEVMState indicates an expected call of SetEVMState.

func (*MockStateLedgerMockRecorder) SetNonce

func (mr *MockStateLedgerMockRecorder) SetNonce(arg0, arg1 interface{}) *gomock.Call

SetNonce indicates an expected call of SetNonce.

func (*MockStateLedgerMockRecorder) SetState

func (mr *MockStateLedgerMockRecorder) SetState(arg0, arg1, arg2 interface{}) *gomock.Call

SetState indicates an expected call of SetState.

func (*MockStateLedgerMockRecorder) SlotInEVMAceessList

func (mr *MockStateLedgerMockRecorder) SlotInEVMAceessList(addr, slot interface{}) *gomock.Call

SlotInEVMAceessList indicates an expected call of SlotInEVMAceessList.

func (*MockStateLedgerMockRecorder) Snapshot

func (mr *MockStateLedgerMockRecorder) Snapshot() *gomock.Call

Snapshot indicates an expected call of Snapshot.

func (*MockStateLedgerMockRecorder) SubEVMBalance

func (mr *MockStateLedgerMockRecorder) SubEVMBalance(arg0, arg1 interface{}) *gomock.Call

SubEVMBalance indicates an expected call of SubEVMBalance.

func (*MockStateLedgerMockRecorder) SubEVMRefund

func (mr *MockStateLedgerMockRecorder) SubEVMRefund(arg0 interface{}) *gomock.Call

SubEVMRefund indicates an expected call of SubEVMRefund.

func (*MockStateLedgerMockRecorder) SuisideEVM

func (mr *MockStateLedgerMockRecorder) SuisideEVM(arg0 interface{}) *gomock.Call

SuisideEVM indicates an expected call of SuisideEVM.

func (*MockStateLedgerMockRecorder) Version

func (mr *MockStateLedgerMockRecorder) Version() *gomock.Call

Version indicates an expected call of Version.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL