Skip to content

Commit 0c43900

Browse files
authored
Merge pull request #700 from anoma/brent/update-params
Initial parameters at genesis
2 parents fe4887d + 34e144f commit 0c43900

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

genesis/parameters.toml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# General protocol parameters.
22
[parameters]
33
native_token = "NAM"
4-
is_native_token_transferable = true
4+
is_native_token_transferable = false # Phase 5: turn to true
55
# Minimum number of blocks in an epoch.
66
min_num_of_blocks = 2_700
77
# Max payload size, in bytes, for a tx.
@@ -19,16 +19,16 @@ epochs_per_year = 1_460
1919
# The multiplier for masp epochs
2020
masp_epoch_multiplier = 4
2121
# Max gas for block
22-
max_block_gas = 20000000
22+
max_block_gas = 3_000_000
2323
# Masp fee payment gas limit
24-
masp_fee_payment_gas_limit = 20000
24+
masp_fee_payment_gas_limit = 50_000
2525
# Gas scale
26-
gas_scale = 100_000_000
26+
gas_scale = 50_000
2727

2828

2929
# Map of the cost per gas unit for every token allowed for fee payment
3030
[parameters.minimum_gas_price]
31-
nam = "0.000001"
31+
nam = "0.00001"
3232

3333
# Proof of stake parameters.
3434
[pos_params]
@@ -46,10 +46,10 @@ tm_votes_per_token = "1"
4646
block_proposer_reward = "0.125"
4747
# Reward for voting on a block.
4848
block_vote_reward = "0.1"
49-
# Maximum inflation rate per annum (10%)
49+
# Maximum inflation rate per annum
5050
max_inflation_rate = "0"
5151
# Targeted ratio of staked tokens to total tokens in the supply
52-
target_staked_ratio = "0.6667"
52+
target_staked_ratio = "0.0"
5353
# Portion of a validator's stake that should be slashed on a duplicate
5454
# vote.
5555
duplicate_vote_min_slash_rate = "0.001"
@@ -78,15 +78,15 @@ rewards_gain_d = "0.25"
7878
# minimum amount of nam token to lock
7979
min_proposal_fund = 2000
8080
# proposal code size in bytes
81-
max_proposal_code_size = 1000_000
81+
max_proposal_code_size = 1_000_000
8282
# min proposal period length in epochs
83-
min_proposal_voting_period = 29
83+
min_proposal_voting_period = 12 # Phase 5: turn to 29
8484
# max proposal period length in epochs
8585
max_proposal_period = 84
8686
# maximum number of characters in the proposal content
8787
max_proposal_content_size = 10_000
8888
# minimum epochs between end and activation epoch
89-
min_proposal_grace_epochs = 8
89+
min_proposal_grace_epochs = 1 # Phase 5: turn to 8
9090
# maximum number of epochs between current epoch and start epoch
9191
max_proposal_latency = 8
9292

@@ -99,7 +99,7 @@ pgf_inflation_rate = "0"
9999
# The pgf stewards inflation rate
100100
stewards_inflation_rate = "0"
101101
# The maximum number of pgf stewards
102-
maximum_number_of_stewards = 5
102+
maximum_number_of_stewards = 1
103103

104104
# IBC parameters
105105
[ibc_params]

genesis/tokens.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[token.NAM]
22
denom = 6
33

4-
[token.NAM.parameters]
4+
[token.NAM.masp_params]
55
max_reward_rate = "0.0"
6-
kd_gain_nom = "0.1"
7-
kp_gain_nom = "0.1"
8-
locked_ratio_target = "0.6667"
6+
kd_gain_nom = "0.0"
7+
kp_gain_nom = "0.0"
8+
locked_amount_target = 0

0 commit comments

Comments
 (0)