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]
|
[package]
|
||||||
name = "casper-runtime"
|
name = "casper-runtime"
|
||||||
version = "4.0.11"
|
version = "4.0.12"
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
description = "Runtime of the Casper Network"
|
description = "Runtime of the Casper Network"
|
||||||
edition.workspace = true
|
edition.workspace = true
|
||||||
|
|||||||
@ -15,7 +15,7 @@ use frame_support::{
|
|||||||
traits::{
|
traits::{
|
||||||
fungible::HoldConsideration,
|
fungible::HoldConsideration,
|
||||||
tokens::{imbalance::ResolveTo, UnityAssetBalanceConversion},
|
tokens::{imbalance::ResolveTo, UnityAssetBalanceConversion},
|
||||||
ConstU128, ConstU32, InstanceFilter, KeyOwnerProofSystem,
|
ConstU128, ConstU32, ConstU8, InstanceFilter, KeyOwnerProofSystem,
|
||||||
LinearStoragePrice,
|
LinearStoragePrice,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
@ -887,7 +887,8 @@ impl ghost_governance::Config for Runtime {
|
|||||||
type Currency = Balances;
|
type Currency = Balances;
|
||||||
type NetworkDataHandler = GhostNetworks;
|
type NetworkDataHandler = GhostNetworks;
|
||||||
type MinimumDonation = ConstU128<{ 6_900 * STRH }>;
|
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>;
|
type WeightInfo = weights::ghost_governance::WeightInfo<Runtime>;
|
||||||
}
|
}
|
||||||
@ -913,6 +914,7 @@ parameter_types! {
|
|||||||
pub ExodusDkgRoundPeriod: u64 = 50;
|
pub ExodusDkgRoundPeriod: u64 = 50;
|
||||||
pub ExodusRemovalLimit: u32 = 64;
|
pub ExodusRemovalLimit: u32 = 64;
|
||||||
pub ExodusMaxCursorLen: u32 = 100;
|
pub ExodusMaxCursorLen: u32 = 100;
|
||||||
|
pub MinBridgeOut: u128 = 500 * STRH;
|
||||||
}
|
}
|
||||||
|
|
||||||
impl ghost_weaver::Config for Runtime {
|
impl ghost_weaver::Config for Runtime {
|
||||||
@ -951,6 +953,7 @@ impl ghost_exodus::Config for Runtime {
|
|||||||
type DkgRoundPeriod = ExodusDkgRoundPeriod;
|
type DkgRoundPeriod = ExodusDkgRoundPeriod;
|
||||||
type RemovalLimit = ExodusRemovalLimit;
|
type RemovalLimit = ExodusRemovalLimit;
|
||||||
type MaxCursorLen = ExodusMaxCursorLen;
|
type MaxCursorLen = ExodusMaxCursorLen;
|
||||||
|
type BaseEvmAmount = MinBridgeOut;
|
||||||
|
|
||||||
type WeightInfo = weights::ghost_exodus::WeightInfo<Runtime>;
|
type WeightInfo = weights::ghost_exodus::WeightInfo<Runtime>;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user