diff --git a/runtime/casper/Cargo.toml b/runtime/casper/Cargo.toml index 36e02e6..dd163fc 100644 --- a/runtime/casper/Cargo.toml +++ b/runtime/casper/Cargo.toml @@ -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 diff --git a/runtime/casper/src/lib.rs b/runtime/casper/src/lib.rs index 368707c..a2177bc 100644 --- a/runtime/casper/src/lib.rs +++ b/runtime/casper/src/lib.rs @@ -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; - type WeightInfo = weights::ghost_nomination_pools::WeightInfo; + type WeightInfo = weights::ghost_nomination_pools::WeightInfo; } 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; } @@ -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; }