git.delta.rocks / unique-network / refs/commits / dc1fefd785d4

difftreelog

fix pallets Weights traits definition

Igor Kozyrev2021-11-09parent: #a6dbd3f.patch.diff
in: master

3 files changed

modifiedpallets/fungible/src/weights.rsdiffbeforeafterboth
32/// Weight functions needed for pallet_fungible.32/// Weight functions needed for pallet_fungible.
33pub trait WeightInfo {33pub trait WeightInfo {
34 fn create_item() -> Weight;34 fn create_item() -> Weight;
35 fn burn_from() -> Weight;
35 fn burn_item() -> Weight;36 fn burn_item() -> Weight;
36 fn transfer() -> Weight;37 fn transfer() -> Weight;
37 fn approve() -> Weight;38 fn approve() -> Weight;
modifiedpallets/nonfungible/src/weights.rsdiffbeforeafterboth
--- 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;
modifiedpallets/refungible/src/weights.rsdiffbeforeafterboth
--- 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;