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
--- 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;
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
33pub trait WeightInfo {33pub trait WeightInfo {
34 fn create_item() -> Weight;34 fn create_item() -> Weight;
35 fn create_multiple_items(b: u32, ) -> Weight;35 fn create_multiple_items(b: u32, ) -> Weight;
36 fn burn_from() -> Weight;
36 fn burn_item_partial() -> Weight;37 fn burn_item_partial() -> Weight;
37 fn burn_item_fully() -> Weight;38 fn burn_item_fully() -> Weight;
38 fn transfer_normal() -> Weight;39 fn transfer_normal() -> Weight;