diff --git a/relayer/src/sdk_error.rs b/relayer/src/sdk_error.rs index 97f3f90c55..b4c7a2acee 100644 --- a/relayer/src/sdk_error.rs +++ b/relayer/src/sdk_error.rs @@ -32,85 +32,85 @@ define_error! { |_| { "light client already exists" }, InvalidLightClient - |_| { "light client already exists" }, + |_| { "light client is invalid" }, LightClientNotFound - |_| { "light client already exists" }, + |_| { "light client not found" }, FrozenLightClient - |_| { "light client already exists" }, + |_| { "light client is frozen due to misbehaviour" }, InvalidClientMetadata - |_| { "light client already exists" }, + |_| { "invalid client metadata" }, ConsensusStateNotFound - |_| { "light client already exists" }, + |_| { "consensus state not found" }, InvalidConsensusState - |_| { "light client already exists" }, + |_| { "invalid consensus state" }, ClientTypeNotFound - |_| { "light client already exists" }, + |_| { "client type not found" }, InvalidClientType - |_| { "light client already exists" }, + |_| { "invalid client type" }, CommitmentRootNotFound - |_| { "light client already exists" }, + |_| { "commitment root not found" }, InvalidClientHeader - |_| { "light client already exists" }, + |_| { "invalid client header" }, InvalidLightClientMisbehavior - |_| { "light client already exists" }, + |_| { "invalid light client misbehaviour" }, ClientStateVerificationFailed - |_| { "light client already exists" }, + |_| { "client state verification failed" }, ClientConsensusStateVerificationFailed - |_| { "light client already exists" }, + |_| { "client consensus state verification failed" }, ConnectionStateVerificationFailed - |_| { "light client already exists" }, + |_| { "connection state verification failed" }, ChannelStateVerificationFailed - |_| { "light client already exists" }, + |_| { "channel state verification failed" }, PacketCommitmentVerificationFailed - |_| { "light client already exists" }, + |_| { "packet commitment verification failed" }, PacketAcknowledgementVerificationFailed - |_| { "light client already exists" }, + |_| { "packet acknowledgement verification failed" }, PacketReceiptVerificationFailed - |_| { "light client already exists" }, + |_| { "packet receipt verification failed" }, NextSequenceReceiveVerificationFailed - |_| { "light client already exists" }, + |_| { "next sequence receive verification failed" }, SelfConsensusStateNotFound - |_| { "light client already exists" }, + |_| { "self consensus state not found" }, UpdateLightClientFailed - |_| { "light client already exists" }, + |_| { "unable to update light client" }, InvalidUpdateClientProposal - |_| { "light client already exists" }, + |_| { "invalid update client proposal" }, InvalidClientUpgrade - |_| { "light client already exists" }, + |_| { "invalid client upgrade" }, InvalidHeight - |_| { "light client already exists" }, + |_| { "invalid height" }, InvalidClientStateSubstitute - |_| { "light client already exists" }, + |_| { "invalid client state substitute" }, InvalidUpgradeProposal - |_| { "light client already exists" }, + |_| { "invalid upgrade proposal" }, InactiveClient - |_| { "light client already exists" }, + |_| { "client is not active" }, UnknownClient { code: u32 }