Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/oty-fix-warnings' into s0me0ne/w…
Browse files Browse the repository at this point in the history
…asm-expose-exts
  • Loading branch information
ggwpez committed Apr 4, 2023
2 parents 6841db3 + fd7e055 commit f28a721
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions runtime/rococo/src/validator_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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>,
Expand All @@ -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>,
Expand Down
2 changes: 1 addition & 1 deletion runtime/test-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;
Expand Down

0 comments on commit f28a721

Please sign in to comment.