integrate pallet changes into the runtime

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch 2026-09-25 14:23:47 +03:00
parent 9f5a214cd5
commit ab37f862f5
Signed by: str3tch
GPG Key ID: 84F3190747EE79AA
2 changed files with 7 additions and 4 deletions

View File

@ -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

View File

@ -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>;
}