mock_ledger

package
v0.4.2 Latest Latest
Warning

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

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

Documentation

Overview

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 ChainLedgerCloseBlockfileCall

type ChainLedgerCloseBlockfileCall struct {
	*gomock.Call
}

ChainLedgerCloseBlockfileCall wrap *gomock.Call

func (*ChainLedgerCloseBlockfileCall) Do

Do rewrite *gomock.Call.Do

func (*ChainLedgerCloseBlockfileCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ChainLedgerCloseBlockfileCall) Return

Return rewrite *gomock.Call.Return

type ChainLedgerCloseCall

type ChainLedgerCloseCall struct {
	*gomock.Call
}

ChainLedgerCloseCall wrap *gomock.Call

func (*ChainLedgerCloseCall) Do

func (c *ChainLedgerCloseCall) Do(f func()) *ChainLedgerCloseCall

Do rewrite *gomock.Call.Do

func (*ChainLedgerCloseCall) DoAndReturn

func (c *ChainLedgerCloseCall) DoAndReturn(f func()) *ChainLedgerCloseCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ChainLedgerCloseCall) Return

Return rewrite *gomock.Call.Return

type ChainLedgerGetBlockByHashCall

type ChainLedgerGetBlockByHashCall struct {
	*gomock.Call
}

ChainLedgerGetBlockByHashCall wrap *gomock.Call

func (*ChainLedgerGetBlockByHashCall) Do

Do rewrite *gomock.Call.Do

func (*ChainLedgerGetBlockByHashCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ChainLedgerGetBlockByHashCall) Return

Return rewrite *gomock.Call.Return

type ChainLedgerGetBlockCall

type ChainLedgerGetBlockCall struct {
	*gomock.Call
}

ChainLedgerGetBlockCall wrap *gomock.Call

func (*ChainLedgerGetBlockCall) Do

Do rewrite *gomock.Call.Do

func (*ChainLedgerGetBlockCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ChainLedgerGetBlockCall) Return

Return rewrite *gomock.Call.Return

type ChainLedgerGetBlockHashCall

type ChainLedgerGetBlockHashCall struct {
	*gomock.Call
}

ChainLedgerGetBlockHashCall wrap *gomock.Call

func (*ChainLedgerGetBlockHashCall) Do

Do rewrite *gomock.Call.Do

func (*ChainLedgerGetBlockHashCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ChainLedgerGetBlockHashCall) Return

Return rewrite *gomock.Call.Return

type ChainLedgerGetBlockSignCall

type ChainLedgerGetBlockSignCall struct {
	*gomock.Call
}

ChainLedgerGetBlockSignCall wrap *gomock.Call

func (*ChainLedgerGetBlockSignCall) Do

Do rewrite *gomock.Call.Do

func (*ChainLedgerGetBlockSignCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ChainLedgerGetBlockSignCall) Return

Return rewrite *gomock.Call.Return

type ChainLedgerGetChainMetaCall

type ChainLedgerGetChainMetaCall struct {
	*gomock.Call
}

ChainLedgerGetChainMetaCall wrap *gomock.Call

func (*ChainLedgerGetChainMetaCall) Do

Do rewrite *gomock.Call.Do

func (*ChainLedgerGetChainMetaCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ChainLedgerGetChainMetaCall) Return

Return rewrite *gomock.Call.Return

type ChainLedgerGetReceiptCall

type ChainLedgerGetReceiptCall struct {
	*gomock.Call
}

ChainLedgerGetReceiptCall wrap *gomock.Call

func (*ChainLedgerGetReceiptCall) Do

Do rewrite *gomock.Call.Do

func (*ChainLedgerGetReceiptCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ChainLedgerGetReceiptCall) Return

Return rewrite *gomock.Call.Return

type ChainLedgerGetTransactionCall

type ChainLedgerGetTransactionCall struct {
	*gomock.Call
}

ChainLedgerGetTransactionCall wrap *gomock.Call

func (*ChainLedgerGetTransactionCall) Do

Do rewrite *gomock.Call.Do

func (*ChainLedgerGetTransactionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ChainLedgerGetTransactionCall) Return

Return rewrite *gomock.Call.Return

type ChainLedgerGetTransactionCountCall

type ChainLedgerGetTransactionCountCall struct {
	*gomock.Call
}

ChainLedgerGetTransactionCountCall wrap *gomock.Call

func (*ChainLedgerGetTransactionCountCall) Do

Do rewrite *gomock.Call.Do

func (*ChainLedgerGetTransactionCountCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ChainLedgerGetTransactionCountCall) Return

Return rewrite *gomock.Call.Return

type ChainLedgerGetTransactionMetaCall

type ChainLedgerGetTransactionMetaCall struct {
	*gomock.Call
}

ChainLedgerGetTransactionMetaCall wrap *gomock.Call

func (*ChainLedgerGetTransactionMetaCall) Do

Do rewrite *gomock.Call.Do

func (*ChainLedgerGetTransactionMetaCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ChainLedgerGetTransactionMetaCall) Return

Return rewrite *gomock.Call.Return

type ChainLedgerLoadChainMetaCall

type ChainLedgerLoadChainMetaCall struct {
	*gomock.Call
}

ChainLedgerLoadChainMetaCall wrap *gomock.Call

func (*ChainLedgerLoadChainMetaCall) Do

Do rewrite *gomock.Call.Do

func (*ChainLedgerLoadChainMetaCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ChainLedgerLoadChainMetaCall) Return

Return rewrite *gomock.Call.Return

type ChainLedgerPersistExecutionResultCall

type ChainLedgerPersistExecutionResultCall struct {
	*gomock.Call
}

ChainLedgerPersistExecutionResultCall wrap *gomock.Call

func (*ChainLedgerPersistExecutionResultCall) Do

Do rewrite *gomock.Call.Do

func (*ChainLedgerPersistExecutionResultCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ChainLedgerPersistExecutionResultCall) Return

Return rewrite *gomock.Call.Return

type ChainLedgerRollbackBlockChainCall

type ChainLedgerRollbackBlockChainCall struct {
	*gomock.Call
}

ChainLedgerRollbackBlockChainCall wrap *gomock.Call

func (*ChainLedgerRollbackBlockChainCall) Do

Do rewrite *gomock.Call.Do

func (*ChainLedgerRollbackBlockChainCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ChainLedgerRollbackBlockChainCall) Return

Return rewrite *gomock.Call.Return

type ChainLedgerUpdateChainMetaCall

type ChainLedgerUpdateChainMetaCall struct {
	*gomock.Call
}

ChainLedgerUpdateChainMetaCall wrap *gomock.Call

func (*ChainLedgerUpdateChainMetaCall) Do

Do rewrite *gomock.Call.Do

func (*ChainLedgerUpdateChainMetaCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*ChainLedgerUpdateChainMetaCall) Return

Return rewrite *gomock.Call.Return

type IAccountAddBalanceCall

type IAccountAddBalanceCall struct {
	*gomock.Call
}

IAccountAddBalanceCall wrap *gomock.Call

func (*IAccountAddBalanceCall) Do

Do rewrite *gomock.Call.Do

func (*IAccountAddBalanceCall) DoAndReturn

func (c *IAccountAddBalanceCall) DoAndReturn(f func(*big.Int)) *IAccountAddBalanceCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*IAccountAddBalanceCall) Return

Return rewrite *gomock.Call.Return

type IAccountCodeCall

type IAccountCodeCall struct {
	*gomock.Call
}

IAccountCodeCall wrap *gomock.Call

func (*IAccountCodeCall) Do

func (c *IAccountCodeCall) Do(f func() []byte) *IAccountCodeCall

Do rewrite *gomock.Call.Do

func (*IAccountCodeCall) DoAndReturn

func (c *IAccountCodeCall) DoAndReturn(f func() []byte) *IAccountCodeCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*IAccountCodeCall) Return

func (c *IAccountCodeCall) Return(arg0 []byte) *IAccountCodeCall

Return rewrite *gomock.Call.Return

type IAccountCodeHashCall

type IAccountCodeHashCall struct {
	*gomock.Call
}

IAccountCodeHashCall wrap *gomock.Call

func (*IAccountCodeHashCall) Do

func (c *IAccountCodeHashCall) Do(f func() []byte) *IAccountCodeHashCall

Do rewrite *gomock.Call.Do

func (*IAccountCodeHashCall) DoAndReturn

func (c *IAccountCodeHashCall) DoAndReturn(f func() []byte) *IAccountCodeHashCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*IAccountCodeHashCall) Return

func (c *IAccountCodeHashCall) Return(arg0 []byte) *IAccountCodeHashCall

Return rewrite *gomock.Call.Return

type IAccountFinaliseCall

type IAccountFinaliseCall struct {
	*gomock.Call
}

IAccountFinaliseCall wrap *gomock.Call

func (*IAccountFinaliseCall) Do

func (c *IAccountFinaliseCall) Do(f func()) *IAccountFinaliseCall

Do rewrite *gomock.Call.Do

func (*IAccountFinaliseCall) DoAndReturn

func (c *IAccountFinaliseCall) DoAndReturn(f func()) *IAccountFinaliseCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*IAccountFinaliseCall) Return

Return rewrite *gomock.Call.Return

type IAccountGetAddressCall

type IAccountGetAddressCall struct {
	*gomock.Call
}

IAccountGetAddressCall wrap *gomock.Call

func (*IAccountGetAddressCall) Do

Do rewrite *gomock.Call.Do

func (*IAccountGetAddressCall) DoAndReturn

func (c *IAccountGetAddressCall) DoAndReturn(f func() *types.Address) *IAccountGetAddressCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*IAccountGetAddressCall) Return

Return rewrite *gomock.Call.Return

type IAccountGetBalanceCall

type IAccountGetBalanceCall struct {
	*gomock.Call
}

IAccountGetBalanceCall wrap *gomock.Call

func (*IAccountGetBalanceCall) Do

Do rewrite *gomock.Call.Do

func (*IAccountGetBalanceCall) DoAndReturn

func (c *IAccountGetBalanceCall) DoAndReturn(f func() *big.Int) *IAccountGetBalanceCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*IAccountGetBalanceCall) Return

Return rewrite *gomock.Call.Return

type IAccountGetCommittedStateCall

type IAccountGetCommittedStateCall struct {
	*gomock.Call
}

IAccountGetCommittedStateCall wrap *gomock.Call

func (*IAccountGetCommittedStateCall) Do

Do rewrite *gomock.Call.Do

func (*IAccountGetCommittedStateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*IAccountGetCommittedStateCall) Return

Return rewrite *gomock.Call.Return

type IAccountGetNonceCall

type IAccountGetNonceCall struct {
	*gomock.Call
}

IAccountGetNonceCall wrap *gomock.Call

func (*IAccountGetNonceCall) Do

Do rewrite *gomock.Call.Do

func (*IAccountGetNonceCall) DoAndReturn

func (c *IAccountGetNonceCall) DoAndReturn(f func() uint64) *IAccountGetNonceCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*IAccountGetNonceCall) Return

Return rewrite *gomock.Call.Return

type IAccountGetStateCall

type IAccountGetStateCall struct {
	*gomock.Call
}

IAccountGetStateCall wrap *gomock.Call

func (*IAccountGetStateCall) Do

func (c *IAccountGetStateCall) Do(f func([]byte) (bool, []byte)) *IAccountGetStateCall

Do rewrite *gomock.Call.Do

func (*IAccountGetStateCall) DoAndReturn

func (c *IAccountGetStateCall) DoAndReturn(f func([]byte) (bool, []byte)) *IAccountGetStateCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*IAccountGetStateCall) Return

func (c *IAccountGetStateCall) Return(arg0 bool, arg1 []byte) *IAccountGetStateCall

Return rewrite *gomock.Call.Return

type IAccountIsEmptyCall

type IAccountIsEmptyCall struct {
	*gomock.Call
}

IAccountIsEmptyCall wrap *gomock.Call

func (*IAccountIsEmptyCall) Do

func (c *IAccountIsEmptyCall) Do(f func() bool) *IAccountIsEmptyCall

Do rewrite *gomock.Call.Do

func (*IAccountIsEmptyCall) DoAndReturn

func (c *IAccountIsEmptyCall) DoAndReturn(f func() bool) *IAccountIsEmptyCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*IAccountIsEmptyCall) Return

func (c *IAccountIsEmptyCall) Return(arg0 bool) *IAccountIsEmptyCall

Return rewrite *gomock.Call.Return

type IAccountSetBalanceCall

type IAccountSetBalanceCall struct {
	*gomock.Call
}

IAccountSetBalanceCall wrap *gomock.Call

func (*IAccountSetBalanceCall) Do

Do rewrite *gomock.Call.Do

func (*IAccountSetBalanceCall) DoAndReturn

func (c *IAccountSetBalanceCall) DoAndReturn(f func(*big.Int)) *IAccountSetBalanceCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*IAccountSetBalanceCall) Return

Return rewrite *gomock.Call.Return

type IAccountSetCodeAndHashCall

type IAccountSetCodeAndHashCall struct {
	*gomock.Call
}

IAccountSetCodeAndHashCall wrap *gomock.Call

func (*IAccountSetCodeAndHashCall) Do

Do rewrite *gomock.Call.Do

func (*IAccountSetCodeAndHashCall) DoAndReturn

func (c *IAccountSetCodeAndHashCall) DoAndReturn(f func([]byte)) *IAccountSetCodeAndHashCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*IAccountSetCodeAndHashCall) Return

Return rewrite *gomock.Call.Return

type IAccountSetEnableExpensiveMetricCall

type IAccountSetEnableExpensiveMetricCall struct {
	*gomock.Call
}

IAccountSetEnableExpensiveMetricCall wrap *gomock.Call

func (*IAccountSetEnableExpensiveMetricCall) Do

Do rewrite *gomock.Call.Do

func (*IAccountSetEnableExpensiveMetricCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*IAccountSetEnableExpensiveMetricCall) Return

Return rewrite *gomock.Call.Return

type IAccountSetNonceCall

type IAccountSetNonceCall struct {
	*gomock.Call
}

IAccountSetNonceCall wrap *gomock.Call

func (*IAccountSetNonceCall) Do

Do rewrite *gomock.Call.Do

func (*IAccountSetNonceCall) DoAndReturn

func (c *IAccountSetNonceCall) DoAndReturn(f func(uint64)) *IAccountSetNonceCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*IAccountSetNonceCall) Return

Return rewrite *gomock.Call.Return

type IAccountSetStateCall

type IAccountSetStateCall struct {
	*gomock.Call
}

IAccountSetStateCall wrap *gomock.Call

func (*IAccountSetStateCall) Do

func (c *IAccountSetStateCall) Do(f func([]byte, []byte)) *IAccountSetStateCall

Do rewrite *gomock.Call.Do

func (*IAccountSetStateCall) DoAndReturn

func (c *IAccountSetStateCall) DoAndReturn(f func([]byte, []byte)) *IAccountSetStateCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*IAccountSetStateCall) Return

Return rewrite *gomock.Call.Return

type IAccountSetSuicidedCall

type IAccountSetSuicidedCall struct {
	*gomock.Call
}

IAccountSetSuicidedCall wrap *gomock.Call

func (*IAccountSetSuicidedCall) Do

Do rewrite *gomock.Call.Do

func (*IAccountSetSuicidedCall) DoAndReturn

func (c *IAccountSetSuicidedCall) DoAndReturn(f func(bool)) *IAccountSetSuicidedCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*IAccountSetSuicidedCall) Return

Return rewrite *gomock.Call.Return

type IAccountStringCall

type IAccountStringCall struct {
	*gomock.Call
}

IAccountStringCall wrap *gomock.Call

func (*IAccountStringCall) Do

func (c *IAccountStringCall) Do(f func() string) *IAccountStringCall

Do rewrite *gomock.Call.Do

func (*IAccountStringCall) DoAndReturn

func (c *IAccountStringCall) DoAndReturn(f func() string) *IAccountStringCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*IAccountStringCall) Return

func (c *IAccountStringCall) Return(arg0 string) *IAccountStringCall

Return rewrite *gomock.Call.Return

type IAccountSubBalanceCall

type IAccountSubBalanceCall struct {
	*gomock.Call
}

IAccountSubBalanceCall wrap *gomock.Call

func (*IAccountSubBalanceCall) Do

Do rewrite *gomock.Call.Do

func (*IAccountSubBalanceCall) DoAndReturn

func (c *IAccountSubBalanceCall) DoAndReturn(f func(*big.Int)) *IAccountSubBalanceCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*IAccountSubBalanceCall) Return

Return rewrite *gomock.Call.Return

type IAccountSuicidedCall

type IAccountSuicidedCall struct {
	*gomock.Call
}

IAccountSuicidedCall wrap *gomock.Call

func (*IAccountSuicidedCall) Do

Do rewrite *gomock.Call.Do

func (*IAccountSuicidedCall) DoAndReturn

func (c *IAccountSuicidedCall) DoAndReturn(f func() bool) *IAccountSuicidedCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*IAccountSuicidedCall) Return

Return rewrite *gomock.Call.Return

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) CloseBlockfile

func (m *MockChainLedger) CloseBlockfile()

CloseBlockfile 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) (*types.Block, error)

GetBlock mocks base method.

func (*MockChainLedger) GetBlockByHash

func (m *MockChainLedger) GetBlockByHash(hash *types.Hash) (*types.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) GetBlockTxHashListByNumber added in v0.4.1

func (m *MockChainLedger) GetBlockTxHashListByNumber(height uint64) ([]*types.Hash, error)

func (*MockChainLedger) GetBlockTxListByNumber added in v0.4.1

func (m *MockChainLedger) GetBlockTxListByNumber(height uint64) ([]*types.Transaction, error)

func (*MockChainLedger) GetBlockWithOutTxByHash added in v0.4.1

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

func (*MockChainLedger) GetBlockWithOutTxByNumber added in v0.4.1

func (m *MockChainLedger) GetBlockWithOutTxByNumber(height uint64) (*types.Block, error)

func (*MockChainLedger) GetChainMeta

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

GetChainMeta mocks base method.

func (*MockChainLedger) GetReceipt

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

GetReceipt mocks base method.

func (*MockChainLedger) GetTransaction

func (m *MockChainLedger) GetTransaction(hash *types.Hash) (*types.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) (*types.TransactionMeta, error)

GetTransactionMeta mocks base method.

func (*MockChainLedger) LoadChainMeta

func (m *MockChainLedger) LoadChainMeta() (*types.ChainMeta, error)

LoadChainMeta mocks base method.

func (*MockChainLedger) PersistExecutionResult

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

PersistExecutionResult 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 *types.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) CloseBlockfile

CloseBlockfile indicates an expected call of CloseBlockfile.

func (*MockChainLedgerMockRecorder) GetBlock

GetBlock indicates an expected call of GetBlock.

func (*MockChainLedgerMockRecorder) GetBlockByHash

GetBlockByHash indicates an expected call of GetBlockByHash.

func (*MockChainLedgerMockRecorder) GetBlockHash

GetBlockHash indicates an expected call of GetBlockHash.

func (*MockChainLedgerMockRecorder) GetBlockSign

GetBlockSign indicates an expected call of GetBlockSign.

func (*MockChainLedgerMockRecorder) GetChainMeta

GetChainMeta indicates an expected call of GetChainMeta.

func (*MockChainLedgerMockRecorder) GetReceipt

GetReceipt indicates an expected call of GetReceipt.

func (*MockChainLedgerMockRecorder) GetTransaction

GetTransaction indicates an expected call of GetTransaction.

func (*MockChainLedgerMockRecorder) GetTransactionCount

func (mr *MockChainLedgerMockRecorder) GetTransactionCount(height any) *ChainLedgerGetTransactionCountCall

GetTransactionCount indicates an expected call of GetTransactionCount.

func (*MockChainLedgerMockRecorder) GetTransactionMeta

GetTransactionMeta indicates an expected call of GetTransactionMeta.

func (*MockChainLedgerMockRecorder) LoadChainMeta

LoadChainMeta indicates an expected call of LoadChainMeta.

func (*MockChainLedgerMockRecorder) PersistExecutionResult

func (mr *MockChainLedgerMockRecorder) PersistExecutionResult(block, receipts any) *ChainLedgerPersistExecutionResultCall

PersistExecutionResult indicates an expected call of PersistExecutionResult.

func (*MockChainLedgerMockRecorder) RollbackBlockChain

func (mr *MockChainLedgerMockRecorder) RollbackBlockChain(height any) *ChainLedgerRollbackBlockChainCall

RollbackBlockChain indicates an expected call of RollbackBlockChain.

func (*MockChainLedgerMockRecorder) UpdateChainMeta

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) 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) Finalise

func (m *MockIAccount) Finalise()

Finalise mocks base method.

func (*MockIAccount) GetAddress

func (m *MockIAccount) GetAddress() *types.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) 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) SetEnableExpensiveMetric

func (m *MockIAccount) SetEnableExpensiveMetric(arg0 bool)

SetEnableExpensiveMetric 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) String

func (m *MockIAccount) String() string

String 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 any) *IAccountAddBalanceCall

AddBalance indicates an expected call of AddBalance.

func (*MockIAccountMockRecorder) Code

Code indicates an expected call of Code.

func (*MockIAccountMockRecorder) CodeHash

CodeHash indicates an expected call of CodeHash.

func (*MockIAccountMockRecorder) Finalise

Finalise indicates an expected call of Finalise.

func (*MockIAccountMockRecorder) GetAddress

GetAddress indicates an expected call of GetAddress.

func (*MockIAccountMockRecorder) GetBalance

GetBalance indicates an expected call of GetBalance.

func (*MockIAccountMockRecorder) GetCommittedState

func (mr *MockIAccountMockRecorder) GetCommittedState(key any) *IAccountGetCommittedStateCall

GetCommittedState indicates an expected call of GetCommittedState.

func (*MockIAccountMockRecorder) GetNonce

GetNonce indicates an expected call of GetNonce.

func (*MockIAccountMockRecorder) GetState

GetState indicates an expected call of GetState.

func (*MockIAccountMockRecorder) IsEmpty

IsEmpty indicates an expected call of IsEmpty.

func (*MockIAccountMockRecorder) SetBalance

func (mr *MockIAccountMockRecorder) SetBalance(balance any) *IAccountSetBalanceCall

SetBalance indicates an expected call of SetBalance.

func (*MockIAccountMockRecorder) SetCodeAndHash

func (mr *MockIAccountMockRecorder) SetCodeAndHash(code any) *IAccountSetCodeAndHashCall

SetCodeAndHash indicates an expected call of SetCodeAndHash.

func (*MockIAccountMockRecorder) SetEnableExpensiveMetric

func (mr *MockIAccountMockRecorder) SetEnableExpensiveMetric(arg0 any) *IAccountSetEnableExpensiveMetricCall

SetEnableExpensiveMetric indicates an expected call of SetEnableExpensiveMetric.

func (*MockIAccountMockRecorder) SetNonce

func (mr *MockIAccountMockRecorder) SetNonce(nonce any) *IAccountSetNonceCall

SetNonce indicates an expected call of SetNonce.

func (*MockIAccountMockRecorder) SetState

func (mr *MockIAccountMockRecorder) SetState(key, value any) *IAccountSetStateCall

SetState indicates an expected call of SetState.

func (*MockIAccountMockRecorder) SetSuicided

func (mr *MockIAccountMockRecorder) SetSuicided(arg0 any) *IAccountSetSuicidedCall

SetSuicided indicates an expected call of SetSuicided.

func (*MockIAccountMockRecorder) String

String indicates an expected call of String.

func (*MockIAccountMockRecorder) SubBalance

func (mr *MockIAccountMockRecorder) SubBalance(amount any) *IAccountSubBalanceCall

SubBalance indicates an expected call of SubBalance.

func (*MockIAccountMockRecorder) Suicided

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) Clear

func (m *MockStateAccessor) Clear()

Clear mocks base method.

func (*MockStateAccessor) Commit

func (m *MockStateAccessor) Commit() (*types.Hash, error)

Commit mocks base method.

func (*MockStateAccessor) EXPECT

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

func (*MockStateAccessor) GetAccount

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

GetAccount mocks base method.

func (*MockStateAccessor) GetBalance

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

GetBalance mocks base method.

func (*MockStateAccessor) GetCode

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

GetCode mocks base method.

func (*MockStateAccessor) GetNonce

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

GetNonce mocks base method.

func (*MockStateAccessor) GetOrCreateAccount

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

GetOrCreateAccount mocks base method.

func (*MockStateAccessor) GetState

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

GetState mocks base method.

func (*MockStateAccessor) SetBalance

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

SetBalance mocks base method.

func (*MockStateAccessor) SetCode

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

SetCode mocks base method.

func (*MockStateAccessor) SetNonce

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

SetNonce mocks base method.

func (*MockStateAccessor) SetState

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

SetState mocks base method.

func (*MockStateAccessor) SetTxContext

func (m *MockStateAccessor) SetTxContext(thash *types.Hash, txIndex int)

SetTxContext mocks base method.

type MockStateAccessorMockRecorder

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

MockStateAccessorMockRecorder is the mock recorder for MockStateAccessor.

func (*MockStateAccessorMockRecorder) Clear

Clear indicates an expected call of Clear.

func (*MockStateAccessorMockRecorder) Commit

Commit indicates an expected call of Commit.

func (*MockStateAccessorMockRecorder) GetAccount

GetAccount indicates an expected call of GetAccount.

func (*MockStateAccessorMockRecorder) GetBalance

GetBalance indicates an expected call of GetBalance.

func (*MockStateAccessorMockRecorder) GetCode

GetCode indicates an expected call of GetCode.

func (*MockStateAccessorMockRecorder) GetNonce

GetNonce indicates an expected call of GetNonce.

func (*MockStateAccessorMockRecorder) GetOrCreateAccount

GetOrCreateAccount indicates an expected call of GetOrCreateAccount.

func (*MockStateAccessorMockRecorder) GetState

GetState indicates an expected call of GetState.

func (*MockStateAccessorMockRecorder) SetBalance

SetBalance indicates an expected call of SetBalance.

func (*MockStateAccessorMockRecorder) SetCode

SetCode indicates an expected call of SetCode.

func (*MockStateAccessorMockRecorder) SetNonce

SetNonce indicates an expected call of SetNonce.

func (*MockStateAccessorMockRecorder) SetState

func (mr *MockStateAccessorMockRecorder) SetState(arg0, arg1, arg2 any) *StateAccessorSetStateCall

SetState indicates an expected call of SetState.

func (*MockStateAccessorMockRecorder) SetTxContext

func (mr *MockStateAccessorMockRecorder) SetTxContext(thash, txIndex any) *StateAccessorSetTxContextCall

SetTxContext indicates an expected call of SetTxContext.

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 *types0.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) AddLog

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

AddLog mocks base method.

func (*MockStateLedger) AddSlotToEVMAccessList

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

AddSlotToEVMAccessList 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() (*types.Hash, error)

Commit 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) ExistEVM

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

ExistEVM mocks base method.

func (*MockStateLedger) Finalise

func (m *MockStateLedger) Finalise()

Finalise mocks base method.

func (*MockStateLedger) GetAccount

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

GetAccount mocks base method.

func (*MockStateLedger) GetBalance

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

GetBalance mocks base method.

func (*MockStateLedger) GetCode

func (m *MockStateLedger) GetCode(arg0 *types.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) GetEVMTransientState

func (m *MockStateLedger) GetEVMTransientState(addr common.Address, key common.Hash) common.Hash

GetEVMTransientState mocks base method.

func (*MockStateLedger) GetLogs

func (m *MockStateLedger) GetLogs(arg0 types.Hash, arg1 uint64, arg2 *types.Hash) []*types.EvmLog

GetLogs mocks base method.

func (*MockStateLedger) GetNonce

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

GetNonce mocks base method.

func (*MockStateLedger) GetOrCreateAccount

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

GetOrCreateAccount mocks base method.

func (*MockStateLedger) GetState

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

GetState mocks base method.

func (*MockStateLedger) HasSuicideEVM

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

HasSuicideEVM mocks base method.

func (*MockStateLedger) NewView

func (m *MockStateLedger) NewView(block *types.Block) ledger.StateLedger

NewView mocks base method.

func (*MockStateLedger) NewViewWithoutCache

func (m *MockStateLedger) NewViewWithoutCache(blockHeader *types.BlockHeader) ledger.StateLedger

NewViewWithoutCache mocks base method.

func (*MockStateLedger) PrepareBlock

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

PrepareBlock mocks base method.

func (*MockStateLedger) PrepareEVM

func (m *MockStateLedger) PrepareEVM(rules params.Rules, sender, coinbase common.Address, dest *common.Address, precompiles []common.Address, txAccesses types0.AccessList)

PrepareEVM 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, lastStateRoot *types.Hash) error

RollbackState mocks base method.

func (*MockStateLedger) SetBalance

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

SetBalance mocks base method.

func (*MockStateLedger) SetCode

func (m *MockStateLedger) SetCode(arg0 *types.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) SetEVMTransientState

func (m *MockStateLedger) SetEVMTransientState(addr common.Address, key, value common.Hash)

SetEVMTransientState mocks base method.

func (*MockStateLedger) SetNonce

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

SetNonce mocks base method.

func (*MockStateLedger) SetState

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

SetState mocks base method.

func (*MockStateLedger) SetTxContext

func (m *MockStateLedger) SetTxContext(thash *types.Hash, txIndex int)

SetTxContext 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) SuicideEVM

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

SuicideEVM 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 any) *StateLedgerAddAddressToEVMAccessListCall

AddAddressToEVMAccessList indicates an expected call of AddAddressToEVMAccessList.

func (*MockStateLedgerMockRecorder) AddEVMBalance

func (mr *MockStateLedgerMockRecorder) AddEVMBalance(arg0, arg1 any) *StateLedgerAddEVMBalanceCall

AddEVMBalance indicates an expected call of AddEVMBalance.

func (*MockStateLedgerMockRecorder) AddEVMLog

AddEVMLog indicates an expected call of AddEVMLog.

func (*MockStateLedgerMockRecorder) AddEVMPreimage

func (mr *MockStateLedgerMockRecorder) AddEVMPreimage(arg0, arg1 any) *StateLedgerAddEVMPreimageCall

AddEVMPreimage indicates an expected call of AddEVMPreimage.

func (*MockStateLedgerMockRecorder) AddEVMRefund

AddEVMRefund indicates an expected call of AddEVMRefund.

func (*MockStateLedgerMockRecorder) AddLog

AddLog indicates an expected call of AddLog.

func (*MockStateLedgerMockRecorder) AddSlotToEVMAccessList

func (mr *MockStateLedgerMockRecorder) AddSlotToEVMAccessList(addr, slot any) *StateLedgerAddSlotToEVMAccessListCall

AddSlotToEVMAccessList indicates an expected call of AddSlotToEVMAccessList.

func (*MockStateLedgerMockRecorder) AddressInEVMAccessList

func (mr *MockStateLedgerMockRecorder) AddressInEVMAccessList(addr any) *StateLedgerAddressInEVMAccessListCall

AddressInEVMAccessList indicates an expected call of AddressInEVMAccessList.

func (*MockStateLedgerMockRecorder) Clear

Clear indicates an expected call of Clear.

func (*MockStateLedgerMockRecorder) ClearChangerAndRefund

ClearChangerAndRefund indicates an expected call of ClearChangerAndRefund.

func (*MockStateLedgerMockRecorder) Close

Close indicates an expected call of Close.

func (*MockStateLedgerMockRecorder) Commit

Commit indicates an expected call of Commit.

func (*MockStateLedgerMockRecorder) CreateEVMAccount

CreateEVMAccount indicates an expected call of CreateEVMAccount.

func (*MockStateLedgerMockRecorder) EmptyEVM

EmptyEVM indicates an expected call of EmptyEVM.

func (*MockStateLedgerMockRecorder) ExistEVM

ExistEVM indicates an expected call of ExistEVM.

func (*MockStateLedgerMockRecorder) Finalise

Finalise indicates an expected call of Finalise.

func (*MockStateLedgerMockRecorder) GetAccount

GetAccount indicates an expected call of GetAccount.

func (*MockStateLedgerMockRecorder) GetBalance

GetBalance indicates an expected call of GetBalance.

func (*MockStateLedgerMockRecorder) GetCode

GetCode indicates an expected call of GetCode.

func (*MockStateLedgerMockRecorder) GetEVMBalance

GetEVMBalance indicates an expected call of GetEVMBalance.

func (*MockStateLedgerMockRecorder) GetEVMCode

GetEVMCode indicates an expected call of GetEVMCode.

func (*MockStateLedgerMockRecorder) GetEVMCodeHash

GetEVMCodeHash indicates an expected call of GetEVMCodeHash.

func (*MockStateLedgerMockRecorder) GetEVMCodeSize

GetEVMCodeSize indicates an expected call of GetEVMCodeSize.

func (*MockStateLedgerMockRecorder) GetEVMCommittedState

func (mr *MockStateLedgerMockRecorder) GetEVMCommittedState(arg0, arg1 any) *StateLedgerGetEVMCommittedStateCall

GetEVMCommittedState indicates an expected call of GetEVMCommittedState.

func (*MockStateLedgerMockRecorder) GetEVMNonce

GetEVMNonce indicates an expected call of GetEVMNonce.

func (*MockStateLedgerMockRecorder) GetEVMRefund

GetEVMRefund indicates an expected call of GetEVMRefund.

func (*MockStateLedgerMockRecorder) GetEVMState

func (mr *MockStateLedgerMockRecorder) GetEVMState(arg0, arg1 any) *StateLedgerGetEVMStateCall

GetEVMState indicates an expected call of GetEVMState.

func (*MockStateLedgerMockRecorder) GetEVMTransientState

func (mr *MockStateLedgerMockRecorder) GetEVMTransientState(addr, key any) *StateLedgerGetEVMTransientStateCall

GetEVMTransientState indicates an expected call of GetEVMTransientState.

func (*MockStateLedgerMockRecorder) GetLogs

func (mr *MockStateLedgerMockRecorder) GetLogs(arg0, arg1, arg2 any) *StateLedgerGetLogsCall

GetLogs indicates an expected call of GetLogs.

func (*MockStateLedgerMockRecorder) GetNonce

GetNonce indicates an expected call of GetNonce.

func (*MockStateLedgerMockRecorder) GetOrCreateAccount

GetOrCreateAccount indicates an expected call of GetOrCreateAccount.

func (*MockStateLedgerMockRecorder) GetState

func (mr *MockStateLedgerMockRecorder) GetState(arg0, arg1 any) *StateLedgerGetStateCall

GetState indicates an expected call of GetState.

func (*MockStateLedgerMockRecorder) HasSuicideEVM

HasSuicideEVM indicates an expected call of HasSuicideEVM.

func (*MockStateLedgerMockRecorder) NewView

NewView indicates an expected call of NewView.

func (*MockStateLedgerMockRecorder) NewViewWithoutCache

func (mr *MockStateLedgerMockRecorder) NewViewWithoutCache(block any) *StateLedgerNewViewWithoutCacheCall

NewViewWithoutCache indicates an expected call of NewViewWithoutCache.

func (*MockStateLedgerMockRecorder) PrepareBlock

func (mr *MockStateLedgerMockRecorder) PrepareBlock(arg0, arg1, arg2 any) *StateLedgerPrepareBlockCall

PrepareBlock indicates an expected call of PrepareBlock.

func (*MockStateLedgerMockRecorder) PrepareEVM

func (mr *MockStateLedgerMockRecorder) PrepareEVM(rules, sender, coinbase, dest, precompiles, txAccesses any) *StateLedgerPrepareEVMCall

PrepareEVM indicates an expected call of PrepareEVM.

func (*MockStateLedgerMockRecorder) RevertToSnapshot

RevertToSnapshot indicates an expected call of RevertToSnapshot.

func (*MockStateLedgerMockRecorder) RollbackState

func (mr *MockStateLedgerMockRecorder) RollbackState(height, lastStateRoot any) *StateLedgerRollbackStateCall

RollbackState indicates an expected call of RollbackState.

func (*MockStateLedgerMockRecorder) SetBalance

func (mr *MockStateLedgerMockRecorder) SetBalance(arg0, arg1 any) *StateLedgerSetBalanceCall

SetBalance indicates an expected call of SetBalance.

func (*MockStateLedgerMockRecorder) SetCode

func (mr *MockStateLedgerMockRecorder) SetCode(arg0, arg1 any) *StateLedgerSetCodeCall

SetCode indicates an expected call of SetCode.

func (*MockStateLedgerMockRecorder) SetEVMCode

func (mr *MockStateLedgerMockRecorder) SetEVMCode(arg0, arg1 any) *StateLedgerSetEVMCodeCall

SetEVMCode indicates an expected call of SetEVMCode.

func (*MockStateLedgerMockRecorder) SetEVMNonce

func (mr *MockStateLedgerMockRecorder) SetEVMNonce(arg0, arg1 any) *StateLedgerSetEVMNonceCall

SetEVMNonce indicates an expected call of SetEVMNonce.

func (*MockStateLedgerMockRecorder) SetEVMState

func (mr *MockStateLedgerMockRecorder) SetEVMState(arg0, arg1, arg2 any) *StateLedgerSetEVMStateCall

SetEVMState indicates an expected call of SetEVMState.

func (*MockStateLedgerMockRecorder) SetEVMTransientState

func (mr *MockStateLedgerMockRecorder) SetEVMTransientState(addr, key, value any) *StateLedgerSetEVMTransientStateCall

SetEVMTransientState indicates an expected call of SetEVMTransientState.

func (*MockStateLedgerMockRecorder) SetNonce

func (mr *MockStateLedgerMockRecorder) SetNonce(arg0, arg1 any) *StateLedgerSetNonceCall

SetNonce indicates an expected call of SetNonce.

func (*MockStateLedgerMockRecorder) SetState

func (mr *MockStateLedgerMockRecorder) SetState(arg0, arg1, arg2 any) *StateLedgerSetStateCall

SetState indicates an expected call of SetState.

func (*MockStateLedgerMockRecorder) SetTxContext

func (mr *MockStateLedgerMockRecorder) SetTxContext(thash, txIndex any) *StateLedgerSetTxContextCall

SetTxContext indicates an expected call of SetTxContext.

func (*MockStateLedgerMockRecorder) SlotInEVMAceessList

func (mr *MockStateLedgerMockRecorder) SlotInEVMAceessList(addr, slot any) *StateLedgerSlotInEVMAceessListCall

SlotInEVMAceessList indicates an expected call of SlotInEVMAceessList.

func (*MockStateLedgerMockRecorder) Snapshot

Snapshot indicates an expected call of Snapshot.

func (*MockStateLedgerMockRecorder) SubEVMBalance

func (mr *MockStateLedgerMockRecorder) SubEVMBalance(arg0, arg1 any) *StateLedgerSubEVMBalanceCall

SubEVMBalance indicates an expected call of SubEVMBalance.

func (*MockStateLedgerMockRecorder) SubEVMRefund

SubEVMRefund indicates an expected call of SubEVMRefund.

func (*MockStateLedgerMockRecorder) SuicideEVM

SuicideEVM indicates an expected call of SuicideEVM.

func (*MockStateLedgerMockRecorder) Version

Version indicates an expected call of Version.

type StateAccessorClearCall

type StateAccessorClearCall struct {
	*gomock.Call
}

StateAccessorClearCall wrap *gomock.Call

func (*StateAccessorClearCall) Do

Do rewrite *gomock.Call.Do

func (*StateAccessorClearCall) DoAndReturn

func (c *StateAccessorClearCall) DoAndReturn(f func()) *StateAccessorClearCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateAccessorClearCall) Return

Return rewrite *gomock.Call.Return

type StateAccessorCommitCall

type StateAccessorCommitCall struct {
	*gomock.Call
}

StateAccessorCommitCall wrap *gomock.Call

func (*StateAccessorCommitCall) Do

Do rewrite *gomock.Call.Do

func (*StateAccessorCommitCall) DoAndReturn

func (c *StateAccessorCommitCall) DoAndReturn(f func() (*types.Hash, error)) *StateAccessorCommitCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateAccessorCommitCall) Return

Return rewrite *gomock.Call.Return

type StateAccessorGetAccountCall

type StateAccessorGetAccountCall struct {
	*gomock.Call
}

StateAccessorGetAccountCall wrap *gomock.Call

func (*StateAccessorGetAccountCall) Do

Do rewrite *gomock.Call.Do

func (*StateAccessorGetAccountCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateAccessorGetAccountCall) Return

Return rewrite *gomock.Call.Return

type StateAccessorGetBalanceCall

type StateAccessorGetBalanceCall struct {
	*gomock.Call
}

StateAccessorGetBalanceCall wrap *gomock.Call

func (*StateAccessorGetBalanceCall) Do

Do rewrite *gomock.Call.Do

func (*StateAccessorGetBalanceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateAccessorGetBalanceCall) Return

Return rewrite *gomock.Call.Return

type StateAccessorGetCodeCall

type StateAccessorGetCodeCall struct {
	*gomock.Call
}

StateAccessorGetCodeCall wrap *gomock.Call

func (*StateAccessorGetCodeCall) Do

Do rewrite *gomock.Call.Do

func (*StateAccessorGetCodeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateAccessorGetCodeCall) Return

Return rewrite *gomock.Call.Return

type StateAccessorGetNonceCall

type StateAccessorGetNonceCall struct {
	*gomock.Call
}

StateAccessorGetNonceCall wrap *gomock.Call

func (*StateAccessorGetNonceCall) Do

Do rewrite *gomock.Call.Do

func (*StateAccessorGetNonceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateAccessorGetNonceCall) Return

Return rewrite *gomock.Call.Return

type StateAccessorGetOrCreateAccountCall

type StateAccessorGetOrCreateAccountCall struct {
	*gomock.Call
}

StateAccessorGetOrCreateAccountCall wrap *gomock.Call

func (*StateAccessorGetOrCreateAccountCall) Do

Do rewrite *gomock.Call.Do

func (*StateAccessorGetOrCreateAccountCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateAccessorGetOrCreateAccountCall) Return

Return rewrite *gomock.Call.Return

type StateAccessorGetStateCall

type StateAccessorGetStateCall struct {
	*gomock.Call
}

StateAccessorGetStateCall wrap *gomock.Call

func (*StateAccessorGetStateCall) Do

Do rewrite *gomock.Call.Do

func (*StateAccessorGetStateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateAccessorGetStateCall) Return

Return rewrite *gomock.Call.Return

type StateAccessorSetBalanceCall

type StateAccessorSetBalanceCall struct {
	*gomock.Call
}

StateAccessorSetBalanceCall wrap *gomock.Call

func (*StateAccessorSetBalanceCall) Do

Do rewrite *gomock.Call.Do

func (*StateAccessorSetBalanceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateAccessorSetBalanceCall) Return

Return rewrite *gomock.Call.Return

type StateAccessorSetCodeCall

type StateAccessorSetCodeCall struct {
	*gomock.Call
}

StateAccessorSetCodeCall wrap *gomock.Call

func (*StateAccessorSetCodeCall) Do

Do rewrite *gomock.Call.Do

func (*StateAccessorSetCodeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateAccessorSetCodeCall) Return

Return rewrite *gomock.Call.Return

type StateAccessorSetNonceCall

type StateAccessorSetNonceCall struct {
	*gomock.Call
}

StateAccessorSetNonceCall wrap *gomock.Call

func (*StateAccessorSetNonceCall) Do

Do rewrite *gomock.Call.Do

func (*StateAccessorSetNonceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateAccessorSetNonceCall) Return

Return rewrite *gomock.Call.Return

type StateAccessorSetStateCall

type StateAccessorSetStateCall struct {
	*gomock.Call
}

StateAccessorSetStateCall wrap *gomock.Call

func (*StateAccessorSetStateCall) Do

Do rewrite *gomock.Call.Do

func (*StateAccessorSetStateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateAccessorSetStateCall) Return

Return rewrite *gomock.Call.Return

type StateAccessorSetTxContextCall

type StateAccessorSetTxContextCall struct {
	*gomock.Call
}

StateAccessorSetTxContextCall wrap *gomock.Call

func (*StateAccessorSetTxContextCall) Do

Do rewrite *gomock.Call.Do

func (*StateAccessorSetTxContextCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateAccessorSetTxContextCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerAddAddressToEVMAccessListCall

type StateLedgerAddAddressToEVMAccessListCall struct {
	*gomock.Call
}

StateLedgerAddAddressToEVMAccessListCall wrap *gomock.Call

func (*StateLedgerAddAddressToEVMAccessListCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerAddAddressToEVMAccessListCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerAddAddressToEVMAccessListCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerAddEVMBalanceCall

type StateLedgerAddEVMBalanceCall struct {
	*gomock.Call
}

StateLedgerAddEVMBalanceCall wrap *gomock.Call

func (*StateLedgerAddEVMBalanceCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerAddEVMBalanceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerAddEVMBalanceCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerAddEVMLogCall

type StateLedgerAddEVMLogCall struct {
	*gomock.Call
}

StateLedgerAddEVMLogCall wrap *gomock.Call

func (*StateLedgerAddEVMLogCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerAddEVMLogCall) DoAndReturn

func (c *StateLedgerAddEVMLogCall) DoAndReturn(f func(*types0.Log)) *StateLedgerAddEVMLogCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerAddEVMLogCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerAddEVMPreimageCall

type StateLedgerAddEVMPreimageCall struct {
	*gomock.Call
}

StateLedgerAddEVMPreimageCall wrap *gomock.Call

func (*StateLedgerAddEVMPreimageCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerAddEVMPreimageCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerAddEVMPreimageCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerAddEVMRefundCall

type StateLedgerAddEVMRefundCall struct {
	*gomock.Call
}

StateLedgerAddEVMRefundCall wrap *gomock.Call

func (*StateLedgerAddEVMRefundCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerAddEVMRefundCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerAddEVMRefundCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerAddLogCall

type StateLedgerAddLogCall struct {
	*gomock.Call
}

StateLedgerAddLogCall wrap *gomock.Call

func (*StateLedgerAddLogCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerAddLogCall) DoAndReturn

func (c *StateLedgerAddLogCall) DoAndReturn(f func(*types.EvmLog)) *StateLedgerAddLogCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerAddLogCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerAddSlotToEVMAccessListCall

type StateLedgerAddSlotToEVMAccessListCall struct {
	*gomock.Call
}

StateLedgerAddSlotToEVMAccessListCall wrap *gomock.Call

func (*StateLedgerAddSlotToEVMAccessListCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerAddSlotToEVMAccessListCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerAddSlotToEVMAccessListCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerAddressInEVMAccessListCall

type StateLedgerAddressInEVMAccessListCall struct {
	*gomock.Call
}

StateLedgerAddressInEVMAccessListCall wrap *gomock.Call

func (*StateLedgerAddressInEVMAccessListCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerAddressInEVMAccessListCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerAddressInEVMAccessListCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerClearCall

type StateLedgerClearCall struct {
	*gomock.Call
}

StateLedgerClearCall wrap *gomock.Call

func (*StateLedgerClearCall) Do

func (c *StateLedgerClearCall) Do(f func()) *StateLedgerClearCall

Do rewrite *gomock.Call.Do

func (*StateLedgerClearCall) DoAndReturn

func (c *StateLedgerClearCall) DoAndReturn(f func()) *StateLedgerClearCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerClearCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerClearChangerAndRefundCall

type StateLedgerClearChangerAndRefundCall struct {
	*gomock.Call
}

StateLedgerClearChangerAndRefundCall wrap *gomock.Call

func (*StateLedgerClearChangerAndRefundCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerClearChangerAndRefundCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerClearChangerAndRefundCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerCloseCall

type StateLedgerCloseCall struct {
	*gomock.Call
}

StateLedgerCloseCall wrap *gomock.Call

func (*StateLedgerCloseCall) Do

func (c *StateLedgerCloseCall) Do(f func()) *StateLedgerCloseCall

Do rewrite *gomock.Call.Do

func (*StateLedgerCloseCall) DoAndReturn

func (c *StateLedgerCloseCall) DoAndReturn(f func()) *StateLedgerCloseCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerCloseCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerCommitCall

type StateLedgerCommitCall struct {
	*gomock.Call
}

StateLedgerCommitCall wrap *gomock.Call

func (*StateLedgerCommitCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerCommitCall) DoAndReturn

func (c *StateLedgerCommitCall) DoAndReturn(f func() (*types.Hash, error)) *StateLedgerCommitCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerCommitCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerCreateEVMAccountCall

type StateLedgerCreateEVMAccountCall struct {
	*gomock.Call
}

StateLedgerCreateEVMAccountCall wrap *gomock.Call

func (*StateLedgerCreateEVMAccountCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerCreateEVMAccountCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerCreateEVMAccountCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerEmptyEVMCall

type StateLedgerEmptyEVMCall struct {
	*gomock.Call
}

StateLedgerEmptyEVMCall wrap *gomock.Call

func (*StateLedgerEmptyEVMCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerEmptyEVMCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerEmptyEVMCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerExistEVMCall

type StateLedgerExistEVMCall struct {
	*gomock.Call
}

StateLedgerExistEVMCall wrap *gomock.Call

func (*StateLedgerExistEVMCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerExistEVMCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerExistEVMCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerFinaliseCall

type StateLedgerFinaliseCall struct {
	*gomock.Call
}

StateLedgerFinaliseCall wrap *gomock.Call

func (*StateLedgerFinaliseCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerFinaliseCall) DoAndReturn

func (c *StateLedgerFinaliseCall) DoAndReturn(f func()) *StateLedgerFinaliseCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerFinaliseCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerGetAccountCall

type StateLedgerGetAccountCall struct {
	*gomock.Call
}

StateLedgerGetAccountCall wrap *gomock.Call

func (*StateLedgerGetAccountCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerGetAccountCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerGetAccountCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerGetBalanceCall

type StateLedgerGetBalanceCall struct {
	*gomock.Call
}

StateLedgerGetBalanceCall wrap *gomock.Call

func (*StateLedgerGetBalanceCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerGetBalanceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerGetBalanceCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerGetCodeCall

type StateLedgerGetCodeCall struct {
	*gomock.Call
}

StateLedgerGetCodeCall wrap *gomock.Call

func (*StateLedgerGetCodeCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerGetCodeCall) DoAndReturn

func (c *StateLedgerGetCodeCall) DoAndReturn(f func(*types.Address) []byte) *StateLedgerGetCodeCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerGetCodeCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerGetEVMBalanceCall

type StateLedgerGetEVMBalanceCall struct {
	*gomock.Call
}

StateLedgerGetEVMBalanceCall wrap *gomock.Call

func (*StateLedgerGetEVMBalanceCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerGetEVMBalanceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerGetEVMBalanceCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerGetEVMCodeCall

type StateLedgerGetEVMCodeCall struct {
	*gomock.Call
}

StateLedgerGetEVMCodeCall wrap *gomock.Call

func (*StateLedgerGetEVMCodeCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerGetEVMCodeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerGetEVMCodeCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerGetEVMCodeHashCall

type StateLedgerGetEVMCodeHashCall struct {
	*gomock.Call
}

StateLedgerGetEVMCodeHashCall wrap *gomock.Call

func (*StateLedgerGetEVMCodeHashCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerGetEVMCodeHashCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerGetEVMCodeHashCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerGetEVMCodeSizeCall

type StateLedgerGetEVMCodeSizeCall struct {
	*gomock.Call
}

StateLedgerGetEVMCodeSizeCall wrap *gomock.Call

func (*StateLedgerGetEVMCodeSizeCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerGetEVMCodeSizeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerGetEVMCodeSizeCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerGetEVMCommittedStateCall

type StateLedgerGetEVMCommittedStateCall struct {
	*gomock.Call
}

StateLedgerGetEVMCommittedStateCall wrap *gomock.Call

func (*StateLedgerGetEVMCommittedStateCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerGetEVMCommittedStateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerGetEVMCommittedStateCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerGetEVMNonceCall

type StateLedgerGetEVMNonceCall struct {
	*gomock.Call
}

StateLedgerGetEVMNonceCall wrap *gomock.Call

func (*StateLedgerGetEVMNonceCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerGetEVMNonceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerGetEVMNonceCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerGetEVMRefundCall

type StateLedgerGetEVMRefundCall struct {
	*gomock.Call
}

StateLedgerGetEVMRefundCall wrap *gomock.Call

func (*StateLedgerGetEVMRefundCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerGetEVMRefundCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerGetEVMRefundCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerGetEVMStateCall

type StateLedgerGetEVMStateCall struct {
	*gomock.Call
}

StateLedgerGetEVMStateCall wrap *gomock.Call

func (*StateLedgerGetEVMStateCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerGetEVMStateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerGetEVMStateCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerGetEVMTransientStateCall

type StateLedgerGetEVMTransientStateCall struct {
	*gomock.Call
}

StateLedgerGetEVMTransientStateCall wrap *gomock.Call

func (*StateLedgerGetEVMTransientStateCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerGetEVMTransientStateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerGetEVMTransientStateCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerGetLogsCall

type StateLedgerGetLogsCall struct {
	*gomock.Call
}

StateLedgerGetLogsCall wrap *gomock.Call

func (*StateLedgerGetLogsCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerGetLogsCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerGetLogsCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerGetNonceCall

type StateLedgerGetNonceCall struct {
	*gomock.Call
}

StateLedgerGetNonceCall wrap *gomock.Call

func (*StateLedgerGetNonceCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerGetNonceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerGetNonceCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerGetOrCreateAccountCall

type StateLedgerGetOrCreateAccountCall struct {
	*gomock.Call
}

StateLedgerGetOrCreateAccountCall wrap *gomock.Call

func (*StateLedgerGetOrCreateAccountCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerGetOrCreateAccountCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerGetOrCreateAccountCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerGetStateCall

type StateLedgerGetStateCall struct {
	*gomock.Call
}

StateLedgerGetStateCall wrap *gomock.Call

func (*StateLedgerGetStateCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerGetStateCall) DoAndReturn

func (c *StateLedgerGetStateCall) DoAndReturn(f func(*types.Address, []byte) (bool, []byte)) *StateLedgerGetStateCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerGetStateCall) Return

func (c *StateLedgerGetStateCall) Return(arg0 bool, arg1 []byte) *StateLedgerGetStateCall

Return rewrite *gomock.Call.Return

type StateLedgerHasSuicideEVMCall

type StateLedgerHasSuicideEVMCall struct {
	*gomock.Call
}

StateLedgerHasSuicideEVMCall wrap *gomock.Call

func (*StateLedgerHasSuicideEVMCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerHasSuicideEVMCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerHasSuicideEVMCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerNewViewCall

type StateLedgerNewViewCall struct {
	*gomock.Call
}

StateLedgerNewViewCall wrap *gomock.Call

func (*StateLedgerNewViewCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerNewViewCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerNewViewCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerNewViewWithoutCacheCall

type StateLedgerNewViewWithoutCacheCall struct {
	*gomock.Call
}

StateLedgerNewViewWithoutCacheCall wrap *gomock.Call

func (*StateLedgerNewViewWithoutCacheCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerNewViewWithoutCacheCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerNewViewWithoutCacheCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerPrepareBlockCall

type StateLedgerPrepareBlockCall struct {
	*gomock.Call
}

StateLedgerPrepareBlockCall wrap *gomock.Call

func (*StateLedgerPrepareBlockCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerPrepareBlockCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerPrepareBlockCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerPrepareEVMCall

type StateLedgerPrepareEVMCall struct {
	*gomock.Call
}

StateLedgerPrepareEVMCall wrap *gomock.Call

func (*StateLedgerPrepareEVMCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerPrepareEVMCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerPrepareEVMCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerRevertToSnapshotCall

type StateLedgerRevertToSnapshotCall struct {
	*gomock.Call
}

StateLedgerRevertToSnapshotCall wrap *gomock.Call

func (*StateLedgerRevertToSnapshotCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerRevertToSnapshotCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerRevertToSnapshotCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerRollbackStateCall

type StateLedgerRollbackStateCall struct {
	*gomock.Call
}

StateLedgerRollbackStateCall wrap *gomock.Call

func (*StateLedgerRollbackStateCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerRollbackStateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerRollbackStateCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerSetBalanceCall

type StateLedgerSetBalanceCall struct {
	*gomock.Call
}

StateLedgerSetBalanceCall wrap *gomock.Call

func (*StateLedgerSetBalanceCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerSetBalanceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerSetBalanceCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerSetCodeCall

type StateLedgerSetCodeCall struct {
	*gomock.Call
}

StateLedgerSetCodeCall wrap *gomock.Call

func (*StateLedgerSetCodeCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerSetCodeCall) DoAndReturn

func (c *StateLedgerSetCodeCall) DoAndReturn(f func(*types.Address, []byte)) *StateLedgerSetCodeCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerSetCodeCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerSetEVMCodeCall

type StateLedgerSetEVMCodeCall struct {
	*gomock.Call
}

StateLedgerSetEVMCodeCall wrap *gomock.Call

func (*StateLedgerSetEVMCodeCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerSetEVMCodeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerSetEVMCodeCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerSetEVMNonceCall

type StateLedgerSetEVMNonceCall struct {
	*gomock.Call
}

StateLedgerSetEVMNonceCall wrap *gomock.Call

func (*StateLedgerSetEVMNonceCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerSetEVMNonceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerSetEVMNonceCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerSetEVMStateCall

type StateLedgerSetEVMStateCall struct {
	*gomock.Call
}

StateLedgerSetEVMStateCall wrap *gomock.Call

func (*StateLedgerSetEVMStateCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerSetEVMStateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerSetEVMStateCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerSetEVMTransientStateCall

type StateLedgerSetEVMTransientStateCall struct {
	*gomock.Call
}

StateLedgerSetEVMTransientStateCall wrap *gomock.Call

func (*StateLedgerSetEVMTransientStateCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerSetEVMTransientStateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerSetEVMTransientStateCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerSetNonceCall

type StateLedgerSetNonceCall struct {
	*gomock.Call
}

StateLedgerSetNonceCall wrap *gomock.Call

func (*StateLedgerSetNonceCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerSetNonceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerSetNonceCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerSetStateCall

type StateLedgerSetStateCall struct {
	*gomock.Call
}

StateLedgerSetStateCall wrap *gomock.Call

func (*StateLedgerSetStateCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerSetStateCall) DoAndReturn

func (c *StateLedgerSetStateCall) DoAndReturn(f func(*types.Address, []byte, []byte)) *StateLedgerSetStateCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerSetStateCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerSetTxContextCall

type StateLedgerSetTxContextCall struct {
	*gomock.Call
}

StateLedgerSetTxContextCall wrap *gomock.Call

func (*StateLedgerSetTxContextCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerSetTxContextCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerSetTxContextCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerSlotInEVMAceessListCall

type StateLedgerSlotInEVMAceessListCall struct {
	*gomock.Call
}

StateLedgerSlotInEVMAceessListCall wrap *gomock.Call

func (*StateLedgerSlotInEVMAceessListCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerSlotInEVMAceessListCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerSlotInEVMAceessListCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerSnapshotCall

type StateLedgerSnapshotCall struct {
	*gomock.Call
}

StateLedgerSnapshotCall wrap *gomock.Call

func (*StateLedgerSnapshotCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerSnapshotCall) DoAndReturn

func (c *StateLedgerSnapshotCall) DoAndReturn(f func() int) *StateLedgerSnapshotCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerSnapshotCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerSubEVMBalanceCall

type StateLedgerSubEVMBalanceCall struct {
	*gomock.Call
}

StateLedgerSubEVMBalanceCall wrap *gomock.Call

func (*StateLedgerSubEVMBalanceCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerSubEVMBalanceCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerSubEVMBalanceCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerSubEVMRefundCall

type StateLedgerSubEVMRefundCall struct {
	*gomock.Call
}

StateLedgerSubEVMRefundCall wrap *gomock.Call

func (*StateLedgerSubEVMRefundCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerSubEVMRefundCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerSubEVMRefundCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerSuicideEVMCall

type StateLedgerSuicideEVMCall struct {
	*gomock.Call
}

StateLedgerSuicideEVMCall wrap *gomock.Call

func (*StateLedgerSuicideEVMCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerSuicideEVMCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerSuicideEVMCall) Return

Return rewrite *gomock.Call.Return

type StateLedgerVersionCall

type StateLedgerVersionCall struct {
	*gomock.Call
}

StateLedgerVersionCall wrap *gomock.Call

func (*StateLedgerVersionCall) Do

Do rewrite *gomock.Call.Do

func (*StateLedgerVersionCall) DoAndReturn

func (c *StateLedgerVersionCall) DoAndReturn(f func() uint64) *StateLedgerVersionCall

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*StateLedgerVersionCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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