Documentation ¶
Index ¶
- type CelestiaRPCClient
- func (_m *CelestiaRPCClient) Get(ctx context.Context, height uint64, namespace share.Namespace, ...) (*blob.Blob, error)
- func (_m *CelestiaRPCClient) GetAll(_a0 context.Context, _a1 uint64, _a2 []share.Namespace) ([]*blob.Blob, error)
- func (_m *CelestiaRPCClient) GetHeaders(ctx context.Context, height uint64) (*header.ExtendedHeader, error)
- func (_m *CelestiaRPCClient) GetProof(ctx context.Context, height uint64, namespace share.Namespace, ...) (*blob.Proof, error)
- func (_m *CelestiaRPCClient) Included(ctx context.Context, height uint64, namespace share.Namespace, ...) (bool, error)
- func (_m *CelestiaRPCClient) Submit(ctx context.Context, blobs []*blob.Blob, options *client.SubmitOptions) (uint64, error)
- func (_m *CelestiaRPCClient) SubmitPayForBlob(ctx context.Context, fee math.Int, gasLim uint64, blobs []*blob.Blob) (*sdk.TxResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CelestiaRPCClient ¶
CelestiaRPCClient is an autogenerated mock type for the CelestiaRPCClient type
func NewCelestiaRPCClient ¶
func NewCelestiaRPCClient(t interface { mock.TestingT Cleanup(func()) }) *CelestiaRPCClient
NewCelestiaRPCClient creates a new instance of CelestiaRPCClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*CelestiaRPCClient) Get ¶
func (_m *CelestiaRPCClient) Get(ctx context.Context, height uint64, namespace share.Namespace, commitment blob.Commitment) (*blob.Blob, error)
Get provides a mock function with given fields: ctx, height, namespace, commitment
func (*CelestiaRPCClient) GetAll ¶
func (_m *CelestiaRPCClient) GetAll(_a0 context.Context, _a1 uint64, _a2 []share.Namespace) ([]*blob.Blob, error)
GetAll provides a mock function with given fields: _a0, _a1, _a2
func (*CelestiaRPCClient) GetHeaders ¶
func (_m *CelestiaRPCClient) GetHeaders(ctx context.Context, height uint64) (*header.ExtendedHeader, error)
GetHeaders provides a mock function with given fields: ctx, height
func (*CelestiaRPCClient) GetProof ¶
func (_m *CelestiaRPCClient) GetProof(ctx context.Context, height uint64, namespace share.Namespace, commitment blob.Commitment) (*blob.Proof, error)
GetProof provides a mock function with given fields: ctx, height, namespace, commitment
func (*CelestiaRPCClient) Included ¶
func (_m *CelestiaRPCClient) Included(ctx context.Context, height uint64, namespace share.Namespace, proof *blob.Proof, commitment blob.Commitment) (bool, error)
Included provides a mock function with given fields: ctx, height, namespace, proof, commitment
func (*CelestiaRPCClient) Submit ¶
func (_m *CelestiaRPCClient) Submit(ctx context.Context, blobs []*blob.Blob, options *client.SubmitOptions) (uint64, error)
Submit provides a mock function with given fields: ctx, blobs, options
func (*CelestiaRPCClient) SubmitPayForBlob ¶
func (_m *CelestiaRPCClient) SubmitPayForBlob(ctx context.Context, fee math.Int, gasLim uint64, blobs []*blob.Blob) (*sdk.TxResponse, error)
SubmitPayForBlob provides a mock function with given fields: ctx, fee, gasLim, blobs