Skip to content

Commit

Permalink
feat(genesis-template): changed delegator default min commision rate …
Browse files Browse the repository at this point in the history
…to be 0 (dymensionxyz#438)
  • Loading branch information
omritoptix authored Jan 1, 2025
1 parent 587ab0c commit 1fcdfb3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions genesis-templates/DRS/5/genesis-mainnet.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"genesis_time": "2024-12-31T16:57:50.112561Z",
"genesis_time": "2025-01-01T07:43:47.905343Z",
"chain_id": "rollappevm_1234-1",
"initial_height": "1",
"consensus_params": {
Expand Down Expand Up @@ -278,7 +278,7 @@
"max_entries": 7,
"historical_entries": 10000,
"bond_denom": "stake",
"min_commission_rate": "0.050000000000000000"
"min_commission_rate": "0.000000000000000000"
},
"last_total_power": "0",
"last_validator_powers": [],
Expand Down
4 changes: 2 additions & 2 deletions genesis-templates/DRS/5/genesis-testnet.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"genesis_time": "2024-12-31T16:57:29.960515Z",
"genesis_time": "2025-01-01T07:43:07.04546Z",
"chain_id": "rollappevm_1234-1",
"initial_height": "1",
"consensus_params": {
Expand Down Expand Up @@ -278,7 +278,7 @@
"max_entries": 7,
"historical_entries": 10000,
"bond_denom": "stake",
"min_commission_rate": "0.050000000000000000"
"min_commission_rate": "0.000000000000000000"
},
"last_total_power": "0",
"last_validator_powers": [],
Expand Down
1 change: 1 addition & 0 deletions scripts/generate-genesis-template.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ update_params() {
dasel put -f "$TEMP_GENESIS" '.consensus_params.block.max_gas' -v "400000000" || success=false
dasel put -f "$TEMP_GENESIS" '.consensus_params.block.max_bytes' -v "$BLOCK_SIZE" || success=false
dasel put -f "$TEMP_GENESIS" '.consensus_params.evidence.max_bytes' -v "$BLOCK_SIZE" || success=false
dasel put -f "$TEMP_GENESIS" 'app_state.staking.params.min_commission_rate' -v "0.000000000000000000" || success=false
dasel put -f "$TEMP_GENESIS" 'app_state.distribution.params.base_proposer_reward' -v '0.8' || success=false
dasel put -f "$TEMP_GENESIS" 'app_state.distribution.params.community_tax' -v "0.00002" || success=false
dasel put -t bool -f "$GENESIS_FILE" 'app_state.feemarket.params.no_base_fee' -v false || success=false
Expand Down

0 comments on commit 1fcdfb3

Please sign in to comment.