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

difftreelog

Testing node for forkless updates

str-mv2021-01-12parent: #31c9ea3.patch.diff
in: master

2 files changed

modifiedpallets/nft/src/lib.rsdiffbeforeafterboth
--- a/pallets/nft/src/lib.rs
+++ b/pallets/nft/src/lib.rs
@@ -1503,6 +1503,14 @@
             Ok(())
         }
 
+        #[weight = T::WeightInfo::add_to_contract_white_list()]
+        pub fn wasm_dummy_method(
+            origin
+        ) -> DispatchResult {
+            let sender = ensure_signed(origin)?;
+            Ok(())
+        }
+
         /// Remove an address from smart contract white list.
         /// 
         /// # Permissions
modifiedruntime/src/lib.rsdiffbeforeafterboth
143 spec_name: create_runtime_str!("nft"),143 spec_name: create_runtime_str!("nft"),
144 impl_name: create_runtime_str!("nft"),144 impl_name: create_runtime_str!("nft"),
145 authoring_version: 1,145 authoring_version: 1,
146 spec_version: 2,146 spec_version: 3,
147 impl_version: 1,147 impl_version: 1,
148 apis: RUNTIME_API_VERSIONS,148 apis: RUNTIME_API_VERSIONS,
149 transaction_version: 1,149 transaction_version: 1,