mirror of
https://github.com/datahaven-xyz/datahaven
synced 2026-05-24 01:38:32 +00:00
fix: Tweak Stagenet runtime params for StorageHub (#188)
Additionnally, fix prefunded account balances based on SUPPLY_FACTOR in Stagenet & Testnet runtimes.
This commit is contained in:
parent
eb94be1e3f
commit
edbde1cdea
4 changed files with 7 additions and 7 deletions
|
|
@ -209,7 +209,7 @@ pub mod dynamic_params {
|
|||
/// volunteered BSPs is ~1%.
|
||||
#[codec(index = 23)]
|
||||
#[allow(non_upper_case_globals)]
|
||||
pub static BasicReplicationTarget: ReplicationTargetType = 7;
|
||||
pub static BasicReplicationTarget: ReplicationTargetType = 1;
|
||||
|
||||
/// The amount of BSPs that a standard security storage request should use as the replication target.
|
||||
///
|
||||
|
|
@ -218,7 +218,7 @@ pub mod dynamic_params {
|
|||
/// volunteered BSPs is ~0.1%.
|
||||
#[codec(index = 24)]
|
||||
#[allow(non_upper_case_globals)]
|
||||
pub static StandardReplicationTarget: ReplicationTargetType = 12;
|
||||
pub static StandardReplicationTarget: ReplicationTargetType = 2;
|
||||
|
||||
/// The amount of BSPs that a high security storage request should use as the replication target.
|
||||
///
|
||||
|
|
@ -227,7 +227,7 @@ pub mod dynamic_params {
|
|||
/// volunteered BSPs is ~0.01%.
|
||||
#[codec(index = 25)]
|
||||
#[allow(non_upper_case_globals)]
|
||||
pub static HighSecurityReplicationTarget: ReplicationTargetType = 17;
|
||||
pub static HighSecurityReplicationTarget: ReplicationTargetType = 3;
|
||||
|
||||
/// The amount of BSPs that a super high security storage request should use as the replication target.
|
||||
///
|
||||
|
|
@ -236,7 +236,7 @@ pub mod dynamic_params {
|
|||
/// volunteered BSPs is ~0.001%.
|
||||
#[codec(index = 26)]
|
||||
#[allow(non_upper_case_globals)]
|
||||
pub static SuperHighSecurityReplicationTarget: ReplicationTargetType = 22;
|
||||
pub static SuperHighSecurityReplicationTarget: ReplicationTargetType = 4;
|
||||
|
||||
/// The amount of BSPs that an ultra high security storage request should use as the replication target.
|
||||
///
|
||||
|
|
@ -245,7 +245,7 @@ pub mod dynamic_params {
|
|||
/// volunteered BSPs is ~0.0001%.
|
||||
#[codec(index = 27)]
|
||||
#[allow(non_upper_case_globals)]
|
||||
pub static UltraHighSecurityReplicationTarget: ReplicationTargetType = 26;
|
||||
pub static UltraHighSecurityReplicationTarget: ReplicationTargetType = 5;
|
||||
|
||||
/// The maximum amount of BSPs that a user can require a storage request to use as the replication target.
|
||||
///
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ fn testnet_genesis(
|
|||
balances: endowed_accounts
|
||||
.iter()
|
||||
.cloned()
|
||||
.map(|k| (k, 1u128 << 110))
|
||||
.map(|k| (k, 1u128 << 80))
|
||||
.collect::<Vec<_>>(),
|
||||
},
|
||||
babe: pallet_babe::GenesisConfig {
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ fn testnet_genesis(
|
|||
balances: endowed_accounts
|
||||
.iter()
|
||||
.cloned()
|
||||
.map(|k| (k, 1u128 << 110))
|
||||
.map(|k| (k, 1u128 << 80))
|
||||
.collect::<Vec<_>>(),
|
||||
},
|
||||
babe: pallet_babe::GenesisConfig {
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Reference in a new issue