integrate pallet changes into the runtime
Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
parent
9f5a214cd5
commit
ab37f862f5
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "casper-runtime"
|
||||
version = "4.0.11"
|
||||
version = "4.0.12"
|
||||
build = "build.rs"
|
||||
description = "Runtime of the Casper Network"
|
||||
edition.workspace = true
|
||||
|
||||
@ -15,7 +15,7 @@ use frame_support::{
|
||||
traits::{
|
||||
fungible::HoldConsideration,
|
||||
tokens::{imbalance::ResolveTo, UnityAssetBalanceConversion},
|
||||
ConstU128, ConstU32, InstanceFilter, KeyOwnerProofSystem,
|
||||
ConstU128, ConstU32, ConstU8, InstanceFilter, KeyOwnerProofSystem,
|
||||
LinearStoragePrice,
|
||||
},
|
||||
};
|
||||
@ -860,7 +860,7 @@ impl ghost_nomination_pools::Config for Runtime {
|
||||
type PalletId = PoolsPalletId;
|
||||
type MaxPointsToBalance = MaxPointsToBalance;
|
||||
type AdminOrigin = EnsureRoot<Self::AccountId>;
|
||||
type WeightInfo = weights::ghost_nomination_pools::WeightInfo<Runtime>;
|
||||
type WeightInfo = weights::ghost_nomination_pools::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
impl ghost_networks::Config for Runtime {
|
||||
@ -887,7 +887,8 @@ impl ghost_governance::Config for Runtime {
|
||||
type Currency = Balances;
|
||||
type NetworkDataHandler = GhostNetworks;
|
||||
type MinimumDonation = ConstU128<{ 6_900 * STRH }>;
|
||||
type MaxProofDepth = ConstU32<20>;
|
||||
type MaxProofDepth = ConstU32<18>;
|
||||
type MaxPartialClaims = ConstU8<20>;
|
||||
|
||||
type WeightInfo = weights::ghost_governance::WeightInfo<Runtime>;
|
||||
}
|
||||
@ -913,6 +914,7 @@ parameter_types! {
|
||||
pub ExodusDkgRoundPeriod: u64 = 50;
|
||||
pub ExodusRemovalLimit: u32 = 64;
|
||||
pub ExodusMaxCursorLen: u32 = 100;
|
||||
pub MinBridgeOut: u128 = 500 * STRH;
|
||||
}
|
||||
|
||||
impl ghost_weaver::Config for Runtime {
|
||||
@ -951,6 +953,7 @@ impl ghost_exodus::Config for Runtime {
|
||||
type DkgRoundPeriod = ExodusDkgRoundPeriod;
|
||||
type RemovalLimit = ExodusRemovalLimit;
|
||||
type MaxCursorLen = ExodusMaxCursorLen;
|
||||
type BaseEvmAmount = MinBridgeOut;
|
||||
|
||||
type WeightInfo = weights::ghost_exodus::WeightInfo<Runtime>;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user