ibc: modular client messages (#7160)
* ibc: modular client messages * more updates * remove client messages * fixes * fix tests * lint * Apply suggestions from code review Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> * codec.go tests * cleanup exported * MsgCreateClient test * msg tests * Apply suggestions from code review Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> * fix tests * proto files update * errors * address comments * spec changes * add sanity check test cases * add additional sanity check * fix expPass * fix build and remove unnecessary test since validatebasic is checked in the msg Co-authored-by: colin axnér <25233464+colin-axner@users.noreply.github.com> Co-authored-by: Aditya Sripal <adityasripal@gmail.com> Co-authored-by: Colin Axner <colinaxner@berkeley.edu>
This commit is contained in:
co-authored by
colin axnér
Aditya Sripal
Colin Axner
parent
1c9158b746
commit
0fffaf589b
@@ -117,6 +117,12 @@ var (
|
||||
// the signer info doesn't match the account's actual sequence number.
|
||||
ErrWrongSequence = Register(RootCodespace, 32, "incorrect account sequence")
|
||||
|
||||
// ErrPackAny defines an error when packing a protobuf message to Any fails.
|
||||
ErrPackAny = Register(RootCodespace, 33, "failed packing protobuf message to Any")
|
||||
|
||||
// ErrUnpackAny defines an error when unpacking a protobuf message from Any fails.
|
||||
ErrUnpackAny = Register(RootCodespace, 34, "failed unpacking protobuf message from Any")
|
||||
|
||||
// ErrPanic is only set when we recover from a panic, so we know to
|
||||
// redact potentially sensitive system info
|
||||
ErrPanic = Register(UndefinedCodespace, 111222, "panic")
|
||||
|
||||
Reference in New Issue
Block a user