-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PR: #690 updated `ParamType` and added names for `struct` and `enum` types and their fields/variants. This was later removed in PR: #885 as we completely changed how log decoding is done. This PR returns struct and enum names (also fields/variants) so that users can use `ParamTypes` at runtime to debug log or return receipts. In addition, users are able to go directly from `ProgramABI` and some data to decoded debug. Here is an example how this is used: BREAKING CHANGE: `EnumVariants` are now imported through `param_types::EnumVariants`
- Loading branch information
Showing
24 changed files
with
2,756 additions
and
2,116 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
Oops, something went wrong.