-
Notifications
You must be signed in to change notification settings - Fork 992
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'tiago/wasm-errs-ux' (#2940)
* tiago/wasm-errs-ux: Changelog for #2940 Generalize VP status codes Add `bitflags` dep Poison tx gas meter on gas overflow Prevent gas overflows from being ignored during VP execution Remove explicit out-of-gas checks during VP execution Rebuild wasms for tests Fix wasm unit tests Return a result of unit from VPs rather than of bools Extend bools and results with new helper methods
- Loading branch information
Showing
76 changed files
with
2,530 additions
and
1,790 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- Change the return type of a VP's predicate function to a Result of unit or | ||
some error. In case Namada users perform invalid state changes, they should | ||
be met with more descriptive error messages explaining the cause of their tx's | ||
rejection. ([\#2940](https://github.com/anoma/namada/pull/2940)) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.