* update version negotiation and add basic testing * add integration tests * update spec * apply @fedekunze suggestions * update to enforce connection validation checks * add test * update godoc and spec * small doc fix * update versioning to feature set * update version code and tests to specified version tuple * update docs/spec * merge and fix bug * Update x/ibc/03-connection/types/version.go Co-authored-by: Aditya <adityasripal@gmail.com> * Apply suggestions from code review Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com> * add verify proposed feature set test * fix formatting bug * add safety check * merge tests into existing handshake tests Co-authored-by: Aditya <adityasripal@gmail.com> Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
17 lines
497 B
Go
17 lines
497 B
Go
package host
|
|
|
|
import (
|
|
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
|
|
)
|
|
|
|
// SubModuleName defines the ICS 24 host
|
|
const SubModuleName = "host"
|
|
|
|
// IBC client sentinel errors
|
|
var (
|
|
ErrInvalidID = sdkerrors.Register(SubModuleName, 2, "invalid identifier")
|
|
ErrInvalidPath = sdkerrors.Register(SubModuleName, 3, "invalid path")
|
|
ErrInvalidPacket = sdkerrors.Register(SubModuleName, 4, "invalid packet")
|
|
ErrInvalidVersion = sdkerrors.Register(SubModuleName, 5, "invalid version")
|
|
)
|