Documentation ¶
Index ¶
- type IngestRPC
- func (_m *IngestRPC) ExecuteScriptAtBlockID(ctx context.Context, script []byte, arguments [][]byte, ...) ([]byte, error)
- func (_m *IngestRPC) GetAccount(ctx context.Context, address flow.Address, blockID flow.Identifier) (*flow.Account, error)
- func (_m *IngestRPC) GetRegisterAtBlockID(ctx context.Context, owner []byte, key []byte, blockID flow.Identifier) ([]byte, error)
- type NewIngestRPCT
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IngestRPC ¶
IngestRPC is an autogenerated mock type for the IngestRPC type
func NewIngestRPC ¶ added in v0.26.1
func NewIngestRPC(t NewIngestRPCT) *IngestRPC
NewIngestRPC creates a new instance of IngestRPC. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*IngestRPC) ExecuteScriptAtBlockID ¶
func (_m *IngestRPC) ExecuteScriptAtBlockID(ctx context.Context, script []byte, arguments [][]byte, blockID flow.Identifier) ([]byte, error)
ExecuteScriptAtBlockID provides a mock function with given fields: ctx, script, arguments, blockID
type NewIngestRPCT ¶ added in v0.27.0
Click to show internal directories.
Click to hide internal directories.