Skip to content

Commit

Permalink
Merge pull request #700 from anoma/brent/update-params
Browse files Browse the repository at this point in the history
Initial parameters at genesis
  • Loading branch information
iskay authored Nov 4, 2024
2 parents fe4887d + 34e144f commit 0c43900
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
22 changes: 11 additions & 11 deletions genesis/parameters.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# General protocol parameters.
[parameters]
native_token = "NAM"
is_native_token_transferable = true
is_native_token_transferable = false # Phase 5: turn to true
# Minimum number of blocks in an epoch.
min_num_of_blocks = 2_700
# Max payload size, in bytes, for a tx.
Expand All @@ -19,16 +19,16 @@ epochs_per_year = 1_460
# The multiplier for masp epochs
masp_epoch_multiplier = 4
# Max gas for block
max_block_gas = 20000000
max_block_gas = 3_000_000
# Masp fee payment gas limit
masp_fee_payment_gas_limit = 20000
masp_fee_payment_gas_limit = 50_000
# Gas scale
gas_scale = 100_000_000
gas_scale = 50_000


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

# Proof of stake parameters.
[pos_params]
Expand All @@ -46,10 +46,10 @@ tm_votes_per_token = "1"
block_proposer_reward = "0.125"
# Reward for voting on a block.
block_vote_reward = "0.1"
# Maximum inflation rate per annum (10%)
# Maximum inflation rate per annum
max_inflation_rate = "0"
# Targeted ratio of staked tokens to total tokens in the supply
target_staked_ratio = "0.6667"
target_staked_ratio = "0.0"
# Portion of a validator's stake that should be slashed on a duplicate
# vote.
duplicate_vote_min_slash_rate = "0.001"
Expand Down Expand Up @@ -78,15 +78,15 @@ rewards_gain_d = "0.25"
# minimum amount of nam token to lock
min_proposal_fund = 2000
# proposal code size in bytes
max_proposal_code_size = 1000_000
max_proposal_code_size = 1_000_000
# min proposal period length in epochs
min_proposal_voting_period = 29
min_proposal_voting_period = 12 # Phase 5: turn to 29
# max proposal period length in epochs
max_proposal_period = 84
# maximum number of characters in the proposal content
max_proposal_content_size = 10_000
# minimum epochs between end and activation epoch
min_proposal_grace_epochs = 8
min_proposal_grace_epochs = 1 # Phase 5: turn to 8
# maximum number of epochs between current epoch and start epoch
max_proposal_latency = 8

Expand All @@ -99,7 +99,7 @@ pgf_inflation_rate = "0"
# The pgf stewards inflation rate
stewards_inflation_rate = "0"
# The maximum number of pgf stewards
maximum_number_of_stewards = 5
maximum_number_of_stewards = 1

# IBC parameters
[ibc_params]
Expand Down
8 changes: 4 additions & 4 deletions genesis/tokens.toml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[token.NAM]
denom = 6

[token.NAM.parameters]
[token.NAM.masp_params]
max_reward_rate = "0.0"
kd_gain_nom = "0.1"
kp_gain_nom = "0.1"
locked_ratio_target = "0.6667"
kd_gain_nom = "0.0"
kp_gain_nom = "0.0"
locked_amount_target = 0

0 comments on commit 0c43900

Please sign in to comment.