-
Notifications
You must be signed in to change notification settings - Fork 607
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* reverted errors to the ibc standard * revision change * updated dependencies * fix rate limit errors * fixed rate limit errors * updated versions * updated commit to after the merge * convert new error * new go mod * increment error codes * updated go mod to latest ibc-hooks Co-authored-by: Dev Ojha <[email protected]>
- Loading branch information
1 parent
b2293ef
commit a2dc28a
Showing
10 changed files
with
52 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
package types | ||
|
||
import sdkerrors "github.com/cosmos/cosmos-sdk/types/errors" | ||
|
||
var ( | ||
ErrBadPacketMetadataMsg = "cannot unmarshal metadata: '%v'. %s" | ||
ErrBadMetadataFormatMsg = "wasm metadata not properly formatted for: '%v'. %s" | ||
ErrBadExecutionMsg = "cannot execute contract: %v" | ||
ErrBadResponse = "cannot create response: %v" | ||
|
||
ErrMsgValidation = sdkerrors.Register("wasm-hooks", 2, "error in wasmhook message validation") | ||
ErrMarshaling = sdkerrors.Register("wasm-hooks", 3, "cannot marshal the ICS20 packet") | ||
ErrInvalidPacket = sdkerrors.Register("wasm-hooks", 4, "invalid packet data") | ||
ErrBadResponse = sdkerrors.Register("wasm-hooks", 5, "cannot create response") | ||
ErrWasmError = sdkerrors.Register("wasm-hooks", 6, "wasm error") | ||
ErrBadSender = sdkerrors.Register("wasm-hooks", 7, "bad sender") | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters