Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review from composable team #141

Merged
merged 3 commits into from
Jun 7, 2023
Merged

Review from composable team #141

merged 3 commits into from
Jun 7, 2023

Conversation

vuong177
Copy link
Contributor

@vuong177 vuong177 commented Jun 1, 2023

No description provided.

// then
suite.Require().Equal(1, len(suite.chainB.PendingSendPackets))

suite.Require().NoError(err)
Copy link
Collaborator

Choose a reason for hiding this comment

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

It seems there is this check 2 lines above

Copy link
Collaborator

Choose a reason for hiding this comment

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

lets keep suite.Require().Equal(1, len(suite.chainB.PendingSendPackets)) check

expBalance = sdk.NewCoins(sdk.NewCoin(expDenom, chainBSupply.Amount.Sub(transferAmountFromChainBToChainA)))
suite.Require().Equal(expBalance, balance)

// receiver in chain A receive exactly native token that transferd from chain B
Copy link
Collaborator

Choose a reason for hiding this comment

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

transferd is a misspelling of transferred (misspell)

expBalance = sdk.NewCoins(sdk.NewCoin(sdk.DefaultBondDenom, transferAmountFromChainBToChainA))
suite.Require().Equal(expBalance, balance)

// Continue send coin from (chainA) to escrow address in chain B
Copy link
Collaborator

Choose a reason for hiding this comment

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

this isnt sent to escrow address but to chainB.senderAccount

@vuong177
Copy link
Contributor Author

vuong177 commented Jun 4, 2023

@kkast thanks for your reviews ! I've push your suggest chain in new commit.

@vuong177 vuong177 merged commit c4b9975 into main Jun 7, 2023
12 of 13 checks passed
tungle-notional pushed a commit to notional-labs/composable-cosmos that referenced this pull request Mar 7, 2024
* TestMintAndEscrowProcess: check more IBC transfer from chain A->B

* minor

* review from kkast
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.

None yet

2 participants