Skip to content
Snippets Groups Projects
Unverified Commit 524a41a6 authored by bgallois's avatar bgallois
Browse files

update xtask to polkadot-v1.9.0

parent 122ec00e
No related branches found
No related tags found
1 merge request!254Refac generated documentation
This diff is collapsed.
...@@ -16,7 +16,7 @@ name = "xtask" ...@@ -16,7 +16,7 @@ name = "xtask"
anyhow = { workspace = true, features = ["std"] } anyhow = { workspace = true, features = ["std"] }
clap = { workspace = true, features = ["derive"] } clap = { workspace = true, features = ["derive"] }
codec = { workspace = true, features = ["derive", "full", "bit-vec"] } codec = { workspace = true, features = ["derive", "full", "bit-vec"] }
frame-metadata = { workspace = true } frame-metadata = { workspace = true, features = ["current", "std"] }
graphql_client = { workspace = true } graphql_client = { workspace = true }
hex = { workspace = true, features = ["alloc"] } hex = { workspace = true, features = ["alloc"] }
memmap2 = { workspace = true } memmap2 = { workspace = true }
......
...@@ -161,8 +161,8 @@ impl From<&scale_info::Variant<PortableForm>> for Call { ...@@ -161,8 +161,8 @@ impl From<&scale_info::Variant<PortableForm>> for Call {
impl From<&scale_info::Field<PortableForm>> for CallParam { impl From<&scale_info::Field<PortableForm>> for CallParam {
fn from(field: &scale_info::Field<PortableForm>) -> Self { fn from(field: &scale_info::Field<PortableForm>) -> Self {
Self { Self {
name: field.clone().name.unwrap_or_default(), name: field.clone().name.unwrap_or_default().to_string(),
type_name: field.clone().type_name.unwrap_or_default(), type_name: field.clone().type_name.unwrap_or_default().to_string(),
} }
} }
} }
...@@ -180,8 +180,8 @@ impl From<&scale_info::Variant<PortableForm>> for Event { ...@@ -180,8 +180,8 @@ impl From<&scale_info::Variant<PortableForm>> for Event {
impl From<&scale_info::Field<PortableForm>> for EventParam { impl From<&scale_info::Field<PortableForm>> for EventParam {
fn from(field: &scale_info::Field<PortableForm>) -> Self { fn from(field: &scale_info::Field<PortableForm>) -> Self {
Self { Self {
name: field.clone().name.unwrap_or_default(), name: field.clone().name.unwrap_or_default().to_string(),
type_name: field.clone().type_name.unwrap_or_default(), type_name: field.clone().type_name.unwrap_or_default().to_string(),
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment