Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
v15: Make trait version optional
Signed-off-by: Alexandru Vasile <[email protected]>
  • Loading branch information
lexnv committed Jan 20, 2023
commit cd88281e2586f30e8ccae9740b0e09b53f81190c
2 changes: 1 addition & 1 deletion frame-metadata/src/v15.rs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ pub struct TraitMetadata<T: Form = MetaForm> {
/// Trait name.
pub name: T::String,
/// Trait version.
pub version: u64,
pub version: Option<u64>,
/// Trait methods.
pub methods: Vec<MethodMetadata<T>>,
/// Trait documentation.
Expand Down