mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 21:17:56 +00:00
Companion for paritytech/substrate#13811 (#6998)
* Companion for paritytech/substrate#13811 * Add comment * update lockfile for {"substrate"} * Update Substrate Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> * Fix pallet weight warnings Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> --------- Signed-off-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io> Co-authored-by: parity-processbot <> Co-authored-by: Oliver Tale-Yazdi <oliver.tale-yazdi@parity.io>
This commit is contained in:
Generated
+195
-183
File diff suppressed because it is too large
Load Diff
@@ -86,6 +86,14 @@ const DEFAULT_CONFIG: Config = Config {
|
||||
// On the one hand, it simplifies the code, on the other, however, slows down compile times
|
||||
// for execute requests. This behavior may change in future.
|
||||
parallel_compilation: false,
|
||||
|
||||
// WASM extensions. Only those that are meaningful to us may be controlled here. By default,
|
||||
// we're using WASM MVP, which means all the extensions are disabled. Nevertheless, some
|
||||
// extensions (e.g., sign extension ops) are enabled by Wasmtime and cannot be disabled.
|
||||
wasm_reference_types: false,
|
||||
wasm_simd: false,
|
||||
wasm_bulk_memory: false,
|
||||
wasm_multi_value: false,
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ pub mod pallet {
|
||||
///
|
||||
/// The new validators will be active from current session + 2.
|
||||
#[pallet::call_index(0)]
|
||||
#[pallet::weight(100_000)]
|
||||
#[pallet::weight({100_000})]
|
||||
pub fn register_validators(
|
||||
origin: OriginFor<T>,
|
||||
validators: Vec<T::ValidatorId>,
|
||||
@@ -84,7 +84,7 @@ pub mod pallet {
|
||||
///
|
||||
/// The removed validators will be deactivated from current session + 2.
|
||||
#[pallet::call_index(1)]
|
||||
#[pallet::weight(100_000)]
|
||||
#[pallet::weight({100_000})]
|
||||
pub fn deregister_validators(
|
||||
origin: OriginFor<T>,
|
||||
validators: Vec<T::ValidatorId>,
|
||||
|
||||
@@ -542,7 +542,7 @@ impl pallet_test_notifier::Config for Runtime {
|
||||
type RuntimeCall = RuntimeCall;
|
||||
}
|
||||
|
||||
#[frame_support::pallet]
|
||||
#[frame_support::pallet(dev_mode)]
|
||||
pub mod pallet_test_notifier {
|
||||
use frame_support::pallet_prelude::*;
|
||||
use frame_system::pallet_prelude::*;
|
||||
|
||||
Reference in New Issue
Block a user