mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 16:21:02 +00:00
WIP
This commit is contained in:
@@ -20,6 +20,7 @@ pallet-aura = { version = "2.0.0-rc6", default-features = false }
|
||||
pallet-balances = { version = "2.0.0-rc6", default-features = false }
|
||||
pallet-grandpa = { version = "2.0.0-rc6", default-features = false }
|
||||
pallet-randomness-collective-flip = { version = "2.0.0-rc6", default-features = false }
|
||||
pallet-staking = { version = "2.0.0-rc6", default-features = false }
|
||||
pallet-sudo = { version = "2.0.0-rc6", default-features = false }
|
||||
pallet-timestamp = { version = "2.0.0-rc6", default-features = false }
|
||||
pallet-transaction-payment = { version = "2.0.0-rc6", default-features = false }
|
||||
|
||||
@@ -82,6 +82,7 @@ pub use frame_support::{
|
||||
StorageValue,
|
||||
};
|
||||
pub use pallet_balances::Call as BalancesCall;
|
||||
pub use pallet_staking::Call as StakingCall;
|
||||
pub use pallet_timestamp::Call as TimestampCall;
|
||||
#[cfg(any(feature = "std", test))]
|
||||
pub use sp_runtime::BuildStorage;
|
||||
@@ -305,6 +306,31 @@ impl pallet_sudo::Trait for Runtime {
|
||||
type Call = Call;
|
||||
}
|
||||
|
||||
// impl pallet_staking::Trait for Runtime {
|
||||
// type Currency = Balances;
|
||||
// type UnixTime = pallet_timestamp::Module<Self>;
|
||||
// type CurrencyToVote = CurrencyToVoteHandler;
|
||||
// type RewardRemainder = ();
|
||||
// type Event = ();
|
||||
// type Slash = ();
|
||||
// type Reward = ();
|
||||
// type SessionsPerEra = ();
|
||||
// type SlashDeferDuration = ();
|
||||
// type SlashCancelOrigin = frame_system::EnsureRoot<Self::AccountId>;
|
||||
// type BondingDuration = ();
|
||||
// type SessionInterface = Self;
|
||||
// type RewardCurve = RewardCurve;
|
||||
// type NextNewSession = Session;
|
||||
// type ElectionLookahead = ();
|
||||
// type Call = Call;
|
||||
// type MaxIterations = MaxIterations;
|
||||
// type MinSolutionScoreBump = ();
|
||||
// type MaxNominatorRewardedPerValidator = MaxNominatorRewardedPerValidator;
|
||||
// type UnsignedPriority = ();
|
||||
// type WeightInfo = ();
|
||||
// }
|
||||
|
||||
|
||||
construct_runtime!(
|
||||
pub enum Runtime where
|
||||
Block = Block,
|
||||
|
||||
Reference in New Issue
Block a user