我正在使用Starport (https://github.com/tendermint/starport)来引导我的Cosmos SDK区块链。我只想要一个用于区块链标记和使用的令牌。
这是我的config.yml文件
version: 1
accounts:
- name: user1
coins: ["120000aphoton"]
- name: user2
coins: ["1000aphoton"]
validator:
name: user1
staked: "100000aphoton"尝试运行区块链的守护程序时,收到错误
panic: invalid coin denomination: failed to execute message; message index: 0我的硬币面值有什么问题?在config.yml中自定义我的令牌时,我需要更改/了解哪些内容?谢谢
发布于 2021-01-13 20:34:37
您需要将桩模块配置为接受aphoton作为债券面值。这可以通过将以下内容添加到config.yml中来完成:
genesis:
app_state:
staking:
params:
bond_denom: "aphoton"https://stackoverflow.com/questions/64047231
复制相似问题