Skip to content

add coin_type and sendTx#172

Merged
wukongcheng merged 5 commits intoirisnet:feature/refactorfrom
dreamer-zq:feature/refactor
Aug 24, 2018
Merged

add coin_type and sendTx#172
wukongcheng merged 5 commits intoirisnet:feature/refactorfrom
dreamer-zq:feature/refactor

Conversation

@dreamer-zq
Copy link
Contributor

No description provided.

//if app.sealed {
// panic("Router() on sealed BaseApp")
//}
return app.router
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里保留注释,不然下次又merge进来了

coinType = types.NewDefaultCoinType(denom)
}else{
} else {
key := types.CoinTypeKey(coinName)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

strings.ToLower(coinName)

mainUnit,err := types.GetCoinName(coinStr)
coinType,err := c.GetCoinType(mainUnit,cdc)
func (c Context) ParseCoin(coinStr string) (sdk.Coin, error) {
mainUnit, err := types.GetCoinName(coinStr)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

db存储的时候大小写如何限制的?

app/genesis.go Outdated
accAuth := auth.NewBaseAccountWithAddress(genTx.Address)
accAuth.Coins = sdk.Coins{
{denom, sdk.NewInt(freeFermionVal)},
totalTokenAmt,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wukongcheng wukongcheng merged commit 9301883 into irisnet:feature/refactor Aug 24, 2018
wukongcheng added a commit that referenced this pull request Aug 27, 2018
wukongcheng added a commit that referenced this pull request Aug 27, 2018
wukongcheng added a commit that referenced this pull request Aug 27, 2018
wukongcheng added a commit that referenced this pull request Aug 27, 2018
wangjiulian pushed a commit that referenced this pull request Nov 7, 2024
* Update coinswap/simulation (#172)

* update coinswap/simulation

* make format

* undefined naming

* testing

* rollback simapp file

* 427

* fix add liquidity simulation test

* update coinswap-simulation (#176)

* update coinswap/simulation

* make format

* undefined naming

* testing

* rollback simapp file

* 427

* update coinswap simulation test

* Fix unit test bug

* fix coinswap sim test

* delete comment

Co-authored-by: mindcarver <32150062+mindcarver@users.noreply.github.com>
Co-authored-by: mindcarver <626984947@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants