From 8f426b7cd8b491ddbcc677787868ef7f608d8fa4 Mon Sep 17 00:00:00 2001 From: henryliu <17600047539@163.com> Date: Sat, 6 Aug 2022 03:47:40 +0800 Subject: [PATCH 1/2] add devnet version --- runtime/web3games/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/web3games/src/lib.rs b/runtime/web3games/src/lib.rs index af57125..cea30cc 100644 --- a/runtime/web3games/src/lib.rs +++ b/runtime/web3games/src/lib.rs @@ -414,7 +414,7 @@ where } parameter_types! { - pub const ChainId: u64 = 104; + pub const ChainId: u64 = 105; pub BlockGasLimit: U256 = U256::from(u32::max_value()); pub PrecompilesValue: Web3GamesPrecompiles = Web3GamesPrecompiles::<_>::new(); } From 9ea9897c047803b74a8c514162f3509df23ef8b6 Mon Sep 17 00:00:00 2001 From: henryliu <17600047539@163.com> Date: Sun, 14 Aug 2022 21:36:39 +0800 Subject: [PATCH 2/2] Update Treasury Destruction Settings --- runtime/web3games/src/lib.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/web3games/src/lib.rs b/runtime/web3games/src/lib.rs index cea30cc..4cf60e1 100644 --- a/runtime/web3games/src/lib.rs +++ b/runtime/web3games/src/lib.rs @@ -128,7 +128,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("web3games-node"), impl_name: create_runtime_str!("web3games-node"), authoring_version: 1, - spec_version: 1, + spec_version: 2, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 1, @@ -576,8 +576,8 @@ parameter_types! { parameter_types! { pub const ProposalBond: Permill = Permill::from_percent(5); pub const ProposalBondMinimum: Balance = 1 * DOLLARS; - pub const SpendPeriod: BlockNumber = 1 * DAYS; - pub const Burn: Permill = Permill::from_percent(50); + pub const SpendPeriod: BlockNumber = 6 * DAYS; + pub const Burn: Permill = Permill::from_percent(0); pub const TipCountdown: BlockNumber = 1 * DAYS; pub const TipFindersFee: Percent = Percent::from_percent(20); pub const TipReportDepositBase: Balance = 1 * DOLLARS;