From dc1fefd785d4dc3a5ef2dc0ca4d716efcfa93b75 Mon Sep 17 00:00:00 2001 From: Igor Kozyrev Date: Tue, 09 Nov 2021 15:17:07 +0000 Subject: [PATCH] fix: pallets Weights traits definition --- --- a/pallets/fungible/src/weights.rs +++ b/pallets/fungible/src/weights.rs @@ -32,6 +32,7 @@ /// Weight functions needed for pallet_fungible. pub trait WeightInfo { fn create_item() -> Weight; + fn burn_from() -> Weight; fn burn_item() -> Weight; fn transfer() -> Weight; fn approve() -> Weight; --- a/pallets/nonfungible/src/weights.rs +++ b/pallets/nonfungible/src/weights.rs @@ -33,6 +33,7 @@ pub trait WeightInfo { fn create_item() -> Weight; fn create_multiple_items(b: u32, ) -> Weight; + fn burn_from() -> Weight; fn burn_item() -> Weight; fn transfer() -> Weight; fn approve() -> Weight; --- a/pallets/refungible/src/weights.rs +++ b/pallets/refungible/src/weights.rs @@ -33,6 +33,7 @@ pub trait WeightInfo { fn create_item() -> Weight; fn create_multiple_items(b: u32, ) -> Weight; + fn burn_from() -> Weight; fn burn_item_partial() -> Weight; fn burn_item_fully() -> Weight; fn transfer_normal() -> Weight; -- gitstuff