diff --git a/pallets/audit/src/lib.rs b/pallets/audit/src/lib.rs index 7ee46a25..43d6862e 100644 --- a/pallets/audit/src/lib.rs +++ b/pallets/audit/src/lib.rs @@ -405,6 +405,9 @@ pub mod pallet { }; challenge_info.prove_info.idle_prove = Some(idle_prove_info); + if challenge_info.prove_info.service_prove.is_some() { + >::insert(&sender, u8::MIN); + } } else { return Err(Error::::Submitted)? } @@ -454,6 +457,9 @@ pub mod pallet { }; challenge_info.prove_info.service_prove = Some(service_prove_info); + if challenge_info.prove_info.idle_prove.is_some() { + >::insert(&sender, u8::MIN); + } } else { return Err(Error::::Submitted)? } diff --git a/standalone/chain/runtime/src/lib.rs b/standalone/chain/runtime/src/lib.rs index c72dcb0f..10456c89 100644 --- a/standalone/chain/runtime/src/lib.rs +++ b/standalone/chain/runtime/src/lib.rs @@ -175,7 +175,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // `spec_version`, and `authoring_version` are the same between Wasm and native. // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use // the compatible custom types. - spec_version: 101, + spec_version: 102, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1,