Skip to content

Commit

Permalink
Fix dev.toml having inconsistent token values and inconsistent dot
Browse files Browse the repository at this point in the history
This addresses #1048 that creates two different dot toekns, along with
fixing dev's parameters to be consistent with dev's toml file and not
the e2e toml file
  • Loading branch information
mariari committed Feb 9, 2023
1 parent bb48cc0 commit 84343fd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
15 changes: 10 additions & 5 deletions genesis/dev.toml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ atest1v4ehgw368ycryv2z8qcnxv3cxgmrgvjpxs6yg333gym5vv2zxepnj334g4rryvj9xucrgve4x3
atest1v4ehgw36x3qng3jzggu5yvpsxgcngv2xgguy2dpkgvu5x33kx3pr2w2zgep5xwfkxscrxs2pj8075p = 1000000
atest1v4ehgw36xvcyyvejgvenxs34g3zygv3jxqunjd6rxyeyys3sxy6rwvfkx4qnj33hg9qnvse4lsfctw = 1000000
a1qyqzsqqqqqcyvvf5xcu5vd6rg4z5233hg9pn23pjgdryzdjy8pz52wzxxscnvvjxx3rryvzz8y5p6mtz = 1000000
[token.Dot.parameters]
[token.DOT.parameters]
max_reward_rate = 0.1
kd_gain_nom = 0.1
kp_gain_nom = 0.1
Expand All @@ -97,7 +97,7 @@ atest1v4ehgw368ycryv2z8qcnxv3cxgmrgvjpxs6yg333gym5vv2zxepnj334g4rryvj9xucrgve4x3
atest1v4ehgw36x3qng3jzggu5yvpsxgcngv2xgguy2dpkgvu5x33kx3pr2w2zgep5xwfkxscrxs2pj8075p = 1000000
atest1v4ehgw36xvcyyvejgvenxs34g3zygv3jxqunjd6rxyeyys3sxy6rwvfkx4qnj33hg9qnvse4lsfctw = 1000000
a1qyqzsqqqqqcyvvf5xcu5vd6rg4z5233hg9pn23pjgdryzdjy8pz52wzxxscnvvjxx3rryvzz8y5p6mtz = 1000000
[token.Schnitzel.parameters]
[token.schnitzel.parameters]
max_reward_rate = 0.1
kd_gain_nom = 0.1
kp_gain_nom = 0.1
Expand All @@ -111,7 +111,7 @@ atest1v4ehgw368ycryv2z8qcnxv3cxgmrgvjpxs6yg333gym5vv2zxepnj334g4rryvj9xucrgve4x3
atest1v4ehgw36x3qng3jzggu5yvpsxgcngv2xgguy2dpkgvu5x33kx3pr2w2zgep5xwfkxscrxs2pj8075p = 1000000
atest1v4ehgw36xvcyyvejgvenxs34g3zygv3jxqunjd6rxyeyys3sxy6rwvfkx4qnj33hg9qnvse4lsfctw = 1000000
a1qyqzsqqqqqcyvvf5xcu5vd6rg4z5233hg9pn23pjgdryzdjy8pz52wzxxscnvvjxx3rryvzz8y5p6mtz = 1000000
[token.Apfel.parameters]
[token.apfel.parameters]
max_reward_rate = 0.1
kd_gain_nom = 0.1
kp_gain_nom = 0.1
Expand All @@ -126,7 +126,7 @@ atest1v4ehgw368ycryv2z8qcnxv3cxgmrgvjpxs6yg333gym5vv2zxepnj334g4rryvj9xucrgve4x3
atest1v4ehgw36x3qng3jzggu5yvpsxgcngv2xgguy2dpkgvu5x33kx3pr2w2zgep5xwfkxscrxs2pj8075p = 1000000
atest1v4ehgw36xvcyyvejgvenxs34g3zygv3jxqunjd6rxyeyys3sxy6rwvfkx4qnj33hg9qnvse4lsfctw = 1000000
a1qyqzsqqqqqcyvvf5xcu5vd6rg4z5233hg9pn23pjgdryzdjy8pz52wzxxscnvvjxx3rryvzz8y5p6mtz = 1000000
[token.Kartoffel.parameters]
[token.kartoffel.parameters]
max_reward_rate = 0.1
kd_gain_nom = 0.1
kp_gain_nom = 0.1
Expand Down Expand Up @@ -183,7 +183,12 @@ max_expected_time_per_block = 30
epochs_per_year = 525_600
# Max payload size, in bytes, for a tx batch proposal.
max_proposal_bytes = 22020096

implicit_vp = "vp_implicit"
# Expected number of epochs per year (also sets the min duration of an epoch in seconds)
# The P gain factor in the Proof of Stake rewards controller
pos_gain_p = 0.1
# The D gain factor in the Proof of Stake rewards controller
pos_gain_d = 0.1
# Proof of stake parameters.
[pos_params]
# Maximum number of consensus validators.
Expand Down
4 changes: 2 additions & 2 deletions genesis/e2e-tests-single-node.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,13 @@ locked_ratio_target_key = 0.6667
[token.DOT]
address = "atest1v4ehgw36gg6nvs2zgfpyxsfjgc65yv6pxy6nwwfsxgungdzrggeyzv35gveyxsjyxymyz335hur2jn"
vp = "vp_token"
[token.Dot.balances]
[token.DOT.balances]
Albert = 1000000
Bertha = 1000000
Christel = 1000000
Daewon = 1000000
faucet = 9223372036854
[token.Dot.parameters]
[token.DOT.parameters]
max_reward_rate = 0.1
kd_gain_nom = 0.1
kp_gain_nom = 0.1
Expand Down

0 comments on commit 84343fd

Please sign in to comment.