Documentation ¶
Overview ¶
Package parsermocks is a generated GoMock package.
Index ¶
- type MockParser
- func (m *MockParser) CompareNativeBlocks(arg0 context.Context, arg1 uint64, arg2, arg3 *chainstorage.NativeBlock) error
- func (m *MockParser) EXPECT() *MockParserMockRecorder
- func (m *MockParser) GetNativeTransaction(arg0 context.Context, arg1 *chainstorage.NativeBlock, arg2 string) (*chainstorage.NativeTransaction, error)
- func (m *MockParser) ParseNativeBlock(arg0 context.Context, arg1 *chainstorage.Block) (*chainstorage.NativeBlock, error)
- func (m *MockParser) ParseRosettaBlock(arg0 context.Context, arg1 *chainstorage.Block) (*chainstorage.RosettaBlock, error)
- func (m *MockParser) ValidateAccountState(arg0 context.Context, arg1 *chainstorage.ValidateAccountStateRequest) (*chainstorage.ValidateAccountStateResponse, error)
- func (m *MockParser) ValidateBlock(arg0 context.Context, arg1 *chainstorage.NativeBlock) error
- func (m *MockParser) ValidateRosettaBlock(arg0 context.Context, arg1 *chainstorage.ValidateRosettaBlockRequest, ...) error
- type MockParserMockRecorder
- func (mr *MockParserMockRecorder) CompareNativeBlocks(arg0, arg1, arg2, arg3 any) *gomock.Call
- func (mr *MockParserMockRecorder) GetNativeTransaction(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockParserMockRecorder) ParseNativeBlock(arg0, arg1 any) *gomock.Call
- func (mr *MockParserMockRecorder) ParseRosettaBlock(arg0, arg1 any) *gomock.Call
- func (mr *MockParserMockRecorder) ValidateAccountState(arg0, arg1 any) *gomock.Call
- func (mr *MockParserMockRecorder) ValidateBlock(arg0, arg1 any) *gomock.Call
- func (mr *MockParserMockRecorder) ValidateRosettaBlock(arg0, arg1, arg2 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockParser ¶
type MockParser struct {
// contains filtered or unexported fields
}
MockParser is a mock of Parser interface.
func NewMockParser ¶
func NewMockParser(ctrl *gomock.Controller) *MockParser
NewMockParser creates a new mock instance.
func (*MockParser) CompareNativeBlocks ¶
func (m *MockParser) CompareNativeBlocks(arg0 context.Context, arg1 uint64, arg2, arg3 *chainstorage.NativeBlock) error
CompareNativeBlocks mocks base method.
func (*MockParser) EXPECT ¶
func (m *MockParser) EXPECT() *MockParserMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockParser) GetNativeTransaction ¶
func (m *MockParser) GetNativeTransaction(arg0 context.Context, arg1 *chainstorage.NativeBlock, arg2 string) (*chainstorage.NativeTransaction, error)
GetNativeTransaction mocks base method.
func (*MockParser) ParseNativeBlock ¶
func (m *MockParser) ParseNativeBlock(arg0 context.Context, arg1 *chainstorage.Block) (*chainstorage.NativeBlock, error)
ParseNativeBlock mocks base method.
func (*MockParser) ParseRosettaBlock ¶
func (m *MockParser) ParseRosettaBlock(arg0 context.Context, arg1 *chainstorage.Block) (*chainstorage.RosettaBlock, error)
ParseRosettaBlock mocks base method.
func (*MockParser) ValidateAccountState ¶
func (m *MockParser) ValidateAccountState(arg0 context.Context, arg1 *chainstorage.ValidateAccountStateRequest) (*chainstorage.ValidateAccountStateResponse, error)
ValidateAccountState mocks base method.
func (*MockParser) ValidateBlock ¶
func (m *MockParser) ValidateBlock(arg0 context.Context, arg1 *chainstorage.NativeBlock) error
ValidateBlock mocks base method.
func (*MockParser) ValidateRosettaBlock ¶
func (m *MockParser) ValidateRosettaBlock(arg0 context.Context, arg1 *chainstorage.ValidateRosettaBlockRequest, arg2 *chainstorage.RosettaBlock) error
ValidateRosettaBlock mocks base method.
type MockParserMockRecorder ¶
type MockParserMockRecorder struct {
// contains filtered or unexported fields
}
MockParserMockRecorder is the mock recorder for MockParser.
func (*MockParserMockRecorder) CompareNativeBlocks ¶
func (mr *MockParserMockRecorder) CompareNativeBlocks(arg0, arg1, arg2, arg3 any) *gomock.Call
CompareNativeBlocks indicates an expected call of CompareNativeBlocks.
func (*MockParserMockRecorder) GetNativeTransaction ¶
func (mr *MockParserMockRecorder) GetNativeTransaction(arg0, arg1, arg2 any) *gomock.Call
GetNativeTransaction indicates an expected call of GetNativeTransaction.
func (*MockParserMockRecorder) ParseNativeBlock ¶
func (mr *MockParserMockRecorder) ParseNativeBlock(arg0, arg1 any) *gomock.Call
ParseNativeBlock indicates an expected call of ParseNativeBlock.
func (*MockParserMockRecorder) ParseRosettaBlock ¶
func (mr *MockParserMockRecorder) ParseRosettaBlock(arg0, arg1 any) *gomock.Call
ParseRosettaBlock indicates an expected call of ParseRosettaBlock.
func (*MockParserMockRecorder) ValidateAccountState ¶
func (mr *MockParserMockRecorder) ValidateAccountState(arg0, arg1 any) *gomock.Call
ValidateAccountState indicates an expected call of ValidateAccountState.
func (*MockParserMockRecorder) ValidateBlock ¶
func (mr *MockParserMockRecorder) ValidateBlock(arg0, arg1 any) *gomock.Call
ValidateBlock indicates an expected call of ValidateBlock.
func (*MockParserMockRecorder) ValidateRosettaBlock ¶
func (mr *MockParserMockRecorder) ValidateRosettaBlock(arg0, arg1, arg2 any) *gomock.Call
ValidateRosettaBlock indicates an expected call of ValidateRosettaBlock.