Documentation ¶
Overview ¶
Package mock_ledger is a generated GoMock package.
Index ¶
- type ChainLedgerCloseBlockfileCall
- type ChainLedgerCloseCall
- type ChainLedgerGetBlockByHashCall
- func (c *ChainLedgerGetBlockByHashCall) Do(f func(*types.Hash) (*types.Block, error)) *ChainLedgerGetBlockByHashCall
- func (c *ChainLedgerGetBlockByHashCall) DoAndReturn(f func(*types.Hash) (*types.Block, error)) *ChainLedgerGetBlockByHashCall
- func (c *ChainLedgerGetBlockByHashCall) Return(arg0 *types.Block, arg1 error) *ChainLedgerGetBlockByHashCall
- type ChainLedgerGetBlockCall
- func (c *ChainLedgerGetBlockCall) Do(f func(uint64) (*types.Block, error)) *ChainLedgerGetBlockCall
- func (c *ChainLedgerGetBlockCall) DoAndReturn(f func(uint64) (*types.Block, error)) *ChainLedgerGetBlockCall
- func (c *ChainLedgerGetBlockCall) Return(arg0 *types.Block, arg1 error) *ChainLedgerGetBlockCall
- type ChainLedgerGetBlockHashCall
- type ChainLedgerGetBlockSignCall
- func (c *ChainLedgerGetBlockSignCall) Do(f func(uint64) ([]byte, error)) *ChainLedgerGetBlockSignCall
- func (c *ChainLedgerGetBlockSignCall) DoAndReturn(f func(uint64) ([]byte, error)) *ChainLedgerGetBlockSignCall
- func (c *ChainLedgerGetBlockSignCall) Return(arg0 []byte, arg1 error) *ChainLedgerGetBlockSignCall
- type ChainLedgerGetChainMetaCall
- type ChainLedgerGetReceiptCall
- func (c *ChainLedgerGetReceiptCall) Do(f func(*types.Hash) (*types.Receipt, error)) *ChainLedgerGetReceiptCall
- func (c *ChainLedgerGetReceiptCall) DoAndReturn(f func(*types.Hash) (*types.Receipt, error)) *ChainLedgerGetReceiptCall
- func (c *ChainLedgerGetReceiptCall) Return(arg0 *types.Receipt, arg1 error) *ChainLedgerGetReceiptCall
- type ChainLedgerGetTransactionCall
- func (c *ChainLedgerGetTransactionCall) Do(f func(*types.Hash) (*types.Transaction, error)) *ChainLedgerGetTransactionCall
- func (c *ChainLedgerGetTransactionCall) DoAndReturn(f func(*types.Hash) (*types.Transaction, error)) *ChainLedgerGetTransactionCall
- func (c *ChainLedgerGetTransactionCall) Return(arg0 *types.Transaction, arg1 error) *ChainLedgerGetTransactionCall
- type ChainLedgerGetTransactionCountCall
- func (c *ChainLedgerGetTransactionCountCall) Do(f func(uint64) (uint64, error)) *ChainLedgerGetTransactionCountCall
- func (c *ChainLedgerGetTransactionCountCall) DoAndReturn(f func(uint64) (uint64, error)) *ChainLedgerGetTransactionCountCall
- func (c *ChainLedgerGetTransactionCountCall) Return(arg0 uint64, arg1 error) *ChainLedgerGetTransactionCountCall
- type ChainLedgerGetTransactionMetaCall
- func (c *ChainLedgerGetTransactionMetaCall) Do(f func(*types.Hash) (*types.TransactionMeta, error)) *ChainLedgerGetTransactionMetaCall
- func (c *ChainLedgerGetTransactionMetaCall) DoAndReturn(f func(*types.Hash) (*types.TransactionMeta, error)) *ChainLedgerGetTransactionMetaCall
- func (c *ChainLedgerGetTransactionMetaCall) Return(arg0 *types.TransactionMeta, arg1 error) *ChainLedgerGetTransactionMetaCall
- type ChainLedgerLoadChainMetaCall
- func (c *ChainLedgerLoadChainMetaCall) Do(f func() (*types.ChainMeta, error)) *ChainLedgerLoadChainMetaCall
- func (c *ChainLedgerLoadChainMetaCall) DoAndReturn(f func() (*types.ChainMeta, error)) *ChainLedgerLoadChainMetaCall
- func (c *ChainLedgerLoadChainMetaCall) Return(arg0 *types.ChainMeta, arg1 error) *ChainLedgerLoadChainMetaCall
- type ChainLedgerPersistExecutionResultCall
- func (c *ChainLedgerPersistExecutionResultCall) Do(f func(*types.Block, []*types.Receipt) error) *ChainLedgerPersistExecutionResultCall
- func (c *ChainLedgerPersistExecutionResultCall) DoAndReturn(f func(*types.Block, []*types.Receipt) error) *ChainLedgerPersistExecutionResultCall
- func (c *ChainLedgerPersistExecutionResultCall) Return(arg0 error) *ChainLedgerPersistExecutionResultCall
- type ChainLedgerRollbackBlockChainCall
- func (c *ChainLedgerRollbackBlockChainCall) Do(f func(uint64) error) *ChainLedgerRollbackBlockChainCall
- func (c *ChainLedgerRollbackBlockChainCall) DoAndReturn(f func(uint64) error) *ChainLedgerRollbackBlockChainCall
- func (c *ChainLedgerRollbackBlockChainCall) Return(arg0 error) *ChainLedgerRollbackBlockChainCall
- type ChainLedgerUpdateChainMetaCall
- type IAccountAddBalanceCall
- type IAccountCodeCall
- type IAccountCodeHashCall
- type IAccountFinaliseCall
- type IAccountGetAddressCall
- type IAccountGetBalanceCall
- type IAccountGetCommittedStateCall
- type IAccountGetNonceCall
- type IAccountGetStateCall
- type IAccountIsEmptyCall
- type IAccountSetBalanceCall
- type IAccountSetCodeAndHashCall
- type IAccountSetEnableExpensiveMetricCall
- func (c *IAccountSetEnableExpensiveMetricCall) Do(f func(bool)) *IAccountSetEnableExpensiveMetricCall
- func (c *IAccountSetEnableExpensiveMetricCall) DoAndReturn(f func(bool)) *IAccountSetEnableExpensiveMetricCall
- func (c *IAccountSetEnableExpensiveMetricCall) Return() *IAccountSetEnableExpensiveMetricCall
- type IAccountSetNonceCall
- type IAccountSetStateCall
- type IAccountSetSuicidedCall
- type IAccountStringCall
- type IAccountSubBalanceCall
- type IAccountSuicidedCall
- type MockChainLedger
- func (m *MockChainLedger) Close()
- func (m *MockChainLedger) CloseBlockfile()
- func (m *MockChainLedger) EXPECT() *MockChainLedgerMockRecorder
- func (m *MockChainLedger) GetBlock(height uint64) (*types.Block, error)
- func (m *MockChainLedger) GetBlockByHash(hash *types.Hash) (*types.Block, error)
- func (m *MockChainLedger) GetBlockHash(height uint64) *types.Hash
- func (m *MockChainLedger) GetBlockSign(height uint64) ([]byte, error)
- func (m *MockChainLedger) GetBlockTxHashListByNumber(height uint64) ([]*types.Hash, error)
- func (m *MockChainLedger) GetBlockTxListByNumber(height uint64) ([]*types.Transaction, error)
- func (m *MockChainLedger) GetBlockWithOutTxByHash(hash *types.Hash) (*types.Block, error)
- func (m *MockChainLedger) GetBlockWithOutTxByNumber(height uint64) (*types.Block, error)
- func (m *MockChainLedger) GetChainMeta() *types.ChainMeta
- func (m *MockChainLedger) GetReceipt(hash *types.Hash) (*types.Receipt, error)
- func (m *MockChainLedger) GetTransaction(hash *types.Hash) (*types.Transaction, error)
- func (m *MockChainLedger) GetTransactionCount(height uint64) (uint64, error)
- func (m *MockChainLedger) GetTransactionMeta(hash *types.Hash) (*types.TransactionMeta, error)
- func (m *MockChainLedger) LoadChainMeta() (*types.ChainMeta, error)
- func (m *MockChainLedger) PersistExecutionResult(block *types.Block, receipts []*types.Receipt) error
- func (m *MockChainLedger) RollbackBlockChain(height uint64) error
- func (m *MockChainLedger) UpdateChainMeta(arg0 *types.ChainMeta)
- type MockChainLedgerMockRecorder
- func (mr *MockChainLedgerMockRecorder) Close() *ChainLedgerCloseCall
- func (mr *MockChainLedgerMockRecorder) CloseBlockfile() *ChainLedgerCloseBlockfileCall
- func (mr *MockChainLedgerMockRecorder) GetBlock(height any) *ChainLedgerGetBlockCall
- func (mr *MockChainLedgerMockRecorder) GetBlockByHash(hash any) *ChainLedgerGetBlockByHashCall
- func (mr *MockChainLedgerMockRecorder) GetBlockHash(height any) *ChainLedgerGetBlockHashCall
- func (mr *MockChainLedgerMockRecorder) GetBlockSign(height any) *ChainLedgerGetBlockSignCall
- func (mr *MockChainLedgerMockRecorder) GetChainMeta() *ChainLedgerGetChainMetaCall
- func (mr *MockChainLedgerMockRecorder) GetReceipt(hash any) *ChainLedgerGetReceiptCall
- func (mr *MockChainLedgerMockRecorder) GetTransaction(hash any) *ChainLedgerGetTransactionCall
- func (mr *MockChainLedgerMockRecorder) GetTransactionCount(height any) *ChainLedgerGetTransactionCountCall
- func (mr *MockChainLedgerMockRecorder) GetTransactionMeta(hash any) *ChainLedgerGetTransactionMetaCall
- func (mr *MockChainLedgerMockRecorder) LoadChainMeta() *ChainLedgerLoadChainMetaCall
- func (mr *MockChainLedgerMockRecorder) PersistExecutionResult(block, receipts any) *ChainLedgerPersistExecutionResultCall
- func (mr *MockChainLedgerMockRecorder) RollbackBlockChain(height any) *ChainLedgerRollbackBlockChainCall
- func (mr *MockChainLedgerMockRecorder) UpdateChainMeta(arg0 any) *ChainLedgerUpdateChainMetaCall
- type MockIAccount
- func (m *MockIAccount) AddBalance(amount *big.Int)
- func (m *MockIAccount) Code() []byte
- func (m *MockIAccount) CodeHash() []byte
- func (m *MockIAccount) EXPECT() *MockIAccountMockRecorder
- func (m *MockIAccount) Finalise()
- func (m *MockIAccount) GetAddress() *types.Address
- func (m *MockIAccount) GetBalance() *big.Int
- func (m *MockIAccount) GetCommittedState(key []byte) []byte
- func (m *MockIAccount) GetNonce() uint64
- func (m *MockIAccount) GetState(key []byte) (bool, []byte)
- func (m *MockIAccount) IsEmpty() bool
- func (m *MockIAccount) SetBalance(balance *big.Int)
- func (m *MockIAccount) SetCodeAndHash(code []byte)
- func (m *MockIAccount) SetEnableExpensiveMetric(arg0 bool)
- func (m *MockIAccount) SetNonce(nonce uint64)
- func (m *MockIAccount) SetState(key, value []byte)
- func (m *MockIAccount) SetSuicided(arg0 bool)
- func (m *MockIAccount) String() string
- func (m *MockIAccount) SubBalance(amount *big.Int)
- func (m *MockIAccount) Suicided() bool
- type MockIAccountMockRecorder
- func (mr *MockIAccountMockRecorder) AddBalance(amount any) *IAccountAddBalanceCall
- func (mr *MockIAccountMockRecorder) Code() *IAccountCodeCall
- func (mr *MockIAccountMockRecorder) CodeHash() *IAccountCodeHashCall
- func (mr *MockIAccountMockRecorder) Finalise() *IAccountFinaliseCall
- func (mr *MockIAccountMockRecorder) GetAddress() *IAccountGetAddressCall
- func (mr *MockIAccountMockRecorder) GetBalance() *IAccountGetBalanceCall
- func (mr *MockIAccountMockRecorder) GetCommittedState(key any) *IAccountGetCommittedStateCall
- func (mr *MockIAccountMockRecorder) GetNonce() *IAccountGetNonceCall
- func (mr *MockIAccountMockRecorder) GetState(key any) *IAccountGetStateCall
- func (mr *MockIAccountMockRecorder) IsEmpty() *IAccountIsEmptyCall
- func (mr *MockIAccountMockRecorder) SetBalance(balance any) *IAccountSetBalanceCall
- func (mr *MockIAccountMockRecorder) SetCodeAndHash(code any) *IAccountSetCodeAndHashCall
- func (mr *MockIAccountMockRecorder) SetEnableExpensiveMetric(arg0 any) *IAccountSetEnableExpensiveMetricCall
- func (mr *MockIAccountMockRecorder) SetNonce(nonce any) *IAccountSetNonceCall
- func (mr *MockIAccountMockRecorder) SetState(key, value any) *IAccountSetStateCall
- func (mr *MockIAccountMockRecorder) SetSuicided(arg0 any) *IAccountSetSuicidedCall
- func (mr *MockIAccountMockRecorder) String() *IAccountStringCall
- func (mr *MockIAccountMockRecorder) SubBalance(amount any) *IAccountSubBalanceCall
- func (mr *MockIAccountMockRecorder) Suicided() *IAccountSuicidedCall
- type MockStateAccessor
- func (m *MockStateAccessor) Clear()
- func (m *MockStateAccessor) Commit() (*types.Hash, error)
- func (m *MockStateAccessor) EXPECT() *MockStateAccessorMockRecorder
- func (m *MockStateAccessor) GetAccount(arg0 *types.Address) ledger.IAccount
- func (m *MockStateAccessor) GetBalance(arg0 *types.Address) *big.Int
- func (m *MockStateAccessor) GetCode(arg0 *types.Address) []byte
- func (m *MockStateAccessor) GetNonce(arg0 *types.Address) uint64
- func (m *MockStateAccessor) GetOrCreateAccount(arg0 *types.Address) ledger.IAccount
- func (m *MockStateAccessor) GetState(arg0 *types.Address, arg1 []byte) (bool, []byte)
- func (m *MockStateAccessor) SetBalance(arg0 *types.Address, arg1 *big.Int)
- func (m *MockStateAccessor) SetCode(arg0 *types.Address, arg1 []byte)
- func (m *MockStateAccessor) SetNonce(arg0 *types.Address, arg1 uint64)
- func (m *MockStateAccessor) SetState(arg0 *types.Address, arg1, arg2 []byte)
- func (m *MockStateAccessor) SetTxContext(thash *types.Hash, txIndex int)
- type MockStateAccessorMockRecorder
- func (mr *MockStateAccessorMockRecorder) Clear() *StateAccessorClearCall
- func (mr *MockStateAccessorMockRecorder) Commit() *StateAccessorCommitCall
- func (mr *MockStateAccessorMockRecorder) GetAccount(arg0 any) *StateAccessorGetAccountCall
- func (mr *MockStateAccessorMockRecorder) GetBalance(arg0 any) *StateAccessorGetBalanceCall
- func (mr *MockStateAccessorMockRecorder) GetCode(arg0 any) *StateAccessorGetCodeCall
- func (mr *MockStateAccessorMockRecorder) GetNonce(arg0 any) *StateAccessorGetNonceCall
- func (mr *MockStateAccessorMockRecorder) GetOrCreateAccount(arg0 any) *StateAccessorGetOrCreateAccountCall
- func (mr *MockStateAccessorMockRecorder) GetState(arg0, arg1 any) *StateAccessorGetStateCall
- func (mr *MockStateAccessorMockRecorder) SetBalance(arg0, arg1 any) *StateAccessorSetBalanceCall
- func (mr *MockStateAccessorMockRecorder) SetCode(arg0, arg1 any) *StateAccessorSetCodeCall
- func (mr *MockStateAccessorMockRecorder) SetNonce(arg0, arg1 any) *StateAccessorSetNonceCall
- func (mr *MockStateAccessorMockRecorder) SetState(arg0, arg1, arg2 any) *StateAccessorSetStateCall
- func (mr *MockStateAccessorMockRecorder) SetTxContext(thash, txIndex any) *StateAccessorSetTxContextCall
- type MockStateLedger
- func (m *MockStateLedger) AddAddressToEVMAccessList(addr common.Address)
- func (m *MockStateLedger) AddEVMBalance(arg0 common.Address, arg1 *big.Int)
- func (m *MockStateLedger) AddEVMLog(log *types0.Log)
- func (m *MockStateLedger) AddEVMPreimage(arg0 common.Hash, arg1 []byte)
- func (m *MockStateLedger) AddEVMRefund(arg0 uint64)
- func (m *MockStateLedger) AddLog(log *types.EvmLog)
- func (m *MockStateLedger) AddSlotToEVMAccessList(addr common.Address, slot common.Hash)
- func (m *MockStateLedger) AddressInEVMAccessList(addr common.Address) bool
- func (m *MockStateLedger) Clear()
- func (m *MockStateLedger) ClearChangerAndRefund()
- func (m *MockStateLedger) Close()
- func (m *MockStateLedger) Commit() (*types.Hash, error)
- func (m *MockStateLedger) CreateEVMAccount(arg0 common.Address)
- func (m *MockStateLedger) EXPECT() *MockStateLedgerMockRecorder
- func (m *MockStateLedger) EmptyEVM(arg0 common.Address) bool
- func (m *MockStateLedger) ExistEVM(arg0 common.Address) bool
- func (m *MockStateLedger) Finalise()
- func (m *MockStateLedger) GetAccount(arg0 *types.Address) ledger.IAccount
- func (m *MockStateLedger) GetBalance(arg0 *types.Address) *big.Int
- func (m *MockStateLedger) GetCode(arg0 *types.Address) []byte
- func (m *MockStateLedger) GetEVMBalance(arg0 common.Address) *big.Int
- func (m *MockStateLedger) GetEVMCode(arg0 common.Address) []byte
- func (m *MockStateLedger) GetEVMCodeHash(arg0 common.Address) common.Hash
- func (m *MockStateLedger) GetEVMCodeSize(arg0 common.Address) int
- func (m *MockStateLedger) GetEVMCommittedState(arg0 common.Address, arg1 common.Hash) common.Hash
- func (m *MockStateLedger) GetEVMNonce(arg0 common.Address) uint64
- func (m *MockStateLedger) GetEVMRefund() uint64
- func (m *MockStateLedger) GetEVMState(arg0 common.Address, arg1 common.Hash) common.Hash
- func (m *MockStateLedger) GetEVMTransientState(addr common.Address, key common.Hash) common.Hash
- func (m *MockStateLedger) GetLogs(arg0 types.Hash, arg1 uint64, arg2 *types.Hash) []*types.EvmLog
- func (m *MockStateLedger) GetNonce(arg0 *types.Address) uint64
- func (m *MockStateLedger) GetOrCreateAccount(arg0 *types.Address) ledger.IAccount
- func (m *MockStateLedger) GetState(arg0 *types.Address, arg1 []byte) (bool, []byte)
- func (m *MockStateLedger) HasSuicideEVM(arg0 common.Address) bool
- func (m *MockStateLedger) NewView(block *types.Block) ledger.StateLedger
- func (m *MockStateLedger) NewViewWithoutCache(blockHeader *types.BlockHeader) ledger.StateLedger
- func (m *MockStateLedger) PrepareBlock(arg0, arg1 *types.Hash, arg2 uint64)
- func (m *MockStateLedger) PrepareEVM(rules params.Rules, sender, coinbase common.Address, dest *common.Address, ...)
- func (m *MockStateLedger) RevertToSnapshot(arg0 int)
- func (m *MockStateLedger) RollbackState(height uint64, lastStateRoot *types.Hash) error
- func (m *MockStateLedger) SetBalance(arg0 *types.Address, arg1 *big.Int)
- func (m *MockStateLedger) SetCode(arg0 *types.Address, arg1 []byte)
- func (m *MockStateLedger) SetEVMCode(arg0 common.Address, arg1 []byte)
- func (m *MockStateLedger) SetEVMNonce(arg0 common.Address, arg1 uint64)
- func (m *MockStateLedger) SetEVMState(arg0 common.Address, arg1, arg2 common.Hash)
- func (m *MockStateLedger) SetEVMTransientState(addr common.Address, key, value common.Hash)
- func (m *MockStateLedger) SetNonce(arg0 *types.Address, arg1 uint64)
- func (m *MockStateLedger) SetState(arg0 *types.Address, arg1, arg2 []byte)
- func (m *MockStateLedger) SetTxContext(thash *types.Hash, txIndex int)
- func (m *MockStateLedger) SlotInEVMAceessList(addr common.Address, slot common.Hash) (bool, bool)
- func (m *MockStateLedger) Snapshot() int
- func (m *MockStateLedger) SubEVMBalance(arg0 common.Address, arg1 *big.Int)
- func (m *MockStateLedger) SubEVMRefund(arg0 uint64)
- func (m *MockStateLedger) SuicideEVM(arg0 common.Address) bool
- func (m *MockStateLedger) Version() uint64
- type MockStateLedgerMockRecorder
- func (mr *MockStateLedgerMockRecorder) AddAddressToEVMAccessList(addr any) *StateLedgerAddAddressToEVMAccessListCall
- func (mr *MockStateLedgerMockRecorder) AddEVMBalance(arg0, arg1 any) *StateLedgerAddEVMBalanceCall
- func (mr *MockStateLedgerMockRecorder) AddEVMLog(log any) *StateLedgerAddEVMLogCall
- func (mr *MockStateLedgerMockRecorder) AddEVMPreimage(arg0, arg1 any) *StateLedgerAddEVMPreimageCall
- func (mr *MockStateLedgerMockRecorder) AddEVMRefund(arg0 any) *StateLedgerAddEVMRefundCall
- func (mr *MockStateLedgerMockRecorder) AddLog(log any) *StateLedgerAddLogCall
- func (mr *MockStateLedgerMockRecorder) AddSlotToEVMAccessList(addr, slot any) *StateLedgerAddSlotToEVMAccessListCall
- func (mr *MockStateLedgerMockRecorder) AddressInEVMAccessList(addr any) *StateLedgerAddressInEVMAccessListCall
- func (mr *MockStateLedgerMockRecorder) Clear() *StateLedgerClearCall
- func (mr *MockStateLedgerMockRecorder) ClearChangerAndRefund() *StateLedgerClearChangerAndRefundCall
- func (mr *MockStateLedgerMockRecorder) Close() *StateLedgerCloseCall
- func (mr *MockStateLedgerMockRecorder) Commit() *StateLedgerCommitCall
- func (mr *MockStateLedgerMockRecorder) CreateEVMAccount(arg0 any) *StateLedgerCreateEVMAccountCall
- func (mr *MockStateLedgerMockRecorder) EmptyEVM(arg0 any) *StateLedgerEmptyEVMCall
- func (mr *MockStateLedgerMockRecorder) ExistEVM(arg0 any) *StateLedgerExistEVMCall
- func (mr *MockStateLedgerMockRecorder) Finalise() *StateLedgerFinaliseCall
- func (mr *MockStateLedgerMockRecorder) GetAccount(arg0 any) *StateLedgerGetAccountCall
- func (mr *MockStateLedgerMockRecorder) GetBalance(arg0 any) *StateLedgerGetBalanceCall
- func (mr *MockStateLedgerMockRecorder) GetCode(arg0 any) *StateLedgerGetCodeCall
- func (mr *MockStateLedgerMockRecorder) GetEVMBalance(arg0 any) *StateLedgerGetEVMBalanceCall
- func (mr *MockStateLedgerMockRecorder) GetEVMCode(arg0 any) *StateLedgerGetEVMCodeCall
- func (mr *MockStateLedgerMockRecorder) GetEVMCodeHash(arg0 any) *StateLedgerGetEVMCodeHashCall
- func (mr *MockStateLedgerMockRecorder) GetEVMCodeSize(arg0 any) *StateLedgerGetEVMCodeSizeCall
- func (mr *MockStateLedgerMockRecorder) GetEVMCommittedState(arg0, arg1 any) *StateLedgerGetEVMCommittedStateCall
- func (mr *MockStateLedgerMockRecorder) GetEVMNonce(arg0 any) *StateLedgerGetEVMNonceCall
- func (mr *MockStateLedgerMockRecorder) GetEVMRefund() *StateLedgerGetEVMRefundCall
- func (mr *MockStateLedgerMockRecorder) GetEVMState(arg0, arg1 any) *StateLedgerGetEVMStateCall
- func (mr *MockStateLedgerMockRecorder) GetEVMTransientState(addr, key any) *StateLedgerGetEVMTransientStateCall
- func (mr *MockStateLedgerMockRecorder) GetLogs(arg0, arg1, arg2 any) *StateLedgerGetLogsCall
- func (mr *MockStateLedgerMockRecorder) GetNonce(arg0 any) *StateLedgerGetNonceCall
- func (mr *MockStateLedgerMockRecorder) GetOrCreateAccount(arg0 any) *StateLedgerGetOrCreateAccountCall
- func (mr *MockStateLedgerMockRecorder) GetState(arg0, arg1 any) *StateLedgerGetStateCall
- func (mr *MockStateLedgerMockRecorder) HasSuicideEVM(arg0 any) *StateLedgerHasSuicideEVMCall
- func (mr *MockStateLedgerMockRecorder) NewView(block any) *StateLedgerNewViewCall
- func (mr *MockStateLedgerMockRecorder) NewViewWithoutCache(block any) *StateLedgerNewViewWithoutCacheCall
- func (mr *MockStateLedgerMockRecorder) PrepareBlock(arg0, arg1, arg2 any) *StateLedgerPrepareBlockCall
- func (mr *MockStateLedgerMockRecorder) PrepareEVM(rules, sender, coinbase, dest, precompiles, txAccesses any) *StateLedgerPrepareEVMCall
- func (mr *MockStateLedgerMockRecorder) RevertToSnapshot(arg0 any) *StateLedgerRevertToSnapshotCall
- func (mr *MockStateLedgerMockRecorder) RollbackState(height, lastStateRoot any) *StateLedgerRollbackStateCall
- func (mr *MockStateLedgerMockRecorder) SetBalance(arg0, arg1 any) *StateLedgerSetBalanceCall
- func (mr *MockStateLedgerMockRecorder) SetCode(arg0, arg1 any) *StateLedgerSetCodeCall
- func (mr *MockStateLedgerMockRecorder) SetEVMCode(arg0, arg1 any) *StateLedgerSetEVMCodeCall
- func (mr *MockStateLedgerMockRecorder) SetEVMNonce(arg0, arg1 any) *StateLedgerSetEVMNonceCall
- func (mr *MockStateLedgerMockRecorder) SetEVMState(arg0, arg1, arg2 any) *StateLedgerSetEVMStateCall
- func (mr *MockStateLedgerMockRecorder) SetEVMTransientState(addr, key, value any) *StateLedgerSetEVMTransientStateCall
- func (mr *MockStateLedgerMockRecorder) SetNonce(arg0, arg1 any) *StateLedgerSetNonceCall
- func (mr *MockStateLedgerMockRecorder) SetState(arg0, arg1, arg2 any) *StateLedgerSetStateCall
- func (mr *MockStateLedgerMockRecorder) SetTxContext(thash, txIndex any) *StateLedgerSetTxContextCall
- func (mr *MockStateLedgerMockRecorder) SlotInEVMAceessList(addr, slot any) *StateLedgerSlotInEVMAceessListCall
- func (mr *MockStateLedgerMockRecorder) Snapshot() *StateLedgerSnapshotCall
- func (mr *MockStateLedgerMockRecorder) SubEVMBalance(arg0, arg1 any) *StateLedgerSubEVMBalanceCall
- func (mr *MockStateLedgerMockRecorder) SubEVMRefund(arg0 any) *StateLedgerSubEVMRefundCall
- func (mr *MockStateLedgerMockRecorder) SuicideEVM(arg0 any) *StateLedgerSuicideEVMCall
- func (mr *MockStateLedgerMockRecorder) Version() *StateLedgerVersionCall
- type StateAccessorClearCall
- type StateAccessorCommitCall
- type StateAccessorGetAccountCall
- func (c *StateAccessorGetAccountCall) Do(f func(*types.Address) ledger.IAccount) *StateAccessorGetAccountCall
- func (c *StateAccessorGetAccountCall) DoAndReturn(f func(*types.Address) ledger.IAccount) *StateAccessorGetAccountCall
- func (c *StateAccessorGetAccountCall) Return(arg0 ledger.IAccount) *StateAccessorGetAccountCall
- type StateAccessorGetBalanceCall
- func (c *StateAccessorGetBalanceCall) Do(f func(*types.Address) *big.Int) *StateAccessorGetBalanceCall
- func (c *StateAccessorGetBalanceCall) DoAndReturn(f func(*types.Address) *big.Int) *StateAccessorGetBalanceCall
- func (c *StateAccessorGetBalanceCall) Return(arg0 *big.Int) *StateAccessorGetBalanceCall
- type StateAccessorGetCodeCall
- type StateAccessorGetNonceCall
- type StateAccessorGetOrCreateAccountCall
- func (c *StateAccessorGetOrCreateAccountCall) Do(f func(*types.Address) ledger.IAccount) *StateAccessorGetOrCreateAccountCall
- func (c *StateAccessorGetOrCreateAccountCall) DoAndReturn(f func(*types.Address) ledger.IAccount) *StateAccessorGetOrCreateAccountCall
- func (c *StateAccessorGetOrCreateAccountCall) Return(arg0 ledger.IAccount) *StateAccessorGetOrCreateAccountCall
- type StateAccessorGetStateCall
- func (c *StateAccessorGetStateCall) Do(f func(*types.Address, []byte) (bool, []byte)) *StateAccessorGetStateCall
- func (c *StateAccessorGetStateCall) DoAndReturn(f func(*types.Address, []byte) (bool, []byte)) *StateAccessorGetStateCall
- func (c *StateAccessorGetStateCall) Return(arg0 bool, arg1 []byte) *StateAccessorGetStateCall
- type StateAccessorSetBalanceCall
- type StateAccessorSetCodeCall
- type StateAccessorSetNonceCall
- type StateAccessorSetStateCall
- type StateAccessorSetTxContextCall
- type StateLedgerAddAddressToEVMAccessListCall
- func (c *StateLedgerAddAddressToEVMAccessListCall) Do(f func(common.Address)) *StateLedgerAddAddressToEVMAccessListCall
- func (c *StateLedgerAddAddressToEVMAccessListCall) DoAndReturn(f func(common.Address)) *StateLedgerAddAddressToEVMAccessListCall
- func (c *StateLedgerAddAddressToEVMAccessListCall) Return() *StateLedgerAddAddressToEVMAccessListCall
- type StateLedgerAddEVMBalanceCall
- type StateLedgerAddEVMLogCall
- type StateLedgerAddEVMPreimageCall
- type StateLedgerAddEVMRefundCall
- type StateLedgerAddLogCall
- type StateLedgerAddSlotToEVMAccessListCall
- func (c *StateLedgerAddSlotToEVMAccessListCall) Do(f func(common.Address, common.Hash)) *StateLedgerAddSlotToEVMAccessListCall
- func (c *StateLedgerAddSlotToEVMAccessListCall) DoAndReturn(f func(common.Address, common.Hash)) *StateLedgerAddSlotToEVMAccessListCall
- func (c *StateLedgerAddSlotToEVMAccessListCall) Return() *StateLedgerAddSlotToEVMAccessListCall
- type StateLedgerAddressInEVMAccessListCall
- func (c *StateLedgerAddressInEVMAccessListCall) Do(f func(common.Address) bool) *StateLedgerAddressInEVMAccessListCall
- func (c *StateLedgerAddressInEVMAccessListCall) DoAndReturn(f func(common.Address) bool) *StateLedgerAddressInEVMAccessListCall
- func (c *StateLedgerAddressInEVMAccessListCall) Return(arg0 bool) *StateLedgerAddressInEVMAccessListCall
- type StateLedgerClearCall
- type StateLedgerClearChangerAndRefundCall
- type StateLedgerCloseCall
- type StateLedgerCommitCall
- type StateLedgerCreateEVMAccountCall
- type StateLedgerEmptyEVMCall
- type StateLedgerExistEVMCall
- type StateLedgerFinaliseCall
- type StateLedgerGetAccountCall
- func (c *StateLedgerGetAccountCall) Do(f func(*types.Address) ledger.IAccount) *StateLedgerGetAccountCall
- func (c *StateLedgerGetAccountCall) DoAndReturn(f func(*types.Address) ledger.IAccount) *StateLedgerGetAccountCall
- func (c *StateLedgerGetAccountCall) Return(arg0 ledger.IAccount) *StateLedgerGetAccountCall
- type StateLedgerGetBalanceCall
- type StateLedgerGetCodeCall
- type StateLedgerGetEVMBalanceCall
- func (c *StateLedgerGetEVMBalanceCall) Do(f func(common.Address) *big.Int) *StateLedgerGetEVMBalanceCall
- func (c *StateLedgerGetEVMBalanceCall) DoAndReturn(f func(common.Address) *big.Int) *StateLedgerGetEVMBalanceCall
- func (c *StateLedgerGetEVMBalanceCall) Return(arg0 *big.Int) *StateLedgerGetEVMBalanceCall
- type StateLedgerGetEVMCodeCall
- type StateLedgerGetEVMCodeHashCall
- func (c *StateLedgerGetEVMCodeHashCall) Do(f func(common.Address) common.Hash) *StateLedgerGetEVMCodeHashCall
- func (c *StateLedgerGetEVMCodeHashCall) DoAndReturn(f func(common.Address) common.Hash) *StateLedgerGetEVMCodeHashCall
- func (c *StateLedgerGetEVMCodeHashCall) Return(arg0 common.Hash) *StateLedgerGetEVMCodeHashCall
- type StateLedgerGetEVMCodeSizeCall
- func (c *StateLedgerGetEVMCodeSizeCall) Do(f func(common.Address) int) *StateLedgerGetEVMCodeSizeCall
- func (c *StateLedgerGetEVMCodeSizeCall) DoAndReturn(f func(common.Address) int) *StateLedgerGetEVMCodeSizeCall
- func (c *StateLedgerGetEVMCodeSizeCall) Return(arg0 int) *StateLedgerGetEVMCodeSizeCall
- type StateLedgerGetEVMCommittedStateCall
- func (c *StateLedgerGetEVMCommittedStateCall) Do(f func(common.Address, common.Hash) common.Hash) *StateLedgerGetEVMCommittedStateCall
- func (c *StateLedgerGetEVMCommittedStateCall) DoAndReturn(f func(common.Address, common.Hash) common.Hash) *StateLedgerGetEVMCommittedStateCall
- func (c *StateLedgerGetEVMCommittedStateCall) Return(arg0 common.Hash) *StateLedgerGetEVMCommittedStateCall
- type StateLedgerGetEVMNonceCall
- type StateLedgerGetEVMRefundCall
- type StateLedgerGetEVMStateCall
- func (c *StateLedgerGetEVMStateCall) Do(f func(common.Address, common.Hash) common.Hash) *StateLedgerGetEVMStateCall
- func (c *StateLedgerGetEVMStateCall) DoAndReturn(f func(common.Address, common.Hash) common.Hash) *StateLedgerGetEVMStateCall
- func (c *StateLedgerGetEVMStateCall) Return(arg0 common.Hash) *StateLedgerGetEVMStateCall
- type StateLedgerGetEVMTransientStateCall
- func (c *StateLedgerGetEVMTransientStateCall) Do(f func(common.Address, common.Hash) common.Hash) *StateLedgerGetEVMTransientStateCall
- func (c *StateLedgerGetEVMTransientStateCall) DoAndReturn(f func(common.Address, common.Hash) common.Hash) *StateLedgerGetEVMTransientStateCall
- func (c *StateLedgerGetEVMTransientStateCall) Return(arg0 common.Hash) *StateLedgerGetEVMTransientStateCall
- type StateLedgerGetLogsCall
- func (c *StateLedgerGetLogsCall) Do(f func(types.Hash, uint64, *types.Hash) []*types.EvmLog) *StateLedgerGetLogsCall
- func (c *StateLedgerGetLogsCall) DoAndReturn(f func(types.Hash, uint64, *types.Hash) []*types.EvmLog) *StateLedgerGetLogsCall
- func (c *StateLedgerGetLogsCall) Return(arg0 []*types.EvmLog) *StateLedgerGetLogsCall
- type StateLedgerGetNonceCall
- type StateLedgerGetOrCreateAccountCall
- func (c *StateLedgerGetOrCreateAccountCall) Do(f func(*types.Address) ledger.IAccount) *StateLedgerGetOrCreateAccountCall
- func (c *StateLedgerGetOrCreateAccountCall) DoAndReturn(f func(*types.Address) ledger.IAccount) *StateLedgerGetOrCreateAccountCall
- func (c *StateLedgerGetOrCreateAccountCall) Return(arg0 ledger.IAccount) *StateLedgerGetOrCreateAccountCall
- type StateLedgerGetStateCall
- func (c *StateLedgerGetStateCall) Do(f func(*types.Address, []byte) (bool, []byte)) *StateLedgerGetStateCall
- func (c *StateLedgerGetStateCall) DoAndReturn(f func(*types.Address, []byte) (bool, []byte)) *StateLedgerGetStateCall
- func (c *StateLedgerGetStateCall) Return(arg0 bool, arg1 []byte) *StateLedgerGetStateCall
- type StateLedgerHasSuicideEVMCall
- type StateLedgerNewViewCall
- type StateLedgerNewViewWithoutCacheCall
- func (c *StateLedgerNewViewWithoutCacheCall) Do(f func(*types.Block) ledger.StateLedger) *StateLedgerNewViewWithoutCacheCall
- func (c *StateLedgerNewViewWithoutCacheCall) DoAndReturn(f func(*types.Block) ledger.StateLedger) *StateLedgerNewViewWithoutCacheCall
- func (c *StateLedgerNewViewWithoutCacheCall) Return(arg0 ledger.StateLedger) *StateLedgerNewViewWithoutCacheCall
- type StateLedgerPrepareBlockCall
- func (c *StateLedgerPrepareBlockCall) Do(f func(*types.Hash, *types.Hash, uint64)) *StateLedgerPrepareBlockCall
- func (c *StateLedgerPrepareBlockCall) DoAndReturn(f func(*types.Hash, *types.Hash, uint64)) *StateLedgerPrepareBlockCall
- func (c *StateLedgerPrepareBlockCall) Return() *StateLedgerPrepareBlockCall
- type StateLedgerPrepareEVMCall
- func (c *StateLedgerPrepareEVMCall) Do(f func(params.Rules, common.Address, common.Address, *common.Address, ...)) *StateLedgerPrepareEVMCall
- func (c *StateLedgerPrepareEVMCall) DoAndReturn(f func(params.Rules, common.Address, common.Address, *common.Address, ...)) *StateLedgerPrepareEVMCall
- func (c *StateLedgerPrepareEVMCall) Return() *StateLedgerPrepareEVMCall
- type StateLedgerRevertToSnapshotCall
- type StateLedgerRollbackStateCall
- func (c *StateLedgerRollbackStateCall) Do(f func(uint64, *types.Hash) error) *StateLedgerRollbackStateCall
- func (c *StateLedgerRollbackStateCall) DoAndReturn(f func(uint64, *types.Hash) error) *StateLedgerRollbackStateCall
- func (c *StateLedgerRollbackStateCall) Return(arg0 error) *StateLedgerRollbackStateCall
- type StateLedgerSetBalanceCall
- type StateLedgerSetCodeCall
- type StateLedgerSetEVMCodeCall
- type StateLedgerSetEVMNonceCall
- type StateLedgerSetEVMStateCall
- func (c *StateLedgerSetEVMStateCall) Do(f func(common.Address, common.Hash, common.Hash)) *StateLedgerSetEVMStateCall
- func (c *StateLedgerSetEVMStateCall) DoAndReturn(f func(common.Address, common.Hash, common.Hash)) *StateLedgerSetEVMStateCall
- func (c *StateLedgerSetEVMStateCall) Return() *StateLedgerSetEVMStateCall
- type StateLedgerSetEVMTransientStateCall
- func (c *StateLedgerSetEVMTransientStateCall) Do(f func(common.Address, common.Hash, common.Hash)) *StateLedgerSetEVMTransientStateCall
- func (c *StateLedgerSetEVMTransientStateCall) DoAndReturn(f func(common.Address, common.Hash, common.Hash)) *StateLedgerSetEVMTransientStateCall
- func (c *StateLedgerSetEVMTransientStateCall) Return() *StateLedgerSetEVMTransientStateCall
- type StateLedgerSetNonceCall
- type StateLedgerSetStateCall
- type StateLedgerSetTxContextCall
- type StateLedgerSlotInEVMAceessListCall
- func (c *StateLedgerSlotInEVMAceessListCall) Do(f func(common.Address, common.Hash) (bool, bool)) *StateLedgerSlotInEVMAceessListCall
- func (c *StateLedgerSlotInEVMAceessListCall) DoAndReturn(f func(common.Address, common.Hash) (bool, bool)) *StateLedgerSlotInEVMAceessListCall
- func (c *StateLedgerSlotInEVMAceessListCall) Return(addressOk, slotOk bool) *StateLedgerSlotInEVMAceessListCall
- type StateLedgerSnapshotCall
- type StateLedgerSubEVMBalanceCall
- type StateLedgerSubEVMRefundCall
- type StateLedgerSuicideEVMCall
- type StateLedgerVersionCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainLedgerCloseBlockfileCall ¶
ChainLedgerCloseBlockfileCall wrap *gomock.Call
func (*ChainLedgerCloseBlockfileCall) Do ¶
func (c *ChainLedgerCloseBlockfileCall) Do(f func()) *ChainLedgerCloseBlockfileCall
Do rewrite *gomock.Call.Do
func (*ChainLedgerCloseBlockfileCall) DoAndReturn ¶
func (c *ChainLedgerCloseBlockfileCall) DoAndReturn(f func()) *ChainLedgerCloseBlockfileCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ChainLedgerCloseBlockfileCall) Return ¶
func (c *ChainLedgerCloseBlockfileCall) Return() *ChainLedgerCloseBlockfileCall
Return rewrite *gomock.Call.Return
type ChainLedgerCloseCall ¶
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 ¶
func (c *ChainLedgerCloseCall) Return() *ChainLedgerCloseCall
Return rewrite *gomock.Call.Return
type ChainLedgerGetBlockByHashCall ¶
ChainLedgerGetBlockByHashCall wrap *gomock.Call
func (*ChainLedgerGetBlockByHashCall) Do ¶
func (c *ChainLedgerGetBlockByHashCall) Do(f func(*types.Hash) (*types.Block, error)) *ChainLedgerGetBlockByHashCall
Do rewrite *gomock.Call.Do
func (*ChainLedgerGetBlockByHashCall) DoAndReturn ¶
func (c *ChainLedgerGetBlockByHashCall) DoAndReturn(f func(*types.Hash) (*types.Block, error)) *ChainLedgerGetBlockByHashCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ChainLedgerGetBlockByHashCall) Return ¶
func (c *ChainLedgerGetBlockByHashCall) Return(arg0 *types.Block, arg1 error) *ChainLedgerGetBlockByHashCall
Return rewrite *gomock.Call.Return
type ChainLedgerGetBlockCall ¶
ChainLedgerGetBlockCall wrap *gomock.Call
func (*ChainLedgerGetBlockCall) Do ¶
func (c *ChainLedgerGetBlockCall) Do(f func(uint64) (*types.Block, error)) *ChainLedgerGetBlockCall
Do rewrite *gomock.Call.Do
func (*ChainLedgerGetBlockCall) DoAndReturn ¶
func (c *ChainLedgerGetBlockCall) DoAndReturn(f func(uint64) (*types.Block, error)) *ChainLedgerGetBlockCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ChainLedgerGetBlockCall) Return ¶
func (c *ChainLedgerGetBlockCall) Return(arg0 *types.Block, arg1 error) *ChainLedgerGetBlockCall
Return rewrite *gomock.Call.Return
type ChainLedgerGetBlockHashCall ¶
ChainLedgerGetBlockHashCall wrap *gomock.Call
func (*ChainLedgerGetBlockHashCall) Do ¶
func (c *ChainLedgerGetBlockHashCall) Do(f func(uint64) *types.Hash) *ChainLedgerGetBlockHashCall
Do rewrite *gomock.Call.Do
func (*ChainLedgerGetBlockHashCall) DoAndReturn ¶
func (c *ChainLedgerGetBlockHashCall) DoAndReturn(f func(uint64) *types.Hash) *ChainLedgerGetBlockHashCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ChainLedgerGetBlockHashCall) Return ¶
func (c *ChainLedgerGetBlockHashCall) Return(arg0 *types.Hash) *ChainLedgerGetBlockHashCall
Return rewrite *gomock.Call.Return
type ChainLedgerGetBlockSignCall ¶
ChainLedgerGetBlockSignCall wrap *gomock.Call
func (*ChainLedgerGetBlockSignCall) Do ¶
func (c *ChainLedgerGetBlockSignCall) Do(f func(uint64) ([]byte, error)) *ChainLedgerGetBlockSignCall
Do rewrite *gomock.Call.Do
func (*ChainLedgerGetBlockSignCall) DoAndReturn ¶
func (c *ChainLedgerGetBlockSignCall) DoAndReturn(f func(uint64) ([]byte, error)) *ChainLedgerGetBlockSignCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ChainLedgerGetBlockSignCall) Return ¶
func (c *ChainLedgerGetBlockSignCall) Return(arg0 []byte, arg1 error) *ChainLedgerGetBlockSignCall
Return rewrite *gomock.Call.Return
type ChainLedgerGetChainMetaCall ¶
ChainLedgerGetChainMetaCall wrap *gomock.Call
func (*ChainLedgerGetChainMetaCall) Do ¶
func (c *ChainLedgerGetChainMetaCall) Do(f func() *types.ChainMeta) *ChainLedgerGetChainMetaCall
Do rewrite *gomock.Call.Do
func (*ChainLedgerGetChainMetaCall) DoAndReturn ¶
func (c *ChainLedgerGetChainMetaCall) DoAndReturn(f func() *types.ChainMeta) *ChainLedgerGetChainMetaCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ChainLedgerGetChainMetaCall) Return ¶
func (c *ChainLedgerGetChainMetaCall) Return(arg0 *types.ChainMeta) *ChainLedgerGetChainMetaCall
Return rewrite *gomock.Call.Return
type ChainLedgerGetReceiptCall ¶
ChainLedgerGetReceiptCall wrap *gomock.Call
func (*ChainLedgerGetReceiptCall) Do ¶
func (c *ChainLedgerGetReceiptCall) Do(f func(*types.Hash) (*types.Receipt, error)) *ChainLedgerGetReceiptCall
Do rewrite *gomock.Call.Do
func (*ChainLedgerGetReceiptCall) DoAndReturn ¶
func (c *ChainLedgerGetReceiptCall) DoAndReturn(f func(*types.Hash) (*types.Receipt, error)) *ChainLedgerGetReceiptCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ChainLedgerGetReceiptCall) Return ¶
func (c *ChainLedgerGetReceiptCall) Return(arg0 *types.Receipt, arg1 error) *ChainLedgerGetReceiptCall
Return rewrite *gomock.Call.Return
type ChainLedgerGetTransactionCall ¶
ChainLedgerGetTransactionCall wrap *gomock.Call
func (*ChainLedgerGetTransactionCall) Do ¶
func (c *ChainLedgerGetTransactionCall) Do(f func(*types.Hash) (*types.Transaction, error)) *ChainLedgerGetTransactionCall
Do rewrite *gomock.Call.Do
func (*ChainLedgerGetTransactionCall) DoAndReturn ¶
func (c *ChainLedgerGetTransactionCall) DoAndReturn(f func(*types.Hash) (*types.Transaction, error)) *ChainLedgerGetTransactionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ChainLedgerGetTransactionCall) Return ¶
func (c *ChainLedgerGetTransactionCall) Return(arg0 *types.Transaction, arg1 error) *ChainLedgerGetTransactionCall
Return rewrite *gomock.Call.Return
type ChainLedgerGetTransactionCountCall ¶
ChainLedgerGetTransactionCountCall wrap *gomock.Call
func (*ChainLedgerGetTransactionCountCall) Do ¶
func (c *ChainLedgerGetTransactionCountCall) Do(f func(uint64) (uint64, error)) *ChainLedgerGetTransactionCountCall
Do rewrite *gomock.Call.Do
func (*ChainLedgerGetTransactionCountCall) DoAndReturn ¶
func (c *ChainLedgerGetTransactionCountCall) DoAndReturn(f func(uint64) (uint64, error)) *ChainLedgerGetTransactionCountCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ChainLedgerGetTransactionCountCall) Return ¶
func (c *ChainLedgerGetTransactionCountCall) Return(arg0 uint64, arg1 error) *ChainLedgerGetTransactionCountCall
Return rewrite *gomock.Call.Return
type ChainLedgerGetTransactionMetaCall ¶
ChainLedgerGetTransactionMetaCall wrap *gomock.Call
func (*ChainLedgerGetTransactionMetaCall) Do ¶
func (c *ChainLedgerGetTransactionMetaCall) Do(f func(*types.Hash) (*types.TransactionMeta, error)) *ChainLedgerGetTransactionMetaCall
Do rewrite *gomock.Call.Do
func (*ChainLedgerGetTransactionMetaCall) DoAndReturn ¶
func (c *ChainLedgerGetTransactionMetaCall) DoAndReturn(f func(*types.Hash) (*types.TransactionMeta, error)) *ChainLedgerGetTransactionMetaCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ChainLedgerGetTransactionMetaCall) Return ¶
func (c *ChainLedgerGetTransactionMetaCall) Return(arg0 *types.TransactionMeta, arg1 error) *ChainLedgerGetTransactionMetaCall
Return rewrite *gomock.Call.Return
type ChainLedgerLoadChainMetaCall ¶
ChainLedgerLoadChainMetaCall wrap *gomock.Call
func (*ChainLedgerLoadChainMetaCall) Do ¶
func (c *ChainLedgerLoadChainMetaCall) Do(f func() (*types.ChainMeta, error)) *ChainLedgerLoadChainMetaCall
Do rewrite *gomock.Call.Do
func (*ChainLedgerLoadChainMetaCall) DoAndReturn ¶
func (c *ChainLedgerLoadChainMetaCall) DoAndReturn(f func() (*types.ChainMeta, error)) *ChainLedgerLoadChainMetaCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ChainLedgerLoadChainMetaCall) Return ¶
func (c *ChainLedgerLoadChainMetaCall) Return(arg0 *types.ChainMeta, arg1 error) *ChainLedgerLoadChainMetaCall
Return rewrite *gomock.Call.Return
type ChainLedgerPersistExecutionResultCall ¶
ChainLedgerPersistExecutionResultCall wrap *gomock.Call
func (*ChainLedgerPersistExecutionResultCall) Do ¶
func (c *ChainLedgerPersistExecutionResultCall) Do(f func(*types.Block, []*types.Receipt) error) *ChainLedgerPersistExecutionResultCall
Do rewrite *gomock.Call.Do
func (*ChainLedgerPersistExecutionResultCall) DoAndReturn ¶
func (c *ChainLedgerPersistExecutionResultCall) DoAndReturn(f func(*types.Block, []*types.Receipt) error) *ChainLedgerPersistExecutionResultCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ChainLedgerPersistExecutionResultCall) Return ¶
func (c *ChainLedgerPersistExecutionResultCall) Return(arg0 error) *ChainLedgerPersistExecutionResultCall
Return rewrite *gomock.Call.Return
type ChainLedgerRollbackBlockChainCall ¶
ChainLedgerRollbackBlockChainCall wrap *gomock.Call
func (*ChainLedgerRollbackBlockChainCall) Do ¶
func (c *ChainLedgerRollbackBlockChainCall) Do(f func(uint64) error) *ChainLedgerRollbackBlockChainCall
Do rewrite *gomock.Call.Do
func (*ChainLedgerRollbackBlockChainCall) DoAndReturn ¶
func (c *ChainLedgerRollbackBlockChainCall) DoAndReturn(f func(uint64) error) *ChainLedgerRollbackBlockChainCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ChainLedgerRollbackBlockChainCall) Return ¶
func (c *ChainLedgerRollbackBlockChainCall) Return(arg0 error) *ChainLedgerRollbackBlockChainCall
Return rewrite *gomock.Call.Return
type ChainLedgerUpdateChainMetaCall ¶
ChainLedgerUpdateChainMetaCall wrap *gomock.Call
func (*ChainLedgerUpdateChainMetaCall) Do ¶
func (c *ChainLedgerUpdateChainMetaCall) Do(f func(*types.ChainMeta)) *ChainLedgerUpdateChainMetaCall
Do rewrite *gomock.Call.Do
func (*ChainLedgerUpdateChainMetaCall) DoAndReturn ¶
func (c *ChainLedgerUpdateChainMetaCall) DoAndReturn(f func(*types.ChainMeta)) *ChainLedgerUpdateChainMetaCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ChainLedgerUpdateChainMetaCall) Return ¶
func (c *ChainLedgerUpdateChainMetaCall) Return() *ChainLedgerUpdateChainMetaCall
Return rewrite *gomock.Call.Return
type IAccountAddBalanceCall ¶
IAccountAddBalanceCall wrap *gomock.Call
func (*IAccountAddBalanceCall) Do ¶
func (c *IAccountAddBalanceCall) Do(f func(*big.Int)) *IAccountAddBalanceCall
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 ¶
func (c *IAccountAddBalanceCall) Return() *IAccountAddBalanceCall
Return rewrite *gomock.Call.Return
type IAccountCodeCall ¶
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 ¶
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 ¶
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 ¶
func (c *IAccountFinaliseCall) Return() *IAccountFinaliseCall
Return rewrite *gomock.Call.Return
type IAccountGetAddressCall ¶
IAccountGetAddressCall wrap *gomock.Call
func (*IAccountGetAddressCall) Do ¶
func (c *IAccountGetAddressCall) Do(f func() *types.Address) *IAccountGetAddressCall
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 ¶
func (c *IAccountGetAddressCall) Return(arg0 *types.Address) *IAccountGetAddressCall
Return rewrite *gomock.Call.Return
type IAccountGetBalanceCall ¶
IAccountGetBalanceCall wrap *gomock.Call
func (*IAccountGetBalanceCall) Do ¶
func (c *IAccountGetBalanceCall) Do(f func() *big.Int) *IAccountGetBalanceCall
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 ¶
func (c *IAccountGetBalanceCall) Return(arg0 *big.Int) *IAccountGetBalanceCall
Return rewrite *gomock.Call.Return
type IAccountGetCommittedStateCall ¶
IAccountGetCommittedStateCall wrap *gomock.Call
func (*IAccountGetCommittedStateCall) Do ¶
func (c *IAccountGetCommittedStateCall) Do(f func([]byte) []byte) *IAccountGetCommittedStateCall
Do rewrite *gomock.Call.Do
func (*IAccountGetCommittedStateCall) DoAndReturn ¶
func (c *IAccountGetCommittedStateCall) DoAndReturn(f func([]byte) []byte) *IAccountGetCommittedStateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IAccountGetCommittedStateCall) Return ¶
func (c *IAccountGetCommittedStateCall) Return(arg0 []byte) *IAccountGetCommittedStateCall
Return rewrite *gomock.Call.Return
type IAccountGetNonceCall ¶
IAccountGetNonceCall wrap *gomock.Call
func (*IAccountGetNonceCall) Do ¶
func (c *IAccountGetNonceCall) Do(f func() uint64) *IAccountGetNonceCall
Do rewrite *gomock.Call.Do
func (*IAccountGetNonceCall) DoAndReturn ¶
func (c *IAccountGetNonceCall) DoAndReturn(f func() uint64) *IAccountGetNonceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IAccountGetNonceCall) Return ¶
func (c *IAccountGetNonceCall) Return(arg0 uint64) *IAccountGetNonceCall
Return rewrite *gomock.Call.Return
type IAccountGetStateCall ¶
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 ¶
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 ¶
IAccountSetBalanceCall wrap *gomock.Call
func (*IAccountSetBalanceCall) Do ¶
func (c *IAccountSetBalanceCall) Do(f func(*big.Int)) *IAccountSetBalanceCall
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 ¶
func (c *IAccountSetBalanceCall) Return() *IAccountSetBalanceCall
Return rewrite *gomock.Call.Return
type IAccountSetCodeAndHashCall ¶
IAccountSetCodeAndHashCall wrap *gomock.Call
func (*IAccountSetCodeAndHashCall) Do ¶
func (c *IAccountSetCodeAndHashCall) Do(f func([]byte)) *IAccountSetCodeAndHashCall
Do rewrite *gomock.Call.Do
func (*IAccountSetCodeAndHashCall) DoAndReturn ¶
func (c *IAccountSetCodeAndHashCall) DoAndReturn(f func([]byte)) *IAccountSetCodeAndHashCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IAccountSetCodeAndHashCall) Return ¶
func (c *IAccountSetCodeAndHashCall) Return() *IAccountSetCodeAndHashCall
Return rewrite *gomock.Call.Return
type IAccountSetEnableExpensiveMetricCall ¶
IAccountSetEnableExpensiveMetricCall wrap *gomock.Call
func (*IAccountSetEnableExpensiveMetricCall) Do ¶
func (c *IAccountSetEnableExpensiveMetricCall) Do(f func(bool)) *IAccountSetEnableExpensiveMetricCall
Do rewrite *gomock.Call.Do
func (*IAccountSetEnableExpensiveMetricCall) DoAndReturn ¶
func (c *IAccountSetEnableExpensiveMetricCall) DoAndReturn(f func(bool)) *IAccountSetEnableExpensiveMetricCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IAccountSetEnableExpensiveMetricCall) Return ¶
func (c *IAccountSetEnableExpensiveMetricCall) Return() *IAccountSetEnableExpensiveMetricCall
Return rewrite *gomock.Call.Return
type IAccountSetNonceCall ¶
IAccountSetNonceCall wrap *gomock.Call
func (*IAccountSetNonceCall) Do ¶
func (c *IAccountSetNonceCall) Do(f func(uint64)) *IAccountSetNonceCall
Do rewrite *gomock.Call.Do
func (*IAccountSetNonceCall) DoAndReturn ¶
func (c *IAccountSetNonceCall) DoAndReturn(f func(uint64)) *IAccountSetNonceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IAccountSetNonceCall) Return ¶
func (c *IAccountSetNonceCall) Return() *IAccountSetNonceCall
Return rewrite *gomock.Call.Return
type IAccountSetStateCall ¶
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 ¶
func (c *IAccountSetStateCall) Return() *IAccountSetStateCall
Return rewrite *gomock.Call.Return
type IAccountSetSuicidedCall ¶
IAccountSetSuicidedCall wrap *gomock.Call
func (*IAccountSetSuicidedCall) Do ¶
func (c *IAccountSetSuicidedCall) Do(f func(bool)) *IAccountSetSuicidedCall
Do rewrite *gomock.Call.Do
func (*IAccountSetSuicidedCall) DoAndReturn ¶
func (c *IAccountSetSuicidedCall) DoAndReturn(f func(bool)) *IAccountSetSuicidedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IAccountSetSuicidedCall) Return ¶
func (c *IAccountSetSuicidedCall) Return() *IAccountSetSuicidedCall
Return rewrite *gomock.Call.Return
type IAccountStringCall ¶
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 ¶
IAccountSubBalanceCall wrap *gomock.Call
func (*IAccountSubBalanceCall) Do ¶
func (c *IAccountSubBalanceCall) Do(f func(*big.Int)) *IAccountSubBalanceCall
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 ¶
func (c *IAccountSubBalanceCall) Return() *IAccountSubBalanceCall
Return rewrite *gomock.Call.Return
type IAccountSuicidedCall ¶
IAccountSuicidedCall wrap *gomock.Call
func (*IAccountSuicidedCall) Do ¶
func (c *IAccountSuicidedCall) Do(f func() bool) *IAccountSuicidedCall
Do rewrite *gomock.Call.Do
func (*IAccountSuicidedCall) DoAndReturn ¶
func (c *IAccountSuicidedCall) DoAndReturn(f func() bool) *IAccountSuicidedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*IAccountSuicidedCall) Return ¶
func (c *IAccountSuicidedCall) Return(arg0 bool) *IAccountSuicidedCall
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) CloseBlockfile ¶
func (m *MockChainLedger) CloseBlockfile()
CloseBlockfile mocks base method.
func (*MockChainLedger) EXPECT ¶
func (m *MockChainLedger) EXPECT() *MockChainLedgerMockRecorder
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 ¶
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 (*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 ¶
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 ¶
func (mr *MockChainLedgerMockRecorder) Close() *ChainLedgerCloseCall
Close indicates an expected call of Close.
func (*MockChainLedgerMockRecorder) CloseBlockfile ¶
func (mr *MockChainLedgerMockRecorder) CloseBlockfile() *ChainLedgerCloseBlockfileCall
CloseBlockfile indicates an expected call of CloseBlockfile.
func (*MockChainLedgerMockRecorder) GetBlock ¶
func (mr *MockChainLedgerMockRecorder) GetBlock(height any) *ChainLedgerGetBlockCall
GetBlock indicates an expected call of GetBlock.
func (*MockChainLedgerMockRecorder) GetBlockByHash ¶
func (mr *MockChainLedgerMockRecorder) GetBlockByHash(hash any) *ChainLedgerGetBlockByHashCall
GetBlockByHash indicates an expected call of GetBlockByHash.
func (*MockChainLedgerMockRecorder) GetBlockHash ¶
func (mr *MockChainLedgerMockRecorder) GetBlockHash(height any) *ChainLedgerGetBlockHashCall
GetBlockHash indicates an expected call of GetBlockHash.
func (*MockChainLedgerMockRecorder) GetBlockSign ¶
func (mr *MockChainLedgerMockRecorder) GetBlockSign(height any) *ChainLedgerGetBlockSignCall
GetBlockSign indicates an expected call of GetBlockSign.
func (*MockChainLedgerMockRecorder) GetChainMeta ¶
func (mr *MockChainLedgerMockRecorder) GetChainMeta() *ChainLedgerGetChainMetaCall
GetChainMeta indicates an expected call of GetChainMeta.
func (*MockChainLedgerMockRecorder) GetReceipt ¶
func (mr *MockChainLedgerMockRecorder) GetReceipt(hash any) *ChainLedgerGetReceiptCall
GetReceipt indicates an expected call of GetReceipt.
func (*MockChainLedgerMockRecorder) GetTransaction ¶
func (mr *MockChainLedgerMockRecorder) GetTransaction(hash any) *ChainLedgerGetTransactionCall
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 ¶
func (mr *MockChainLedgerMockRecorder) GetTransactionMeta(hash any) *ChainLedgerGetTransactionMetaCall
GetTransactionMeta indicates an expected call of GetTransactionMeta.
func (*MockChainLedgerMockRecorder) LoadChainMeta ¶
func (mr *MockChainLedgerMockRecorder) LoadChainMeta() *ChainLedgerLoadChainMetaCall
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 ¶
func (mr *MockChainLedgerMockRecorder) UpdateChainMeta(arg0 any) *ChainLedgerUpdateChainMetaCall
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) CodeHash ¶
func (m *MockIAccount) CodeHash() []byte
CodeHash mocks base method.
func (*MockIAccount) EXPECT ¶
func (m *MockIAccount) EXPECT() *MockIAccountMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
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) 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) SubBalance ¶
func (m *MockIAccount) SubBalance(amount *big.Int)
SubBalance 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 ¶
func (mr *MockIAccountMockRecorder) Code() *IAccountCodeCall
Code indicates an expected call of Code.
func (*MockIAccountMockRecorder) CodeHash ¶
func (mr *MockIAccountMockRecorder) CodeHash() *IAccountCodeHashCall
CodeHash indicates an expected call of CodeHash.
func (*MockIAccountMockRecorder) Finalise ¶
func (mr *MockIAccountMockRecorder) Finalise() *IAccountFinaliseCall
Finalise indicates an expected call of Finalise.
func (*MockIAccountMockRecorder) GetAddress ¶
func (mr *MockIAccountMockRecorder) GetAddress() *IAccountGetAddressCall
GetAddress indicates an expected call of GetAddress.
func (*MockIAccountMockRecorder) GetBalance ¶
func (mr *MockIAccountMockRecorder) GetBalance() *IAccountGetBalanceCall
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 ¶
func (mr *MockIAccountMockRecorder) GetNonce() *IAccountGetNonceCall
GetNonce indicates an expected call of GetNonce.
func (*MockIAccountMockRecorder) GetState ¶
func (mr *MockIAccountMockRecorder) GetState(key any) *IAccountGetStateCall
GetState indicates an expected call of GetState.
func (*MockIAccountMockRecorder) IsEmpty ¶
func (mr *MockIAccountMockRecorder) IsEmpty() *IAccountIsEmptyCall
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 ¶
func (mr *MockIAccountMockRecorder) String() *IAccountStringCall
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 ¶
func (mr *MockIAccountMockRecorder) Suicided() *IAccountSuicidedCall
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) Commit ¶
func (m *MockStateAccessor) Commit() (*types.Hash, error)
Commit mocks base method.
func (*MockStateAccessor) EXPECT ¶
func (m *MockStateAccessor) EXPECT() *MockStateAccessorMockRecorder
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) 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 ¶
func (mr *MockStateAccessorMockRecorder) Clear() *StateAccessorClearCall
Clear indicates an expected call of Clear.
func (*MockStateAccessorMockRecorder) Commit ¶
func (mr *MockStateAccessorMockRecorder) Commit() *StateAccessorCommitCall
Commit indicates an expected call of Commit.
func (*MockStateAccessorMockRecorder) GetAccount ¶
func (mr *MockStateAccessorMockRecorder) GetAccount(arg0 any) *StateAccessorGetAccountCall
GetAccount indicates an expected call of GetAccount.
func (*MockStateAccessorMockRecorder) GetBalance ¶
func (mr *MockStateAccessorMockRecorder) GetBalance(arg0 any) *StateAccessorGetBalanceCall
GetBalance indicates an expected call of GetBalance.
func (*MockStateAccessorMockRecorder) GetCode ¶
func (mr *MockStateAccessorMockRecorder) GetCode(arg0 any) *StateAccessorGetCodeCall
GetCode indicates an expected call of GetCode.
func (*MockStateAccessorMockRecorder) GetNonce ¶
func (mr *MockStateAccessorMockRecorder) GetNonce(arg0 any) *StateAccessorGetNonceCall
GetNonce indicates an expected call of GetNonce.
func (*MockStateAccessorMockRecorder) GetOrCreateAccount ¶
func (mr *MockStateAccessorMockRecorder) GetOrCreateAccount(arg0 any) *StateAccessorGetOrCreateAccountCall
GetOrCreateAccount indicates an expected call of GetOrCreateAccount.
func (*MockStateAccessorMockRecorder) GetState ¶
func (mr *MockStateAccessorMockRecorder) GetState(arg0, arg1 any) *StateAccessorGetStateCall
GetState indicates an expected call of GetState.
func (*MockStateAccessorMockRecorder) SetBalance ¶
func (mr *MockStateAccessorMockRecorder) SetBalance(arg0, arg1 any) *StateAccessorSetBalanceCall
SetBalance indicates an expected call of SetBalance.
func (*MockStateAccessorMockRecorder) SetCode ¶
func (mr *MockStateAccessorMockRecorder) SetCode(arg0, arg1 any) *StateAccessorSetCodeCall
SetCode indicates an expected call of SetCode.
func (*MockStateAccessorMockRecorder) SetNonce ¶
func (mr *MockStateAccessorMockRecorder) SetNonce(arg0, arg1 any) *StateAccessorSetNonceCall
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) ClearChangerAndRefund ¶
func (m *MockStateLedger) ClearChangerAndRefund()
ClearChangerAndRefund 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 ¶
func (m *MockStateLedger) EXPECT() *MockStateLedgerMockRecorder
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) 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 ¶
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 ¶
GetEVMState mocks base method.
func (*MockStateLedger) GetEVMTransientState ¶
GetEVMTransientState 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) 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 ¶
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 ¶
func (mr *MockStateLedgerMockRecorder) AddEVMLog(log any) *StateLedgerAddEVMLogCall
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 ¶
func (mr *MockStateLedgerMockRecorder) AddEVMRefund(arg0 any) *StateLedgerAddEVMRefundCall
AddEVMRefund indicates an expected call of AddEVMRefund.
func (*MockStateLedgerMockRecorder) AddLog ¶
func (mr *MockStateLedgerMockRecorder) AddLog(log any) *StateLedgerAddLogCall
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 ¶
func (mr *MockStateLedgerMockRecorder) Clear() *StateLedgerClearCall
Clear indicates an expected call of Clear.
func (*MockStateLedgerMockRecorder) ClearChangerAndRefund ¶
func (mr *MockStateLedgerMockRecorder) ClearChangerAndRefund() *StateLedgerClearChangerAndRefundCall
ClearChangerAndRefund indicates an expected call of ClearChangerAndRefund.
func (*MockStateLedgerMockRecorder) Close ¶
func (mr *MockStateLedgerMockRecorder) Close() *StateLedgerCloseCall
Close indicates an expected call of Close.
func (*MockStateLedgerMockRecorder) Commit ¶
func (mr *MockStateLedgerMockRecorder) Commit() *StateLedgerCommitCall
Commit indicates an expected call of Commit.
func (*MockStateLedgerMockRecorder) CreateEVMAccount ¶
func (mr *MockStateLedgerMockRecorder) CreateEVMAccount(arg0 any) *StateLedgerCreateEVMAccountCall
CreateEVMAccount indicates an expected call of CreateEVMAccount.
func (*MockStateLedgerMockRecorder) EmptyEVM ¶
func (mr *MockStateLedgerMockRecorder) EmptyEVM(arg0 any) *StateLedgerEmptyEVMCall
EmptyEVM indicates an expected call of EmptyEVM.
func (*MockStateLedgerMockRecorder) ExistEVM ¶
func (mr *MockStateLedgerMockRecorder) ExistEVM(arg0 any) *StateLedgerExistEVMCall
ExistEVM indicates an expected call of ExistEVM.
func (*MockStateLedgerMockRecorder) Finalise ¶
func (mr *MockStateLedgerMockRecorder) Finalise() *StateLedgerFinaliseCall
Finalise indicates an expected call of Finalise.
func (*MockStateLedgerMockRecorder) GetAccount ¶
func (mr *MockStateLedgerMockRecorder) GetAccount(arg0 any) *StateLedgerGetAccountCall
GetAccount indicates an expected call of GetAccount.
func (*MockStateLedgerMockRecorder) GetBalance ¶
func (mr *MockStateLedgerMockRecorder) GetBalance(arg0 any) *StateLedgerGetBalanceCall
GetBalance indicates an expected call of GetBalance.
func (*MockStateLedgerMockRecorder) GetCode ¶
func (mr *MockStateLedgerMockRecorder) GetCode(arg0 any) *StateLedgerGetCodeCall
GetCode indicates an expected call of GetCode.
func (*MockStateLedgerMockRecorder) GetEVMBalance ¶
func (mr *MockStateLedgerMockRecorder) GetEVMBalance(arg0 any) *StateLedgerGetEVMBalanceCall
GetEVMBalance indicates an expected call of GetEVMBalance.
func (*MockStateLedgerMockRecorder) GetEVMCode ¶
func (mr *MockStateLedgerMockRecorder) GetEVMCode(arg0 any) *StateLedgerGetEVMCodeCall
GetEVMCode indicates an expected call of GetEVMCode.
func (*MockStateLedgerMockRecorder) GetEVMCodeHash ¶
func (mr *MockStateLedgerMockRecorder) GetEVMCodeHash(arg0 any) *StateLedgerGetEVMCodeHashCall
GetEVMCodeHash indicates an expected call of GetEVMCodeHash.
func (*MockStateLedgerMockRecorder) GetEVMCodeSize ¶
func (mr *MockStateLedgerMockRecorder) GetEVMCodeSize(arg0 any) *StateLedgerGetEVMCodeSizeCall
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 ¶
func (mr *MockStateLedgerMockRecorder) GetEVMNonce(arg0 any) *StateLedgerGetEVMNonceCall
GetEVMNonce indicates an expected call of GetEVMNonce.
func (*MockStateLedgerMockRecorder) GetEVMRefund ¶
func (mr *MockStateLedgerMockRecorder) GetEVMRefund() *StateLedgerGetEVMRefundCall
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 ¶
func (mr *MockStateLedgerMockRecorder) GetNonce(arg0 any) *StateLedgerGetNonceCall
GetNonce indicates an expected call of GetNonce.
func (*MockStateLedgerMockRecorder) GetOrCreateAccount ¶
func (mr *MockStateLedgerMockRecorder) GetOrCreateAccount(arg0 any) *StateLedgerGetOrCreateAccountCall
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 ¶
func (mr *MockStateLedgerMockRecorder) HasSuicideEVM(arg0 any) *StateLedgerHasSuicideEVMCall
HasSuicideEVM indicates an expected call of HasSuicideEVM.
func (*MockStateLedgerMockRecorder) NewView ¶
func (mr *MockStateLedgerMockRecorder) NewView(block any) *StateLedgerNewViewCall
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 ¶
func (mr *MockStateLedgerMockRecorder) RevertToSnapshot(arg0 any) *StateLedgerRevertToSnapshotCall
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 ¶
func (mr *MockStateLedgerMockRecorder) Snapshot() *StateLedgerSnapshotCall
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 ¶
func (mr *MockStateLedgerMockRecorder) SubEVMRefund(arg0 any) *StateLedgerSubEVMRefundCall
SubEVMRefund indicates an expected call of SubEVMRefund.
func (*MockStateLedgerMockRecorder) SuicideEVM ¶
func (mr *MockStateLedgerMockRecorder) SuicideEVM(arg0 any) *StateLedgerSuicideEVMCall
SuicideEVM indicates an expected call of SuicideEVM.
func (*MockStateLedgerMockRecorder) Version ¶
func (mr *MockStateLedgerMockRecorder) Version() *StateLedgerVersionCall
Version indicates an expected call of Version.
type StateAccessorClearCall ¶
StateAccessorClearCall wrap *gomock.Call
func (*StateAccessorClearCall) Do ¶
func (c *StateAccessorClearCall) Do(f func()) *StateAccessorClearCall
Do rewrite *gomock.Call.Do
func (*StateAccessorClearCall) DoAndReturn ¶
func (c *StateAccessorClearCall) DoAndReturn(f func()) *StateAccessorClearCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateAccessorClearCall) Return ¶
func (c *StateAccessorClearCall) Return() *StateAccessorClearCall
Return rewrite *gomock.Call.Return
type StateAccessorCommitCall ¶
StateAccessorCommitCall wrap *gomock.Call
func (*StateAccessorCommitCall) Do ¶
func (c *StateAccessorCommitCall) Do(f func() (*types.Hash, error)) *StateAccessorCommitCall
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 ¶
func (c *StateAccessorCommitCall) Return(arg0 *types.Hash, arg1 error) *StateAccessorCommitCall
Return rewrite *gomock.Call.Return
type StateAccessorGetAccountCall ¶
StateAccessorGetAccountCall wrap *gomock.Call
func (*StateAccessorGetAccountCall) Do ¶
func (c *StateAccessorGetAccountCall) Do(f func(*types.Address) ledger.IAccount) *StateAccessorGetAccountCall
Do rewrite *gomock.Call.Do
func (*StateAccessorGetAccountCall) DoAndReturn ¶
func (c *StateAccessorGetAccountCall) DoAndReturn(f func(*types.Address) ledger.IAccount) *StateAccessorGetAccountCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateAccessorGetAccountCall) Return ¶
func (c *StateAccessorGetAccountCall) Return(arg0 ledger.IAccount) *StateAccessorGetAccountCall
Return rewrite *gomock.Call.Return
type StateAccessorGetBalanceCall ¶
StateAccessorGetBalanceCall wrap *gomock.Call
func (*StateAccessorGetBalanceCall) Do ¶
func (c *StateAccessorGetBalanceCall) Do(f func(*types.Address) *big.Int) *StateAccessorGetBalanceCall
Do rewrite *gomock.Call.Do
func (*StateAccessorGetBalanceCall) DoAndReturn ¶
func (c *StateAccessorGetBalanceCall) DoAndReturn(f func(*types.Address) *big.Int) *StateAccessorGetBalanceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateAccessorGetBalanceCall) Return ¶
func (c *StateAccessorGetBalanceCall) Return(arg0 *big.Int) *StateAccessorGetBalanceCall
Return rewrite *gomock.Call.Return
type StateAccessorGetCodeCall ¶
StateAccessorGetCodeCall wrap *gomock.Call
func (*StateAccessorGetCodeCall) Do ¶
func (c *StateAccessorGetCodeCall) Do(f func(*types.Address) []byte) *StateAccessorGetCodeCall
Do rewrite *gomock.Call.Do
func (*StateAccessorGetCodeCall) DoAndReturn ¶
func (c *StateAccessorGetCodeCall) DoAndReturn(f func(*types.Address) []byte) *StateAccessorGetCodeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateAccessorGetCodeCall) Return ¶
func (c *StateAccessorGetCodeCall) Return(arg0 []byte) *StateAccessorGetCodeCall
Return rewrite *gomock.Call.Return
type StateAccessorGetNonceCall ¶
StateAccessorGetNonceCall wrap *gomock.Call
func (*StateAccessorGetNonceCall) Do ¶
func (c *StateAccessorGetNonceCall) Do(f func(*types.Address) uint64) *StateAccessorGetNonceCall
Do rewrite *gomock.Call.Do
func (*StateAccessorGetNonceCall) DoAndReturn ¶
func (c *StateAccessorGetNonceCall) DoAndReturn(f func(*types.Address) uint64) *StateAccessorGetNonceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateAccessorGetNonceCall) Return ¶
func (c *StateAccessorGetNonceCall) Return(arg0 uint64) *StateAccessorGetNonceCall
Return rewrite *gomock.Call.Return
type StateAccessorGetOrCreateAccountCall ¶
StateAccessorGetOrCreateAccountCall wrap *gomock.Call
func (*StateAccessorGetOrCreateAccountCall) Do ¶
func (c *StateAccessorGetOrCreateAccountCall) Do(f func(*types.Address) ledger.IAccount) *StateAccessorGetOrCreateAccountCall
Do rewrite *gomock.Call.Do
func (*StateAccessorGetOrCreateAccountCall) DoAndReturn ¶
func (c *StateAccessorGetOrCreateAccountCall) DoAndReturn(f func(*types.Address) ledger.IAccount) *StateAccessorGetOrCreateAccountCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateAccessorGetOrCreateAccountCall) Return ¶
func (c *StateAccessorGetOrCreateAccountCall) Return(arg0 ledger.IAccount) *StateAccessorGetOrCreateAccountCall
Return rewrite *gomock.Call.Return
type StateAccessorGetStateCall ¶
StateAccessorGetStateCall wrap *gomock.Call
func (*StateAccessorGetStateCall) Do ¶
func (c *StateAccessorGetStateCall) Do(f func(*types.Address, []byte) (bool, []byte)) *StateAccessorGetStateCall
Do rewrite *gomock.Call.Do
func (*StateAccessorGetStateCall) DoAndReturn ¶
func (c *StateAccessorGetStateCall) DoAndReturn(f func(*types.Address, []byte) (bool, []byte)) *StateAccessorGetStateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateAccessorGetStateCall) Return ¶
func (c *StateAccessorGetStateCall) Return(arg0 bool, arg1 []byte) *StateAccessorGetStateCall
Return rewrite *gomock.Call.Return
type StateAccessorSetBalanceCall ¶
StateAccessorSetBalanceCall wrap *gomock.Call
func (*StateAccessorSetBalanceCall) Do ¶
func (c *StateAccessorSetBalanceCall) Do(f func(*types.Address, *big.Int)) *StateAccessorSetBalanceCall
Do rewrite *gomock.Call.Do
func (*StateAccessorSetBalanceCall) DoAndReturn ¶
func (c *StateAccessorSetBalanceCall) DoAndReturn(f func(*types.Address, *big.Int)) *StateAccessorSetBalanceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateAccessorSetBalanceCall) Return ¶
func (c *StateAccessorSetBalanceCall) Return() *StateAccessorSetBalanceCall
Return rewrite *gomock.Call.Return
type StateAccessorSetCodeCall ¶
StateAccessorSetCodeCall wrap *gomock.Call
func (*StateAccessorSetCodeCall) Do ¶
func (c *StateAccessorSetCodeCall) Do(f func(*types.Address, []byte)) *StateAccessorSetCodeCall
Do rewrite *gomock.Call.Do
func (*StateAccessorSetCodeCall) DoAndReturn ¶
func (c *StateAccessorSetCodeCall) DoAndReturn(f func(*types.Address, []byte)) *StateAccessorSetCodeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateAccessorSetCodeCall) Return ¶
func (c *StateAccessorSetCodeCall) Return() *StateAccessorSetCodeCall
Return rewrite *gomock.Call.Return
type StateAccessorSetNonceCall ¶
StateAccessorSetNonceCall wrap *gomock.Call
func (*StateAccessorSetNonceCall) Do ¶
func (c *StateAccessorSetNonceCall) Do(f func(*types.Address, uint64)) *StateAccessorSetNonceCall
Do rewrite *gomock.Call.Do
func (*StateAccessorSetNonceCall) DoAndReturn ¶
func (c *StateAccessorSetNonceCall) DoAndReturn(f func(*types.Address, uint64)) *StateAccessorSetNonceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateAccessorSetNonceCall) Return ¶
func (c *StateAccessorSetNonceCall) Return() *StateAccessorSetNonceCall
Return rewrite *gomock.Call.Return
type StateAccessorSetStateCall ¶
StateAccessorSetStateCall wrap *gomock.Call
func (*StateAccessorSetStateCall) Do ¶
func (c *StateAccessorSetStateCall) Do(f func(*types.Address, []byte, []byte)) *StateAccessorSetStateCall
Do rewrite *gomock.Call.Do
func (*StateAccessorSetStateCall) DoAndReturn ¶
func (c *StateAccessorSetStateCall) DoAndReturn(f func(*types.Address, []byte, []byte)) *StateAccessorSetStateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateAccessorSetStateCall) Return ¶
func (c *StateAccessorSetStateCall) Return() *StateAccessorSetStateCall
Return rewrite *gomock.Call.Return
type StateAccessorSetTxContextCall ¶
StateAccessorSetTxContextCall wrap *gomock.Call
func (*StateAccessorSetTxContextCall) Do ¶
func (c *StateAccessorSetTxContextCall) Do(f func(*types.Hash, int)) *StateAccessorSetTxContextCall
Do rewrite *gomock.Call.Do
func (*StateAccessorSetTxContextCall) DoAndReturn ¶
func (c *StateAccessorSetTxContextCall) DoAndReturn(f func(*types.Hash, int)) *StateAccessorSetTxContextCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateAccessorSetTxContextCall) Return ¶
func (c *StateAccessorSetTxContextCall) Return() *StateAccessorSetTxContextCall
Return rewrite *gomock.Call.Return
type StateLedgerAddAddressToEVMAccessListCall ¶
StateLedgerAddAddressToEVMAccessListCall wrap *gomock.Call
func (*StateLedgerAddAddressToEVMAccessListCall) Do ¶
func (c *StateLedgerAddAddressToEVMAccessListCall) Do(f func(common.Address)) *StateLedgerAddAddressToEVMAccessListCall
Do rewrite *gomock.Call.Do
func (*StateLedgerAddAddressToEVMAccessListCall) DoAndReturn ¶
func (c *StateLedgerAddAddressToEVMAccessListCall) DoAndReturn(f func(common.Address)) *StateLedgerAddAddressToEVMAccessListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerAddAddressToEVMAccessListCall) Return ¶
func (c *StateLedgerAddAddressToEVMAccessListCall) Return() *StateLedgerAddAddressToEVMAccessListCall
Return rewrite *gomock.Call.Return
type StateLedgerAddEVMBalanceCall ¶
StateLedgerAddEVMBalanceCall wrap *gomock.Call
func (*StateLedgerAddEVMBalanceCall) Do ¶
func (c *StateLedgerAddEVMBalanceCall) Do(f func(common.Address, *big.Int)) *StateLedgerAddEVMBalanceCall
Do rewrite *gomock.Call.Do
func (*StateLedgerAddEVMBalanceCall) DoAndReturn ¶
func (c *StateLedgerAddEVMBalanceCall) DoAndReturn(f func(common.Address, *big.Int)) *StateLedgerAddEVMBalanceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerAddEVMBalanceCall) Return ¶
func (c *StateLedgerAddEVMBalanceCall) Return() *StateLedgerAddEVMBalanceCall
Return rewrite *gomock.Call.Return
type StateLedgerAddEVMLogCall ¶
StateLedgerAddEVMLogCall wrap *gomock.Call
func (*StateLedgerAddEVMLogCall) Do ¶
func (c *StateLedgerAddEVMLogCall) Do(f func(*types0.Log)) *StateLedgerAddEVMLogCall
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 ¶
func (c *StateLedgerAddEVMLogCall) Return() *StateLedgerAddEVMLogCall
Return rewrite *gomock.Call.Return
type StateLedgerAddEVMPreimageCall ¶
StateLedgerAddEVMPreimageCall wrap *gomock.Call
func (*StateLedgerAddEVMPreimageCall) Do ¶
func (c *StateLedgerAddEVMPreimageCall) Do(f func(common.Hash, []byte)) *StateLedgerAddEVMPreimageCall
Do rewrite *gomock.Call.Do
func (*StateLedgerAddEVMPreimageCall) DoAndReturn ¶
func (c *StateLedgerAddEVMPreimageCall) DoAndReturn(f func(common.Hash, []byte)) *StateLedgerAddEVMPreimageCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerAddEVMPreimageCall) Return ¶
func (c *StateLedgerAddEVMPreimageCall) Return() *StateLedgerAddEVMPreimageCall
Return rewrite *gomock.Call.Return
type StateLedgerAddEVMRefundCall ¶
StateLedgerAddEVMRefundCall wrap *gomock.Call
func (*StateLedgerAddEVMRefundCall) Do ¶
func (c *StateLedgerAddEVMRefundCall) Do(f func(uint64)) *StateLedgerAddEVMRefundCall
Do rewrite *gomock.Call.Do
func (*StateLedgerAddEVMRefundCall) DoAndReturn ¶
func (c *StateLedgerAddEVMRefundCall) DoAndReturn(f func(uint64)) *StateLedgerAddEVMRefundCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerAddEVMRefundCall) Return ¶
func (c *StateLedgerAddEVMRefundCall) Return() *StateLedgerAddEVMRefundCall
Return rewrite *gomock.Call.Return
type StateLedgerAddLogCall ¶
StateLedgerAddLogCall wrap *gomock.Call
func (*StateLedgerAddLogCall) Do ¶
func (c *StateLedgerAddLogCall) Do(f func(*types.EvmLog)) *StateLedgerAddLogCall
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 ¶
func (c *StateLedgerAddLogCall) Return() *StateLedgerAddLogCall
Return rewrite *gomock.Call.Return
type StateLedgerAddSlotToEVMAccessListCall ¶
StateLedgerAddSlotToEVMAccessListCall wrap *gomock.Call
func (*StateLedgerAddSlotToEVMAccessListCall) Do ¶
func (c *StateLedgerAddSlotToEVMAccessListCall) Do(f func(common.Address, common.Hash)) *StateLedgerAddSlotToEVMAccessListCall
Do rewrite *gomock.Call.Do
func (*StateLedgerAddSlotToEVMAccessListCall) DoAndReturn ¶
func (c *StateLedgerAddSlotToEVMAccessListCall) DoAndReturn(f func(common.Address, common.Hash)) *StateLedgerAddSlotToEVMAccessListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerAddSlotToEVMAccessListCall) Return ¶
func (c *StateLedgerAddSlotToEVMAccessListCall) Return() *StateLedgerAddSlotToEVMAccessListCall
Return rewrite *gomock.Call.Return
type StateLedgerAddressInEVMAccessListCall ¶
StateLedgerAddressInEVMAccessListCall wrap *gomock.Call
func (*StateLedgerAddressInEVMAccessListCall) Do ¶
func (c *StateLedgerAddressInEVMAccessListCall) Do(f func(common.Address) bool) *StateLedgerAddressInEVMAccessListCall
Do rewrite *gomock.Call.Do
func (*StateLedgerAddressInEVMAccessListCall) DoAndReturn ¶
func (c *StateLedgerAddressInEVMAccessListCall) DoAndReturn(f func(common.Address) bool) *StateLedgerAddressInEVMAccessListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerAddressInEVMAccessListCall) Return ¶
func (c *StateLedgerAddressInEVMAccessListCall) Return(arg0 bool) *StateLedgerAddressInEVMAccessListCall
Return rewrite *gomock.Call.Return
type StateLedgerClearCall ¶
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 ¶
func (c *StateLedgerClearCall) Return() *StateLedgerClearCall
Return rewrite *gomock.Call.Return
type StateLedgerClearChangerAndRefundCall ¶
StateLedgerClearChangerAndRefundCall wrap *gomock.Call
func (*StateLedgerClearChangerAndRefundCall) Do ¶
func (c *StateLedgerClearChangerAndRefundCall) Do(f func()) *StateLedgerClearChangerAndRefundCall
Do rewrite *gomock.Call.Do
func (*StateLedgerClearChangerAndRefundCall) DoAndReturn ¶
func (c *StateLedgerClearChangerAndRefundCall) DoAndReturn(f func()) *StateLedgerClearChangerAndRefundCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerClearChangerAndRefundCall) Return ¶
func (c *StateLedgerClearChangerAndRefundCall) Return() *StateLedgerClearChangerAndRefundCall
Return rewrite *gomock.Call.Return
type StateLedgerCloseCall ¶
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 ¶
func (c *StateLedgerCloseCall) Return() *StateLedgerCloseCall
Return rewrite *gomock.Call.Return
type StateLedgerCommitCall ¶
StateLedgerCommitCall wrap *gomock.Call
func (*StateLedgerCommitCall) Do ¶
func (c *StateLedgerCommitCall) Do(f func() (*types.Hash, error)) *StateLedgerCommitCall
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 ¶
func (c *StateLedgerCommitCall) Return(arg0 *types.Hash, arg1 error) *StateLedgerCommitCall
Return rewrite *gomock.Call.Return
type StateLedgerCreateEVMAccountCall ¶
StateLedgerCreateEVMAccountCall wrap *gomock.Call
func (*StateLedgerCreateEVMAccountCall) Do ¶
func (c *StateLedgerCreateEVMAccountCall) Do(f func(common.Address)) *StateLedgerCreateEVMAccountCall
Do rewrite *gomock.Call.Do
func (*StateLedgerCreateEVMAccountCall) DoAndReturn ¶
func (c *StateLedgerCreateEVMAccountCall) DoAndReturn(f func(common.Address)) *StateLedgerCreateEVMAccountCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerCreateEVMAccountCall) Return ¶
func (c *StateLedgerCreateEVMAccountCall) Return() *StateLedgerCreateEVMAccountCall
Return rewrite *gomock.Call.Return
type StateLedgerEmptyEVMCall ¶
StateLedgerEmptyEVMCall wrap *gomock.Call
func (*StateLedgerEmptyEVMCall) Do ¶
func (c *StateLedgerEmptyEVMCall) Do(f func(common.Address) bool) *StateLedgerEmptyEVMCall
Do rewrite *gomock.Call.Do
func (*StateLedgerEmptyEVMCall) DoAndReturn ¶
func (c *StateLedgerEmptyEVMCall) DoAndReturn(f func(common.Address) bool) *StateLedgerEmptyEVMCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerEmptyEVMCall) Return ¶
func (c *StateLedgerEmptyEVMCall) Return(arg0 bool) *StateLedgerEmptyEVMCall
Return rewrite *gomock.Call.Return
type StateLedgerExistEVMCall ¶
StateLedgerExistEVMCall wrap *gomock.Call
func (*StateLedgerExistEVMCall) Do ¶
func (c *StateLedgerExistEVMCall) Do(f func(common.Address) bool) *StateLedgerExistEVMCall
Do rewrite *gomock.Call.Do
func (*StateLedgerExistEVMCall) DoAndReturn ¶
func (c *StateLedgerExistEVMCall) DoAndReturn(f func(common.Address) bool) *StateLedgerExistEVMCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerExistEVMCall) Return ¶
func (c *StateLedgerExistEVMCall) Return(arg0 bool) *StateLedgerExistEVMCall
Return rewrite *gomock.Call.Return
type StateLedgerFinaliseCall ¶
StateLedgerFinaliseCall wrap *gomock.Call
func (*StateLedgerFinaliseCall) Do ¶
func (c *StateLedgerFinaliseCall) Do(f func()) *StateLedgerFinaliseCall
Do rewrite *gomock.Call.Do
func (*StateLedgerFinaliseCall) DoAndReturn ¶
func (c *StateLedgerFinaliseCall) DoAndReturn(f func()) *StateLedgerFinaliseCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerFinaliseCall) Return ¶
func (c *StateLedgerFinaliseCall) Return() *StateLedgerFinaliseCall
Return rewrite *gomock.Call.Return
type StateLedgerGetAccountCall ¶
StateLedgerGetAccountCall wrap *gomock.Call
func (*StateLedgerGetAccountCall) Do ¶
func (c *StateLedgerGetAccountCall) Do(f func(*types.Address) ledger.IAccount) *StateLedgerGetAccountCall
Do rewrite *gomock.Call.Do
func (*StateLedgerGetAccountCall) DoAndReturn ¶
func (c *StateLedgerGetAccountCall) DoAndReturn(f func(*types.Address) ledger.IAccount) *StateLedgerGetAccountCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerGetAccountCall) Return ¶
func (c *StateLedgerGetAccountCall) Return(arg0 ledger.IAccount) *StateLedgerGetAccountCall
Return rewrite *gomock.Call.Return
type StateLedgerGetBalanceCall ¶
StateLedgerGetBalanceCall wrap *gomock.Call
func (*StateLedgerGetBalanceCall) Do ¶
func (c *StateLedgerGetBalanceCall) Do(f func(*types.Address) *big.Int) *StateLedgerGetBalanceCall
Do rewrite *gomock.Call.Do
func (*StateLedgerGetBalanceCall) DoAndReturn ¶
func (c *StateLedgerGetBalanceCall) DoAndReturn(f func(*types.Address) *big.Int) *StateLedgerGetBalanceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerGetBalanceCall) Return ¶
func (c *StateLedgerGetBalanceCall) Return(arg0 *big.Int) *StateLedgerGetBalanceCall
Return rewrite *gomock.Call.Return
type StateLedgerGetCodeCall ¶
StateLedgerGetCodeCall wrap *gomock.Call
func (*StateLedgerGetCodeCall) Do ¶
func (c *StateLedgerGetCodeCall) Do(f func(*types.Address) []byte) *StateLedgerGetCodeCall
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 ¶
func (c *StateLedgerGetCodeCall) Return(arg0 []byte) *StateLedgerGetCodeCall
Return rewrite *gomock.Call.Return
type StateLedgerGetEVMBalanceCall ¶
StateLedgerGetEVMBalanceCall wrap *gomock.Call
func (*StateLedgerGetEVMBalanceCall) Do ¶
func (c *StateLedgerGetEVMBalanceCall) Do(f func(common.Address) *big.Int) *StateLedgerGetEVMBalanceCall
Do rewrite *gomock.Call.Do
func (*StateLedgerGetEVMBalanceCall) DoAndReturn ¶
func (c *StateLedgerGetEVMBalanceCall) DoAndReturn(f func(common.Address) *big.Int) *StateLedgerGetEVMBalanceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerGetEVMBalanceCall) Return ¶
func (c *StateLedgerGetEVMBalanceCall) Return(arg0 *big.Int) *StateLedgerGetEVMBalanceCall
Return rewrite *gomock.Call.Return
type StateLedgerGetEVMCodeCall ¶
StateLedgerGetEVMCodeCall wrap *gomock.Call
func (*StateLedgerGetEVMCodeCall) Do ¶
func (c *StateLedgerGetEVMCodeCall) Do(f func(common.Address) []byte) *StateLedgerGetEVMCodeCall
Do rewrite *gomock.Call.Do
func (*StateLedgerGetEVMCodeCall) DoAndReturn ¶
func (c *StateLedgerGetEVMCodeCall) DoAndReturn(f func(common.Address) []byte) *StateLedgerGetEVMCodeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerGetEVMCodeCall) Return ¶
func (c *StateLedgerGetEVMCodeCall) Return(arg0 []byte) *StateLedgerGetEVMCodeCall
Return rewrite *gomock.Call.Return
type StateLedgerGetEVMCodeHashCall ¶
StateLedgerGetEVMCodeHashCall wrap *gomock.Call
func (*StateLedgerGetEVMCodeHashCall) Do ¶
func (c *StateLedgerGetEVMCodeHashCall) Do(f func(common.Address) common.Hash) *StateLedgerGetEVMCodeHashCall
Do rewrite *gomock.Call.Do
func (*StateLedgerGetEVMCodeHashCall) DoAndReturn ¶
func (c *StateLedgerGetEVMCodeHashCall) DoAndReturn(f func(common.Address) common.Hash) *StateLedgerGetEVMCodeHashCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerGetEVMCodeHashCall) Return ¶
func (c *StateLedgerGetEVMCodeHashCall) Return(arg0 common.Hash) *StateLedgerGetEVMCodeHashCall
Return rewrite *gomock.Call.Return
type StateLedgerGetEVMCodeSizeCall ¶
StateLedgerGetEVMCodeSizeCall wrap *gomock.Call
func (*StateLedgerGetEVMCodeSizeCall) Do ¶
func (c *StateLedgerGetEVMCodeSizeCall) Do(f func(common.Address) int) *StateLedgerGetEVMCodeSizeCall
Do rewrite *gomock.Call.Do
func (*StateLedgerGetEVMCodeSizeCall) DoAndReturn ¶
func (c *StateLedgerGetEVMCodeSizeCall) DoAndReturn(f func(common.Address) int) *StateLedgerGetEVMCodeSizeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerGetEVMCodeSizeCall) Return ¶
func (c *StateLedgerGetEVMCodeSizeCall) Return(arg0 int) *StateLedgerGetEVMCodeSizeCall
Return rewrite *gomock.Call.Return
type StateLedgerGetEVMCommittedStateCall ¶
StateLedgerGetEVMCommittedStateCall wrap *gomock.Call
func (*StateLedgerGetEVMCommittedStateCall) Do ¶
func (c *StateLedgerGetEVMCommittedStateCall) Do(f func(common.Address, common.Hash) common.Hash) *StateLedgerGetEVMCommittedStateCall
Do rewrite *gomock.Call.Do
func (*StateLedgerGetEVMCommittedStateCall) DoAndReturn ¶
func (c *StateLedgerGetEVMCommittedStateCall) DoAndReturn(f func(common.Address, common.Hash) common.Hash) *StateLedgerGetEVMCommittedStateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerGetEVMCommittedStateCall) Return ¶
func (c *StateLedgerGetEVMCommittedStateCall) Return(arg0 common.Hash) *StateLedgerGetEVMCommittedStateCall
Return rewrite *gomock.Call.Return
type StateLedgerGetEVMNonceCall ¶
StateLedgerGetEVMNonceCall wrap *gomock.Call
func (*StateLedgerGetEVMNonceCall) Do ¶
func (c *StateLedgerGetEVMNonceCall) Do(f func(common.Address) uint64) *StateLedgerGetEVMNonceCall
Do rewrite *gomock.Call.Do
func (*StateLedgerGetEVMNonceCall) DoAndReturn ¶
func (c *StateLedgerGetEVMNonceCall) DoAndReturn(f func(common.Address) uint64) *StateLedgerGetEVMNonceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerGetEVMNonceCall) Return ¶
func (c *StateLedgerGetEVMNonceCall) Return(arg0 uint64) *StateLedgerGetEVMNonceCall
Return rewrite *gomock.Call.Return
type StateLedgerGetEVMRefundCall ¶
StateLedgerGetEVMRefundCall wrap *gomock.Call
func (*StateLedgerGetEVMRefundCall) Do ¶
func (c *StateLedgerGetEVMRefundCall) Do(f func() uint64) *StateLedgerGetEVMRefundCall
Do rewrite *gomock.Call.Do
func (*StateLedgerGetEVMRefundCall) DoAndReturn ¶
func (c *StateLedgerGetEVMRefundCall) DoAndReturn(f func() uint64) *StateLedgerGetEVMRefundCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerGetEVMRefundCall) Return ¶
func (c *StateLedgerGetEVMRefundCall) Return(arg0 uint64) *StateLedgerGetEVMRefundCall
Return rewrite *gomock.Call.Return
type StateLedgerGetEVMStateCall ¶
StateLedgerGetEVMStateCall wrap *gomock.Call
func (*StateLedgerGetEVMStateCall) Do ¶
func (c *StateLedgerGetEVMStateCall) Do(f func(common.Address, common.Hash) common.Hash) *StateLedgerGetEVMStateCall
Do rewrite *gomock.Call.Do
func (*StateLedgerGetEVMStateCall) DoAndReturn ¶
func (c *StateLedgerGetEVMStateCall) DoAndReturn(f func(common.Address, common.Hash) common.Hash) *StateLedgerGetEVMStateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerGetEVMStateCall) Return ¶
func (c *StateLedgerGetEVMStateCall) Return(arg0 common.Hash) *StateLedgerGetEVMStateCall
Return rewrite *gomock.Call.Return
type StateLedgerGetEVMTransientStateCall ¶
StateLedgerGetEVMTransientStateCall wrap *gomock.Call
func (*StateLedgerGetEVMTransientStateCall) Do ¶
func (c *StateLedgerGetEVMTransientStateCall) Do(f func(common.Address, common.Hash) common.Hash) *StateLedgerGetEVMTransientStateCall
Do rewrite *gomock.Call.Do
func (*StateLedgerGetEVMTransientStateCall) DoAndReturn ¶
func (c *StateLedgerGetEVMTransientStateCall) DoAndReturn(f func(common.Address, common.Hash) common.Hash) *StateLedgerGetEVMTransientStateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerGetEVMTransientStateCall) Return ¶
func (c *StateLedgerGetEVMTransientStateCall) Return(arg0 common.Hash) *StateLedgerGetEVMTransientStateCall
Return rewrite *gomock.Call.Return
type StateLedgerGetLogsCall ¶
StateLedgerGetLogsCall wrap *gomock.Call
func (*StateLedgerGetLogsCall) Do ¶
func (c *StateLedgerGetLogsCall) Do(f func(types.Hash, uint64, *types.Hash) []*types.EvmLog) *StateLedgerGetLogsCall
Do rewrite *gomock.Call.Do
func (*StateLedgerGetLogsCall) DoAndReturn ¶
func (c *StateLedgerGetLogsCall) DoAndReturn(f func(types.Hash, uint64, *types.Hash) []*types.EvmLog) *StateLedgerGetLogsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerGetLogsCall) Return ¶
func (c *StateLedgerGetLogsCall) Return(arg0 []*types.EvmLog) *StateLedgerGetLogsCall
Return rewrite *gomock.Call.Return
type StateLedgerGetNonceCall ¶
StateLedgerGetNonceCall wrap *gomock.Call
func (*StateLedgerGetNonceCall) Do ¶
func (c *StateLedgerGetNonceCall) Do(f func(*types.Address) uint64) *StateLedgerGetNonceCall
Do rewrite *gomock.Call.Do
func (*StateLedgerGetNonceCall) DoAndReturn ¶
func (c *StateLedgerGetNonceCall) DoAndReturn(f func(*types.Address) uint64) *StateLedgerGetNonceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerGetNonceCall) Return ¶
func (c *StateLedgerGetNonceCall) Return(arg0 uint64) *StateLedgerGetNonceCall
Return rewrite *gomock.Call.Return
type StateLedgerGetOrCreateAccountCall ¶
StateLedgerGetOrCreateAccountCall wrap *gomock.Call
func (*StateLedgerGetOrCreateAccountCall) Do ¶
func (c *StateLedgerGetOrCreateAccountCall) Do(f func(*types.Address) ledger.IAccount) *StateLedgerGetOrCreateAccountCall
Do rewrite *gomock.Call.Do
func (*StateLedgerGetOrCreateAccountCall) DoAndReturn ¶
func (c *StateLedgerGetOrCreateAccountCall) DoAndReturn(f func(*types.Address) ledger.IAccount) *StateLedgerGetOrCreateAccountCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerGetOrCreateAccountCall) Return ¶
func (c *StateLedgerGetOrCreateAccountCall) Return(arg0 ledger.IAccount) *StateLedgerGetOrCreateAccountCall
Return rewrite *gomock.Call.Return
type StateLedgerGetStateCall ¶
StateLedgerGetStateCall wrap *gomock.Call
func (*StateLedgerGetStateCall) Do ¶
func (c *StateLedgerGetStateCall) Do(f func(*types.Address, []byte) (bool, []byte)) *StateLedgerGetStateCall
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 ¶
StateLedgerHasSuicideEVMCall wrap *gomock.Call
func (*StateLedgerHasSuicideEVMCall) Do ¶
func (c *StateLedgerHasSuicideEVMCall) Do(f func(common.Address) bool) *StateLedgerHasSuicideEVMCall
Do rewrite *gomock.Call.Do
func (*StateLedgerHasSuicideEVMCall) DoAndReturn ¶
func (c *StateLedgerHasSuicideEVMCall) DoAndReturn(f func(common.Address) bool) *StateLedgerHasSuicideEVMCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerHasSuicideEVMCall) Return ¶
func (c *StateLedgerHasSuicideEVMCall) Return(arg0 bool) *StateLedgerHasSuicideEVMCall
Return rewrite *gomock.Call.Return
type StateLedgerNewViewCall ¶
StateLedgerNewViewCall wrap *gomock.Call
func (*StateLedgerNewViewCall) Do ¶
func (c *StateLedgerNewViewCall) Do(f func(*types.Block) ledger.StateLedger) *StateLedgerNewViewCall
Do rewrite *gomock.Call.Do
func (*StateLedgerNewViewCall) DoAndReturn ¶
func (c *StateLedgerNewViewCall) DoAndReturn(f func(*types.Block) ledger.StateLedger) *StateLedgerNewViewCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerNewViewCall) Return ¶
func (c *StateLedgerNewViewCall) Return(arg0 ledger.StateLedger) *StateLedgerNewViewCall
Return rewrite *gomock.Call.Return
type StateLedgerNewViewWithoutCacheCall ¶
StateLedgerNewViewWithoutCacheCall wrap *gomock.Call
func (*StateLedgerNewViewWithoutCacheCall) Do ¶
func (c *StateLedgerNewViewWithoutCacheCall) Do(f func(*types.Block) ledger.StateLedger) *StateLedgerNewViewWithoutCacheCall
Do rewrite *gomock.Call.Do
func (*StateLedgerNewViewWithoutCacheCall) DoAndReturn ¶
func (c *StateLedgerNewViewWithoutCacheCall) DoAndReturn(f func(*types.Block) ledger.StateLedger) *StateLedgerNewViewWithoutCacheCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerNewViewWithoutCacheCall) Return ¶
func (c *StateLedgerNewViewWithoutCacheCall) Return(arg0 ledger.StateLedger) *StateLedgerNewViewWithoutCacheCall
Return rewrite *gomock.Call.Return
type StateLedgerPrepareBlockCall ¶
StateLedgerPrepareBlockCall wrap *gomock.Call
func (*StateLedgerPrepareBlockCall) Do ¶
func (c *StateLedgerPrepareBlockCall) Do(f func(*types.Hash, *types.Hash, uint64)) *StateLedgerPrepareBlockCall
Do rewrite *gomock.Call.Do
func (*StateLedgerPrepareBlockCall) DoAndReturn ¶
func (c *StateLedgerPrepareBlockCall) DoAndReturn(f func(*types.Hash, *types.Hash, uint64)) *StateLedgerPrepareBlockCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerPrepareBlockCall) Return ¶
func (c *StateLedgerPrepareBlockCall) Return() *StateLedgerPrepareBlockCall
Return rewrite *gomock.Call.Return
type StateLedgerPrepareEVMCall ¶
StateLedgerPrepareEVMCall wrap *gomock.Call
func (*StateLedgerPrepareEVMCall) Do ¶
func (c *StateLedgerPrepareEVMCall) Do(f func(params.Rules, common.Address, common.Address, *common.Address, []common.Address, types0.AccessList)) *StateLedgerPrepareEVMCall
Do rewrite *gomock.Call.Do
func (*StateLedgerPrepareEVMCall) DoAndReturn ¶
func (c *StateLedgerPrepareEVMCall) DoAndReturn(f func(params.Rules, common.Address, common.Address, *common.Address, []common.Address, types0.AccessList)) *StateLedgerPrepareEVMCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerPrepareEVMCall) Return ¶
func (c *StateLedgerPrepareEVMCall) Return() *StateLedgerPrepareEVMCall
Return rewrite *gomock.Call.Return
type StateLedgerRevertToSnapshotCall ¶
StateLedgerRevertToSnapshotCall wrap *gomock.Call
func (*StateLedgerRevertToSnapshotCall) Do ¶
func (c *StateLedgerRevertToSnapshotCall) Do(f func(int)) *StateLedgerRevertToSnapshotCall
Do rewrite *gomock.Call.Do
func (*StateLedgerRevertToSnapshotCall) DoAndReturn ¶
func (c *StateLedgerRevertToSnapshotCall) DoAndReturn(f func(int)) *StateLedgerRevertToSnapshotCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerRevertToSnapshotCall) Return ¶
func (c *StateLedgerRevertToSnapshotCall) Return() *StateLedgerRevertToSnapshotCall
Return rewrite *gomock.Call.Return
type StateLedgerRollbackStateCall ¶
StateLedgerRollbackStateCall wrap *gomock.Call
func (*StateLedgerRollbackStateCall) Do ¶
func (c *StateLedgerRollbackStateCall) Do(f func(uint64, *types.Hash) error) *StateLedgerRollbackStateCall
Do rewrite *gomock.Call.Do
func (*StateLedgerRollbackStateCall) DoAndReturn ¶
func (c *StateLedgerRollbackStateCall) DoAndReturn(f func(uint64, *types.Hash) error) *StateLedgerRollbackStateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerRollbackStateCall) Return ¶
func (c *StateLedgerRollbackStateCall) Return(arg0 error) *StateLedgerRollbackStateCall
Return rewrite *gomock.Call.Return
type StateLedgerSetBalanceCall ¶
StateLedgerSetBalanceCall wrap *gomock.Call
func (*StateLedgerSetBalanceCall) Do ¶
func (c *StateLedgerSetBalanceCall) Do(f func(*types.Address, *big.Int)) *StateLedgerSetBalanceCall
Do rewrite *gomock.Call.Do
func (*StateLedgerSetBalanceCall) DoAndReturn ¶
func (c *StateLedgerSetBalanceCall) DoAndReturn(f func(*types.Address, *big.Int)) *StateLedgerSetBalanceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerSetBalanceCall) Return ¶
func (c *StateLedgerSetBalanceCall) Return() *StateLedgerSetBalanceCall
Return rewrite *gomock.Call.Return
type StateLedgerSetCodeCall ¶
StateLedgerSetCodeCall wrap *gomock.Call
func (*StateLedgerSetCodeCall) Do ¶
func (c *StateLedgerSetCodeCall) Do(f func(*types.Address, []byte)) *StateLedgerSetCodeCall
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 ¶
func (c *StateLedgerSetCodeCall) Return() *StateLedgerSetCodeCall
Return rewrite *gomock.Call.Return
type StateLedgerSetEVMCodeCall ¶
StateLedgerSetEVMCodeCall wrap *gomock.Call
func (*StateLedgerSetEVMCodeCall) Do ¶
func (c *StateLedgerSetEVMCodeCall) Do(f func(common.Address, []byte)) *StateLedgerSetEVMCodeCall
Do rewrite *gomock.Call.Do
func (*StateLedgerSetEVMCodeCall) DoAndReturn ¶
func (c *StateLedgerSetEVMCodeCall) DoAndReturn(f func(common.Address, []byte)) *StateLedgerSetEVMCodeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerSetEVMCodeCall) Return ¶
func (c *StateLedgerSetEVMCodeCall) Return() *StateLedgerSetEVMCodeCall
Return rewrite *gomock.Call.Return
type StateLedgerSetEVMNonceCall ¶
StateLedgerSetEVMNonceCall wrap *gomock.Call
func (*StateLedgerSetEVMNonceCall) Do ¶
func (c *StateLedgerSetEVMNonceCall) Do(f func(common.Address, uint64)) *StateLedgerSetEVMNonceCall
Do rewrite *gomock.Call.Do
func (*StateLedgerSetEVMNonceCall) DoAndReturn ¶
func (c *StateLedgerSetEVMNonceCall) DoAndReturn(f func(common.Address, uint64)) *StateLedgerSetEVMNonceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerSetEVMNonceCall) Return ¶
func (c *StateLedgerSetEVMNonceCall) Return() *StateLedgerSetEVMNonceCall
Return rewrite *gomock.Call.Return
type StateLedgerSetEVMStateCall ¶
StateLedgerSetEVMStateCall wrap *gomock.Call
func (*StateLedgerSetEVMStateCall) Do ¶
func (c *StateLedgerSetEVMStateCall) Do(f func(common.Address, common.Hash, common.Hash)) *StateLedgerSetEVMStateCall
Do rewrite *gomock.Call.Do
func (*StateLedgerSetEVMStateCall) DoAndReturn ¶
func (c *StateLedgerSetEVMStateCall) DoAndReturn(f func(common.Address, common.Hash, common.Hash)) *StateLedgerSetEVMStateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerSetEVMStateCall) Return ¶
func (c *StateLedgerSetEVMStateCall) Return() *StateLedgerSetEVMStateCall
Return rewrite *gomock.Call.Return
type StateLedgerSetEVMTransientStateCall ¶
StateLedgerSetEVMTransientStateCall wrap *gomock.Call
func (*StateLedgerSetEVMTransientStateCall) Do ¶
func (c *StateLedgerSetEVMTransientStateCall) Do(f func(common.Address, common.Hash, common.Hash)) *StateLedgerSetEVMTransientStateCall
Do rewrite *gomock.Call.Do
func (*StateLedgerSetEVMTransientStateCall) DoAndReturn ¶
func (c *StateLedgerSetEVMTransientStateCall) DoAndReturn(f func(common.Address, common.Hash, common.Hash)) *StateLedgerSetEVMTransientStateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerSetEVMTransientStateCall) Return ¶
func (c *StateLedgerSetEVMTransientStateCall) Return() *StateLedgerSetEVMTransientStateCall
Return rewrite *gomock.Call.Return
type StateLedgerSetNonceCall ¶
StateLedgerSetNonceCall wrap *gomock.Call
func (*StateLedgerSetNonceCall) Do ¶
func (c *StateLedgerSetNonceCall) Do(f func(*types.Address, uint64)) *StateLedgerSetNonceCall
Do rewrite *gomock.Call.Do
func (*StateLedgerSetNonceCall) DoAndReturn ¶
func (c *StateLedgerSetNonceCall) DoAndReturn(f func(*types.Address, uint64)) *StateLedgerSetNonceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerSetNonceCall) Return ¶
func (c *StateLedgerSetNonceCall) Return() *StateLedgerSetNonceCall
Return rewrite *gomock.Call.Return
type StateLedgerSetStateCall ¶
StateLedgerSetStateCall wrap *gomock.Call
func (*StateLedgerSetStateCall) Do ¶
func (c *StateLedgerSetStateCall) Do(f func(*types.Address, []byte, []byte)) *StateLedgerSetStateCall
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 ¶
func (c *StateLedgerSetStateCall) Return() *StateLedgerSetStateCall
Return rewrite *gomock.Call.Return
type StateLedgerSetTxContextCall ¶
StateLedgerSetTxContextCall wrap *gomock.Call
func (*StateLedgerSetTxContextCall) Do ¶
func (c *StateLedgerSetTxContextCall) Do(f func(*types.Hash, int)) *StateLedgerSetTxContextCall
Do rewrite *gomock.Call.Do
func (*StateLedgerSetTxContextCall) DoAndReturn ¶
func (c *StateLedgerSetTxContextCall) DoAndReturn(f func(*types.Hash, int)) *StateLedgerSetTxContextCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerSetTxContextCall) Return ¶
func (c *StateLedgerSetTxContextCall) Return() *StateLedgerSetTxContextCall
Return rewrite *gomock.Call.Return
type StateLedgerSlotInEVMAceessListCall ¶
StateLedgerSlotInEVMAceessListCall wrap *gomock.Call
func (*StateLedgerSlotInEVMAceessListCall) Do ¶
func (c *StateLedgerSlotInEVMAceessListCall) Do(f func(common.Address, common.Hash) (bool, bool)) *StateLedgerSlotInEVMAceessListCall
Do rewrite *gomock.Call.Do
func (*StateLedgerSlotInEVMAceessListCall) DoAndReturn ¶
func (c *StateLedgerSlotInEVMAceessListCall) DoAndReturn(f func(common.Address, common.Hash) (bool, bool)) *StateLedgerSlotInEVMAceessListCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerSlotInEVMAceessListCall) Return ¶
func (c *StateLedgerSlotInEVMAceessListCall) Return(addressOk, slotOk bool) *StateLedgerSlotInEVMAceessListCall
Return rewrite *gomock.Call.Return
type StateLedgerSnapshotCall ¶
StateLedgerSnapshotCall wrap *gomock.Call
func (*StateLedgerSnapshotCall) Do ¶
func (c *StateLedgerSnapshotCall) Do(f func() int) *StateLedgerSnapshotCall
Do rewrite *gomock.Call.Do
func (*StateLedgerSnapshotCall) DoAndReturn ¶
func (c *StateLedgerSnapshotCall) DoAndReturn(f func() int) *StateLedgerSnapshotCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerSnapshotCall) Return ¶
func (c *StateLedgerSnapshotCall) Return(arg0 int) *StateLedgerSnapshotCall
Return rewrite *gomock.Call.Return
type StateLedgerSubEVMBalanceCall ¶
StateLedgerSubEVMBalanceCall wrap *gomock.Call
func (*StateLedgerSubEVMBalanceCall) Do ¶
func (c *StateLedgerSubEVMBalanceCall) Do(f func(common.Address, *big.Int)) *StateLedgerSubEVMBalanceCall
Do rewrite *gomock.Call.Do
func (*StateLedgerSubEVMBalanceCall) DoAndReturn ¶
func (c *StateLedgerSubEVMBalanceCall) DoAndReturn(f func(common.Address, *big.Int)) *StateLedgerSubEVMBalanceCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerSubEVMBalanceCall) Return ¶
func (c *StateLedgerSubEVMBalanceCall) Return() *StateLedgerSubEVMBalanceCall
Return rewrite *gomock.Call.Return
type StateLedgerSubEVMRefundCall ¶
StateLedgerSubEVMRefundCall wrap *gomock.Call
func (*StateLedgerSubEVMRefundCall) Do ¶
func (c *StateLedgerSubEVMRefundCall) Do(f func(uint64)) *StateLedgerSubEVMRefundCall
Do rewrite *gomock.Call.Do
func (*StateLedgerSubEVMRefundCall) DoAndReturn ¶
func (c *StateLedgerSubEVMRefundCall) DoAndReturn(f func(uint64)) *StateLedgerSubEVMRefundCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerSubEVMRefundCall) Return ¶
func (c *StateLedgerSubEVMRefundCall) Return() *StateLedgerSubEVMRefundCall
Return rewrite *gomock.Call.Return
type StateLedgerSuicideEVMCall ¶
StateLedgerSuicideEVMCall wrap *gomock.Call
func (*StateLedgerSuicideEVMCall) Do ¶
func (c *StateLedgerSuicideEVMCall) Do(f func(common.Address) bool) *StateLedgerSuicideEVMCall
Do rewrite *gomock.Call.Do
func (*StateLedgerSuicideEVMCall) DoAndReturn ¶
func (c *StateLedgerSuicideEVMCall) DoAndReturn(f func(common.Address) bool) *StateLedgerSuicideEVMCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerSuicideEVMCall) Return ¶
func (c *StateLedgerSuicideEVMCall) Return(arg0 bool) *StateLedgerSuicideEVMCall
Return rewrite *gomock.Call.Return
type StateLedgerVersionCall ¶
StateLedgerVersionCall wrap *gomock.Call
func (*StateLedgerVersionCall) Do ¶
func (c *StateLedgerVersionCall) Do(f func() uint64) *StateLedgerVersionCall
Do rewrite *gomock.Call.Do
func (*StateLedgerVersionCall) DoAndReturn ¶
func (c *StateLedgerVersionCall) DoAndReturn(f func() uint64) *StateLedgerVersionCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*StateLedgerVersionCall) Return ¶
func (c *StateLedgerVersionCall) Return(arg0 uint64) *StateLedgerVersionCall
Return rewrite *gomock.Call.Return