-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add comments and remove unused constants.
- Loading branch information
Matthew Witkowski
committed
Oct 30, 2023
1 parent
220e9b3
commit 5bc07e3
Showing
4 changed files
with
18 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
package ibcratelimit | ||
|
||
import ( | ||
errorsmod "cosmossdk.io/errors" | ||
cerrs "cosmossdk.io/errors" | ||
) | ||
|
||
var ( | ||
ErrRateLimitExceeded = errorsmod.Register(ModuleName, 2, "rate limit exceeded") | ||
ErrBadMessage = errorsmod.Register(ModuleName, 3, "bad message") | ||
ErrContractError = errorsmod.Register(ModuleName, 4, "contract error") | ||
ErrRateLimitExceeded = cerrs.Register(ModuleName, 2, "rate limit exceeded") | ||
ErrBadMessage = cerrs.Register(ModuleName, 3, "bad message") | ||
ErrContractError = cerrs.Register(ModuleName, 4, "contract error") | ||
) |
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