diff --git a/runtimes/polimec/src/lib.rs b/runtimes/polimec/src/lib.rs index 18b5a9d2b..d79d9dc69 100644 --- a/runtimes/polimec/src/lib.rs +++ b/runtimes/polimec/src/lib.rs @@ -205,7 +205,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("polimec-mainnet"), impl_name: create_runtime_str!("polimec-mainnet"), authoring_version: 1, - spec_version: 0_007_004, + spec_version: 0_007_005, impl_version: 0, apis: RUNTIME_API_VERSIONS, transaction_version: 3, @@ -251,7 +251,13 @@ impl Contains for BaseCallFilter { pallet_funding::Call::root_do_remainder_funding { .. } | pallet_funding::Call::root_do_end_funding { .. } | pallet_funding::Call::root_do_project_decision { .. } | - pallet_funding::Call::root_do_start_settlement { .. } + pallet_funding::Call::root_do_start_settlement { .. } | + pallet_funding::Call::settle_successful_evaluation { .. } | + pallet_funding::Call::settle_failed_evaluation { .. } | + pallet_funding::Call::settle_successful_bid { .. } | + pallet_funding::Call::settle_failed_bid { .. } | + pallet_funding::Call::settle_successful_contribution { .. } | + pallet_funding::Call::settle_failed_contribution { .. } ) }, _ => true, diff --git a/runtimes/shared-configuration/src/funding.rs b/runtimes/shared-configuration/src/funding.rs index de75a4e43..d514f1063 100644 --- a/runtimes/shared-configuration/src/funding.rs +++ b/runtimes/shared-configuration/src/funding.rs @@ -22,7 +22,7 @@ use polimec_common::USD_UNIT; use sp_arithmetic::{FixedU128, Percent}; use sp_std::{collections::btree_map::BTreeMap, vec, vec::Vec}; -#[cfg(feature = "fast-mode")] +#[cfg(any(feature = "fast-mode", not(any(feature = "fast-mode", feature = "instant-mode"))))] use parachains_common::HOURS; #[cfg(feature = "instant-mode")] @@ -86,7 +86,7 @@ pub const SUCCESS_TO_SETTLEMENT_TIME: BlockNumber = 4; #[cfg(feature = "fast-mode")] pub const SUCCESS_TO_SETTLEMENT_TIME: BlockNumber = 5 * crate::MINUTES; #[cfg(not(any(feature = "fast-mode", feature = "instant-mode")))] -pub const SUCCESS_TO_SETTLEMENT_TIME: BlockNumber = 4 * crate::DAYS; +pub const SUCCESS_TO_SETTLEMENT_TIME: BlockNumber = 1 * HOURS; pub type ProjectIdentifier = u32;