Skip to content

Commit

Permalink
woop
Browse files Browse the repository at this point in the history
  • Loading branch information
bengtlofgren committed Jan 8, 2024
1 parent 76840b5 commit 56118dd
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 36 deletions.
8 changes: 1 addition & 7 deletions core/src/types/address.rs
Original file line number Diff line number Diff line change
Expand Up @@ -653,13 +653,7 @@ pub const fn wnam() -> EthAddress {
/// informal currency codes and number of decimal places.
pub fn tokens() -> HashMap<&'static str, Denomination> {
vec![
("nam", 6.into()),
("btc", 8.into()),
("eth", 18.into()),
("dot", 10.into()),
("schnitzel", 6.into()),
("apfel", 6.into()),
("kartoffel", 6.into()),
("naan", 6.into())
]
.into_iter()
.collect()
Expand Down
2 changes: 1 addition & 1 deletion genesis/localnet/balances.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# As for the established addresses, these are derived from their respective
# genesis tx toml files.

[token.NAM]
[token.naan]
# albert
tnam1qxfj3sf6a0meahdu9t6znp05g8zx4dkjtgyn9gfu = "2000000"
tpknam1qrnw8mxyqlj60mykgevnldcj5mg2fya7fs5a8xqdkd2gwtxhef0zy8a2wha = "2000000"
Expand Down
4 changes: 2 additions & 2 deletions genesis/localnet/parameters.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# General protocol parameters.
[parameters]
native_token = "NAM"
native_token = "naan"
# Minimum number of blocks in an epoch.
min_num_of_blocks = 4
# Maximum expected time per block (in seconds).
Expand Down Expand Up @@ -28,7 +28,7 @@ fee_unshielding_descriptions_limit = 15

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

# Proof of stake parameters.
[pos_params]
Expand Down
4 changes: 2 additions & 2 deletions genesis/localnet/tokens.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Token accounts with their validity predicates

[token.NAM]
[token.NAAN]
denom = 6

[token.NAM.parameters]
[token.NAAN.parameters]
max_reward_rate = "0.1"
kd_gain_nom = "0.1"
kp_gain_nom = "0.1"
Expand Down
48 changes: 24 additions & 24 deletions wasm/checksums.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
{
"tx_become_validator.wasm": "tx_become_validator.aedb6868c2a7495d831f3e1332dd9abec8ea912224bb6b79f6838ae15c9f0ed6.wasm",
"tx_bond.wasm": "tx_bond.4e4c0a029332ae6760e933aef0a9367ff1871622d6724e7fedc6acc4d5e5f31a.wasm",
"tx_bridge_pool.wasm": "tx_bridge_pool.607e23e1a884432581352bcd3f3f3f194db18d1c8fb4b34631b986b7cb18d870.wasm",
"tx_change_consensus_key.wasm": "tx_change_consensus_key.925017a99e11ba98714d37386426f24ad167d219d1931b9d6cc16a2a4f869a2e.wasm",
"tx_change_validator_commission.wasm": "tx_change_validator_commission.df35757204d6910e6d3a5174c716c6b175455395215f797379ccfaef2a37b701.wasm",
"tx_change_validator_metadata.wasm": "tx_change_validator_metadata.82013f95f9a18439694fbc76cb10a9374df7a2a32379378fc3d4c6aba7a850b5.wasm",
"tx_claim_rewards.wasm": "tx_claim_rewards.d06b9fe6f7b061115a005773e941fc574a619f12d6ab7d6049022bddd20044df.wasm",
"tx_deactivate_validator.wasm": "tx_deactivate_validator.489825bca47127ed07f0bb53c1a6b4732ad23c5c7985aac01643a7303019dd65.wasm",
"tx_ibc.wasm": "tx_ibc.cf2a3c1fd9023cae6eb3573c7dd39bfcafc458841fd12dff34826985e50101b8.wasm",
"tx_init_account.wasm": "tx_init_account.8c69294782c50d113ee2e39f8b10456ce27f0f290a4960fe155ba46f0fa57c48.wasm",
"tx_init_proposal.wasm": "tx_init_proposal.30fa5b4c01dc019db894ab6a77b3203676d372d93c8671ded40ab3f12a000b85.wasm",
"tx_reactivate_validator.wasm": "tx_reactivate_validator.a838d6ebbc7aab282e347784dc1c2b0de3401f504d0fc7d34000acd7bdb2c8c4.wasm",
"tx_redelegate.wasm": "tx_redelegate.114fb5f69efdd1f272d11c40b03e1a0804b2c2076c021213df6127e76447944f.wasm",
"tx_resign_steward.wasm": "tx_resign_steward.03312864ee06211dc174b360d071df9b90f2f9d370488d51a65ee865ad0df898.wasm",
"tx_reveal_pk.wasm": "tx_reveal_pk.7b0f9c1d6eb71f67d13b44a2a5db6451c817d6e6d0300d962c20a073680abed8.wasm",
"tx_transfer.wasm": "tx_transfer.9fb39344449e52f7f7f72672bf3cae7e7fcdfe8eb267c5efd6ef69fc95a273aa.wasm",
"tx_unbond.wasm": "tx_unbond.c824cb7cad15c1df0191fa9a8580b00b4edb629e6f97518b1313090b285bcdd9.wasm",
"tx_unjail_validator.wasm": "tx_unjail_validator.056b986cabf81a157594cb119cb47182fb1729fa3e088fdb0abe1dba3d25ee48.wasm",
"tx_update_account.wasm": "tx_update_account.1e8c9170aad83baff2dfdd578043fa7ad4fac7bca4f96c737c857fac0a3a515f.wasm",
"tx_update_steward_commission.wasm": "tx_update_steward_commission.f994693bdc3cc69e4393a8bded33902fc9acea47c698bc687882dc9ab7e0257d.wasm",
"tx_vote_proposal.wasm": "tx_vote_proposal.8b1992cae7b8fe9b7c186e75a80f9bb124f0bd4898dfd597f2a8f9e1cccfa257.wasm",
"tx_withdraw.wasm": "tx_withdraw.8b330993a36d79163d0d3003b9fb02b669fb0edf64c034964b7d39209a5de08a.wasm",
"vp_implicit.wasm": "vp_implicit.7a60fadc85635e27ffb043d6a2fb44f4ebcd8a871c1ba2899835104831f143f0.wasm",
"vp_user.wasm": "vp_user.b497001df3ebab81021a6ab22af77ebbf53b8ea368ce75e5d420ba8b94d9c9eb.wasm"
"tx_become_validator.wasm": "tx_become_validator.d64d320bb056b48e1cb477e4929c31d7beff7f04c8ecb996d03861baeefcb0b1.wasm",
"tx_bond.wasm": "tx_bond.5936af738f4bb351d027f4f9322559452061a49c75bfde143cb86e48f0708c38.wasm",
"tx_bridge_pool.wasm": "tx_bridge_pool.7eef207608c27e367ef33dd6e5c75052fe355dcf34ee6d75b7f0cb0fc50a8487.wasm",
"tx_change_consensus_key.wasm": "tx_change_consensus_key.ed296ab25395a9a79cc7827741cccff3ddeb42d7da70fa06ff5f6b65e75e11fc.wasm",
"tx_change_validator_commission.wasm": "tx_change_validator_commission.4121998fb79233a1e6189fafc073cb1df56b1602d16f83ac6bc3845fa92b7607.wasm",
"tx_change_validator_metadata.wasm": "tx_change_validator_metadata.bc2cca46225e3dc02154f0e6f6cba96200fb3cd57fb41b09a5a688922a7d63a3.wasm",
"tx_claim_rewards.wasm": "tx_claim_rewards.0af5e29eab3e565bd9c8ba8bd18c7d117fe6f6788c670459def31513664ba63f.wasm",
"tx_deactivate_validator.wasm": "tx_deactivate_validator.ae16faeb1cef9f0ff51b81fea0bee69377d187175b3dc24182c67af8ccf0f1c6.wasm",
"tx_ibc.wasm": "tx_ibc.7a830617263fbd5869ba2fd4e17184a31750416ce42d009cdbe19a7f9fc262dc.wasm",
"tx_init_account.wasm": "tx_init_account.43128be23378db3ed8e48653116a6586d1dedb56e2eeea089c643c10f64758b0.wasm",
"tx_init_proposal.wasm": "tx_init_proposal.3531d9d9df333cf81cd326eeb2a24526624c8a8f3959dd847bd2b1c9b9c2cacc.wasm",
"tx_reactivate_validator.wasm": "tx_reactivate_validator.6ec59949f6f9128d778f52ca176a48745fff0d4cb951d02c9165335292708b9c.wasm",
"tx_redelegate.wasm": "tx_redelegate.122f73df515a2e9cb6f4860f4334ba7e2629ba4bdc7fd89d4b9a769d476ec9d2.wasm",
"tx_resign_steward.wasm": "tx_resign_steward.a0b86623c2e949221e3265add65e95fc765d64f5fd902a5a8429a1d139dc0ab6.wasm",
"tx_reveal_pk.wasm": "tx_reveal_pk.416a8df87a5e6e6aff4197151f7050fa0c697c47d6b614c017993e31e8919faf.wasm",
"tx_transfer.wasm": "tx_transfer.fb8d20f00f70aa1e46560f34b1ecfb8eb36c28e50d9903c4772c3043bc360313.wasm",
"tx_unbond.wasm": "tx_unbond.3c2b2bf7fca0edb6bd4c78e4c313d7af163f6556c641f0099742c02fca88899a.wasm",
"tx_unjail_validator.wasm": "tx_unjail_validator.51a3a5c5a6fa560972cb035261d25c2d8cbbc7de462e379d9f96d29c80598e3e.wasm",
"tx_update_account.wasm": "tx_update_account.264c94a6f3d0d6cb4793507e6bab3814400f98519d834839e1376e246d68f4e9.wasm",
"tx_update_steward_commission.wasm": "tx_update_steward_commission.3067c59ad130dbd85c8ab0f78f15149f91c6eeb279986ac3c3d485313752f68b.wasm",
"tx_vote_proposal.wasm": "tx_vote_proposal.4930afc5f59dd0bc8e97b729515bbdb274726b32928a2462715851c174da5ff6.wasm",
"tx_withdraw.wasm": "tx_withdraw.242f76f6aca9f7788cccc000765ba3c98977231f4f7a3a47a22e520e360cfd41.wasm",
"vp_implicit.wasm": "vp_implicit.3cf288e553705c947c4d84b1fe39761dc92adf3a7403b580c8965316c5a0e626.wasm",
"vp_user.wasm": "vp_user.3a2839a6b73c462ca458d925febd647c3733b48e918f4b88a7f9488bc434393c.wasm"
}

0 comments on commit 56118dd

Please sign in to comment.