From 78c7d818c878a4013fa22dd4fef8703f0765d3a1 Mon Sep 17 00:00:00 2001 From: linning Date: Tue, 12 Dec 2023 04:42:06 +0800 Subject: [PATCH] Enable storage access by default This essentially enable signed extrinsic for non-sudo account by default Signed-off-by: linning --- crates/subspace-node/src/chain_spec.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/crates/subspace-node/src/chain_spec.rs b/crates/subspace-node/src/chain_spec.rs index e1e33289b4..b23a790911 100644 --- a/crates/subspace-node/src/chain_spec.rs +++ b/crates/subspace-node/src/chain_spec.rs @@ -157,7 +157,7 @@ pub fn gemini_3g_compiled() -> Result, vesting_schedules, GenesisParams { enable_rewards: false, - enable_storage_access: false, + enable_storage_access: true, allow_authoring_by: AllowAuthoringBy::RootFarmer( FarmerPublicKey::unchecked_from(hex_literal::hex!( "8aecbcf0b404590ddddc01ebacb205a562d12fdb5c2aa6a4035c1a20f23c9515" @@ -270,7 +270,7 @@ pub fn devnet_config_compiled() -> Result Result, String> vec![], GenesisParams { enable_rewards: false, - enable_storage_access: false, + enable_storage_access: true, allow_authoring_by: AllowAuthoringBy::Anyone, pot_slot_iterations: NonZeroU32::new(100_000_000).expect("Not zero; qed"), enable_domains: true, @@ -403,7 +403,7 @@ pub fn local_config() -> Result, String vec![], GenesisParams { enable_rewards: false, - enable_storage_access: false, + enable_storage_access: true, allow_authoring_by: AllowAuthoringBy::Anyone, pot_slot_iterations: NonZeroU32::new(100_000_000).expect("Not zero; qed"), enable_domains: true,