Skip to content

Commit

Permalink
Update substrate/frame/support/src/traits/view_function.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Guillaume Thiolliere <[email protected]>
  • Loading branch information
re-gius and gui1117 authored Jan 17, 2025
1 parent f9be388 commit 051dcdd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions substrate/frame/support/src/traits/view_function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ pub trait ViewFunctionIdPrefix {
fn prefix() -> [u8; 16];
}

/// Automatically implemented for each pallet view function method by the macro [`pallet`](crate::pallet).
pub trait ViewFunctionIdSuffix {
const SUFFIX: [u8; 16];
}
Expand Down

0 comments on commit 051dcdd

Please sign in to comment.