Skip to content

Commit

Permalink
improve scripts, readmes
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraccaman committed Aug 20, 2024
1 parent 23f4b43 commit fa97f09
Show file tree
Hide file tree
Showing 30 changed files with 70,722 additions and 1,187 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -695,4 +695,6 @@ MigrationBackup/
# Ionide (cross platform F# VS Code tools) working folder
.ionide/

# End of https://www.toptal.com/developers/gitignore/api/osx,macos,vs,pycharm,python,venv
# End of https://www.toptal.com/developers/gitignore/api/osx,macos,vs,pycharm,python,venv

*.pem
70,712 changes: 70,694 additions & 18 deletions genesis/balances.toml

Large diffs are not rendered by default.

34 changes: 17 additions & 17 deletions genesis/parameters.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
native_token = "NAM"
is_native_token_transferable = true
# Minimum number of blocks in an epoch.
min_num_of_blocks = 4
min_num_of_blocks = 2_700
# Max payload size, in bytes, for a tx.
max_tx_bytes = 1048576
# Max payload size, in bytes, for a tx batch proposal.
Expand All @@ -15,9 +15,9 @@ tx_allowlist = []
# Implicit VP WASM name
implicit_vp = "vp_implicit"
# Expected number of epochs per year (also sets the min duration of an epoch in seconds)
epochs_per_year = 6000
epochs_per_year = 1_460
# The multiplier for masp epochs
masp_epoch_multiplier = 2
masp_epoch_multiplier = 4
# Max gas for block
max_block_gas = 20000000
# Masp fee payment gas limit
Expand All @@ -33,21 +33,21 @@ nam = "0.000001"
# Proof of stake parameters.
[pos_params]
# Maximum number of active validators.
max_validator_slots = 128
max_validator_slots = 255
# Pipeline length (in epochs). Any change in the validator set made in
# epoch 'n' will become active in epoch 'n + pipeline_len'.
pipeline_len = 2
# Unbonding length (in epochs). Validators may have their stake slashed
# for a fault in epoch 'n' up through epoch 'n + unbonding_len'.
unbonding_len = 3
unbonding_len = 53
# Votes per fundamental staking token (namnam)
tm_votes_per_token = "1"
# Reward for proposing a block.
block_proposer_reward = "0.125"
# Reward for voting on a block.
block_vote_reward = "0.1"
# Maximum inflation rate per annum (10%)
max_inflation_rate = "0.1"
max_inflation_rate = "0"
# Targeted ratio of staked tokens to total tokens in the supply
target_staked_ratio = "0.6667"
# Portion of a validator's stake that should be slashed on a duplicate
Expand All @@ -61,13 +61,13 @@ light_client_attack_min_slash_rate = "0.001"
cubic_slashing_window_length = 1
# The minimum amount of bonded tokens that a validator needs to be in
# either the `consensus` or `below_capacity` validator sets
validator_stake_threshold = "1000000"
validator_stake_threshold = "1000000000"
# The length, in blocks, of the sliding window for consensus validators
# inactivity verification
liveness_window_check = 10_000
# The minimum required activity of consensus validators, in percentage, over
# the `liveness_window_check`
liveness_threshold = "0.9"
liveness_threshold = "0.1"
# The P gain factor in the Proof of Stake rewards controller
rewards_gain_p = "0.25"
# The D gain factor in the Proof of Stake rewards controller
Expand All @@ -76,28 +76,28 @@ rewards_gain_d = "0.25"
# Governance parameters.
[gov_params]
# minimum amount of nam token to lock
min_proposal_fund = 500
min_proposal_fund = 2000
# proposal code size in bytes
max_proposal_code_size = 600000
max_proposal_code_size = 1000_000
# min proposal period length in epochs
min_proposal_voting_period = 3
min_proposal_voting_period = 29
# max proposal period length in epochs
max_proposal_period = 27
max_proposal_period = 84
# maximum number of characters in the proposal content
max_proposal_content_size = 10000
max_proposal_content_size = 10_000
# minimum epochs between end and activation epoch
min_proposal_grace_epochs = 6
min_proposal_grace_epochs = 8
# maximum number of epochs between current epoch and start epoch
max_proposal_latency = 30
max_proposal_latency = 8

# Public goods funding parameters
[pgf_params]
# Initial set of stewards
stewards = []
# The pgf funding inflation rate
pgf_inflation_rate = "0.1"
pgf_inflation_rate = "0"
# The pgf stewards inflation rate
stewards_inflation_rate = "0.01"
stewards_inflation_rate = "0"
# The maximum number of pgf stewards
maximum_number_of_stewards = 5

Expand Down
Loading

0 comments on commit fa97f09

Please sign in to comment.