add coin_type and sendTx#172
Merged
wukongcheng merged 5 commits intoirisnet:feature/refactorfrom Aug 24, 2018
dreamer-zq:feature/refactor
Merged
add coin_type and sendTx#172wukongcheng merged 5 commits intoirisnet:feature/refactorfrom dreamer-zq:feature/refactor
wukongcheng merged 5 commits intoirisnet:feature/refactorfrom
dreamer-zq:feature/refactor
Conversation
wukongcheng
suggested changes
Aug 24, 2018
| //if app.sealed { | ||
| // panic("Router() on sealed BaseApp") | ||
| //} | ||
| return app.router |
| coinType = types.NewDefaultCoinType(denom) | ||
| }else{ | ||
| } else { | ||
| key := types.CoinTypeKey(coinName) |
Contributor
There was a problem hiding this comment.
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) |
app/genesis.go
Outdated
| accAuth := auth.NewBaseAccountWithAddress(genTx.Address) | ||
| accAuth.Coins = sdk.Coins{ | ||
| {denom, sdk.NewInt(freeFermionVal)}, | ||
| totalTokenAmt, |
Contributor
There was a problem hiding this comment.
wukongcheng
approved these changes
Aug 24, 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.