Documentation ¶
Index ¶
- type EvmFactorier
- type PalomaClienter
- func (_m *PalomaClienter) AddExternalChainInfo(ctx context.Context, chainInfos ...paloma.ChainInfoIn) error
- func (_m *PalomaClienter) AddMessageEvidence(ctx context.Context, queueTypeName string, messageID uint64, ...) error
- func (_m *PalomaClienter) BlockHeight(_a0 context.Context) (int64, error)
- func (_m *PalomaClienter) BroadcastMessageSignatures(ctx context.Context, signatures ...paloma.BroadcastMessageSignatureIn) error
- func (_m *PalomaClienter) GetCreator() string
- func (_m *PalomaClienter) GetValidator(ctx context.Context) (*types.Validator, error)
- func (_m *PalomaClienter) GetValidatorAddress() cosmos_sdktypes.ValAddress
- func (_m *PalomaClienter) GravityConfirmBatches(ctx context.Context, signatures ...chain.SignedGravityOutgoingTxBatch) error
- func (_m *PalomaClienter) GravityQueryBatchesForRelaying(ctx context.Context, chainReferenceID string) ([]chain.GravityBatchWithSignatures, error)
- func (_m *PalomaClienter) GravityQueryLastUnsignedBatch(ctx context.Context, chainReferenceID string) ([]gravitytypes.OutgoingTxBatch, error)
- func (_m *PalomaClienter) KeepValidatorAlive(ctx context.Context, appVersion string) error
- func (_m *PalomaClienter) NewStatus() paloma.StatusUpdater
- func (_m *PalomaClienter) QueryGetEVMChainInfos(ctx context.Context) ([]*evmtypes.ChainInfo, error)
- func (_m *PalomaClienter) QueryGetEVMValsetByID(ctx context.Context, id uint64, chainID string) (*evmtypes.Valset, error)
- func (_m *PalomaClienter) QueryGetSnapshotByID(ctx context.Context, id uint64) (*valsettypes.Snapshot, error)
- func (_m *PalomaClienter) QueryGetValidatorAliveUntilBlockHeight(ctx context.Context) (int64, error)
- func (_m *PalomaClienter) QueryMessagesForAttesting(ctx context.Context, queueTypeName string) ([]chain.MessageWithSignatures, error)
- func (_m *PalomaClienter) QueryMessagesForRelaying(ctx context.Context, queueTypeName string) ([]chain.MessageWithSignatures, error)
- func (_m *PalomaClienter) QueryMessagesForSigning(ctx context.Context, queueTypeName string) ([]chain.QueuedMessage, error)
- func (_m *PalomaClienter) QueryValidatorInfo(ctx context.Context) ([]*valsettypes.ExternalChainInfo, error)
- func (_m *PalomaClienter) SetErrorData(ctx context.Context, queueTypeName string, messageID uint64, data []byte) error
- func (_m *PalomaClienter) SetPublicAccessData(ctx context.Context, queueTypeName string, messageID uint64, data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EvmFactorier ¶
EvmFactorier is an autogenerated mock type for the EvmFactorier type
func NewEvmFactorier ¶
func NewEvmFactorier(t interface { mock.TestingT Cleanup(func()) }, ) *EvmFactorier
NewEvmFactorier creates a new instance of EvmFactorier. 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 (*EvmFactorier) Build ¶
func (_m *EvmFactorier) Build(cfg config.EVM, chainReferenceID string, smartContractID string, smartContractABIJson string, smartContractAddress string, chainID *big.Int, blockHeight int64, blockHeightHash common.Hash, minOnChainBalance *big.Int, mevClient mev.Client) (chain.Processor, error)
Build provides a mock function with given fields: cfg, chainReferenceID, smartContractID, smartContractABIJson, smartContractAddress, chainID, blockHeight, blockHeightHash, minOnChainBalance, mevClient
type PalomaClienter ¶
PalomaClienter is an autogenerated mock type for the PalomaClienter type
func NewPalomaClienter ¶
func NewPalomaClienter(t interface { mock.TestingT Cleanup(func()) }, ) *PalomaClienter
NewPalomaClienter creates a new instance of PalomaClienter. 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 (*PalomaClienter) AddExternalChainInfo ¶
func (_m *PalomaClienter) AddExternalChainInfo(ctx context.Context, chainInfos ...paloma.ChainInfoIn) error
AddExternalChainInfo provides a mock function with given fields: ctx, chainInfos
func (*PalomaClienter) AddMessageEvidence ¶
func (_m *PalomaClienter) AddMessageEvidence(ctx context.Context, queueTypeName string, messageID uint64, proof proto.Message) error
AddMessageEvidence provides a mock function with given fields: ctx, queueTypeName, messageID, proof
func (*PalomaClienter) BlockHeight ¶ added in v0.4.0
func (_m *PalomaClienter) BlockHeight(_a0 context.Context) (int64, error)
BlockHeight provides a mock function with given fields: _a0
func (*PalomaClienter) BroadcastMessageSignatures ¶
func (_m *PalomaClienter) BroadcastMessageSignatures(ctx context.Context, signatures ...paloma.BroadcastMessageSignatureIn) error
BroadcastMessageSignatures provides a mock function with given fields: ctx, signatures
func (*PalomaClienter) GetCreator ¶ added in v1.8.0
func (_m *PalomaClienter) GetCreator() string
GetCreator provides a mock function with given fields:
func (*PalomaClienter) GetValidator ¶ added in v0.7.0
GetValidator provides a mock function with given fields: ctx
func (*PalomaClienter) GetValidatorAddress ¶ added in v0.4.0
func (_m *PalomaClienter) GetValidatorAddress() cosmos_sdktypes.ValAddress
GetValidatorAddress provides a mock function with given fields:
func (*PalomaClienter) GravityConfirmBatches ¶ added in v1.8.0
func (_m *PalomaClienter) GravityConfirmBatches(ctx context.Context, signatures ...chain.SignedGravityOutgoingTxBatch) error
GravityConfirmBatches provides a mock function with given fields: ctx, signatures
func (*PalomaClienter) GravityQueryBatchesForRelaying ¶ added in v1.8.0
func (_m *PalomaClienter) GravityQueryBatchesForRelaying(ctx context.Context, chainReferenceID string) ([]chain.GravityBatchWithSignatures, error)
GravityQueryBatchesForRelaying provides a mock function with given fields: ctx, chainReferenceID
func (*PalomaClienter) GravityQueryLastUnsignedBatch ¶ added in v1.8.0
func (_m *PalomaClienter) GravityQueryLastUnsignedBatch(ctx context.Context, chainReferenceID string) ([]gravitytypes.OutgoingTxBatch, error)
GravityQueryLastUnsignedBatch provides a mock function with given fields: ctx, chainReferenceID
func (*PalomaClienter) KeepValidatorAlive ¶ added in v0.5.0
func (_m *PalomaClienter) KeepValidatorAlive(ctx context.Context, appVersion string) error
KeepValidatorAlive provides a mock function with given fields: ctx, appVersion
func (*PalomaClienter) NewStatus ¶ added in v1.10.2
func (_m *PalomaClienter) NewStatus() paloma.StatusUpdater
NewStatus provides a mock function with given fields:
func (*PalomaClienter) QueryGetEVMChainInfos ¶
QueryGetEVMChainInfos provides a mock function with given fields: ctx
func (*PalomaClienter) QueryGetEVMValsetByID ¶
func (_m *PalomaClienter) QueryGetEVMValsetByID(ctx context.Context, id uint64, chainID string) (*evmtypes.Valset, error)
QueryGetEVMValsetByID provides a mock function with given fields: ctx, id, chainID
func (*PalomaClienter) QueryGetSnapshotByID ¶ added in v0.4.0
func (_m *PalomaClienter) QueryGetSnapshotByID(ctx context.Context, id uint64) (*valsettypes.Snapshot, error)
QueryGetSnapshotByID provides a mock function with given fields: ctx, id
func (*PalomaClienter) QueryGetValidatorAliveUntilBlockHeight ¶ added in v1.8.0
func (_m *PalomaClienter) QueryGetValidatorAliveUntilBlockHeight(ctx context.Context) (int64, error)
QueryGetValidatorAliveUntilBlockHeight provides a mock function with given fields: ctx
func (*PalomaClienter) QueryMessagesForAttesting ¶ added in v1.2.0
func (_m *PalomaClienter) QueryMessagesForAttesting(ctx context.Context, queueTypeName string) ([]chain.MessageWithSignatures, error)
QueryMessagesForAttesting provides a mock function with given fields: ctx, queueTypeName
func (*PalomaClienter) QueryMessagesForRelaying ¶ added in v1.2.0
func (_m *PalomaClienter) QueryMessagesForRelaying(ctx context.Context, queueTypeName string) ([]chain.MessageWithSignatures, error)
QueryMessagesForRelaying provides a mock function with given fields: ctx, queueTypeName
func (*PalomaClienter) QueryMessagesForSigning ¶
func (_m *PalomaClienter) QueryMessagesForSigning(ctx context.Context, queueTypeName string) ([]chain.QueuedMessage, error)
QueryMessagesForSigning provides a mock function with given fields: ctx, queueTypeName
func (*PalomaClienter) QueryValidatorInfo ¶
func (_m *PalomaClienter) QueryValidatorInfo(ctx context.Context) ([]*valsettypes.ExternalChainInfo, error)
QueryValidatorInfo provides a mock function with given fields: ctx
func (*PalomaClienter) SetErrorData ¶ added in v1.2.0
func (_m *PalomaClienter) SetErrorData(ctx context.Context, queueTypeName string, messageID uint64, data []byte) error
SetErrorData provides a mock function with given fields: ctx, queueTypeName, messageID, data
func (*PalomaClienter) SetPublicAccessData ¶
func (_m *PalomaClienter) SetPublicAccessData(ctx context.Context, queueTypeName string, messageID uint64, data []byte) error
SetPublicAccessData provides a mock function with given fields: ctx, queueTypeName, messageID, data