Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lower testnet min nominator bond #186

Merged
merged 4 commits into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions chain-spec/chainSpecTN3.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"balances": [
[
"5Fy26cwbon8k8Pfx6YRJdeA6W6P8rbZH7mo57uRiLUyZmMSo",
600000000000
500000000000000
],
[
"5EWQqmfGFzFVr39cGQKFN1gWkFwtLcLwNx4QubwuwM7DHUTv",
Expand Down Expand Up @@ -18350,11 +18350,11 @@
[
"5Fy26cwbon8k8Pfx6YRJdeA6W6P8rbZH7mo57uRiLUyZmMSo",
"5Fy26cwbon8k8Pfx6YRJdeA6W6P8rbZH7mo57uRiLUyZmMSo",
100000000,
500000000000,
"Validator"
]
],
"minNominatorBond": 50000000000,
"minNominatorBond": 5000000,
"minValidatorBond": 500000000000,
"maxValidatorCount": 100,
"maxNominatorCount": 1000
Expand All @@ -18377,7 +18377,7 @@
"treasury": {},
"nominationPools": {
"minJoinBond": 1000000,
"minCreateBond": 1000000,
"minCreateBond": 5000000,
"maxPools": 512,
"maxMembersPerPool": 5000,
"maxMembers": 512,
Expand Down
8 changes: 4 additions & 4 deletions node/src/chain_spec/testnet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ pub fn testnet_config<'a>(backup: Option<&'a str>) -> Result<ChainSpec, String>
(
// 5GpsQN8PxCcRPAzuEVTASqzRFX3fDQUb1dHvRkAUt8Dxg7su
hex!["ac9add5297f10ff04001f1f13fc51be3639ab3aacd03e57c000421c3a500a034"].into(),
500_000 * KCOINS + 100_000 * KCOINS,
1_000 * 500_000 * KCOINS,
),
// Tokens for offchain account to allow sign karma reward transactions
(
Expand Down Expand Up @@ -168,20 +168,20 @@ fn testnet_genesis(
validator_count: initial_authorities.len() as u32,
stakers: initial_authorities
.iter()
.map(|x| (x.0.clone(), x.1.clone(), 100 * KCOINS, StakerStatus::Validator))
.map(|x| (x.0.clone(), x.1.clone(), 500_000 * KCOINS, StakerStatus::Validator))
.collect(),
invulnerables: initial_authorities.iter().map(|x| x.0.clone()).collect(),
force_era: Forcing::NotForcing,
slash_reward_fraction: Perbill::from_percent(10),
min_nominator_bond: 50_000 * KCOINS,
min_nominator_bond: 5 * KCOINS,
min_validator_bond: 500_000 * KCOINS,
max_validator_count: Some(100),
max_nominator_count: Some(1_000),
..Default::default()
},
nomination_pools: NominationPoolsConfig {
min_join_bond: KCOINS,
min_create_bond: KCOINS,
min_create_bond: 5 * KCOINS,
max_pools: Some(512),
max_members_per_pool: Some(5000),
..Default::default()
Expand Down