--- 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 --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -143,7 +143,7 @@ spec_name: create_runtime_str!("nft"), impl_name: create_runtime_str!("nft"), authoring_version: 1, - spec_version: 2, + spec_version: 3, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1,