Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a new error to support utility pallet / check_app_id #36

Merged
merged 1 commit into from
Jul 26, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions primitives/avail/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ pub enum InvalidTransactionCustomId {
ForbiddenAppId,
/// Max padded length was exceeded.
MaxPaddedLenExceeded,
/// Max recursion was reached for a call with AppId != 0.
MaxRecursionExceeded,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Need a corresponding PR for avail repo, mainly about the error code section in the readme, if not anything else.
https://github.com/availproject/avail#transaction-custom-ids

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, here's the corresponding PR with the readme updated:
availproject/avail#177

}

/// Provides an implementation of [`frame_support::traits::Randomness`] that should only be used in
Expand Down
Loading