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

E2E: Add ICA MsgSubmitTx tests (success + failure) #2021

Merged
merged 35 commits into from
Aug 17, 2022
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
8f44301
feat(test): adding support for backwards compatibility testing
chatton Aug 8, 2022
f470bcf
Merge branch 'main' into cian/issue#1911-support-backwards-compatibil…
chatton Aug 8, 2022
2297280
chore: made names of variables more descriptive
chatton Aug 8, 2022
4c30485
Merge branch 'cian/issue#1911-support-backwards-compatibility-tests' …
chatton Aug 8, 2022
cd6363c
wip: adding demo interchain accounts test
chatton Aug 9, 2022
d87a711
wip
chatton Aug 9, 2022
a9ceda1
merge main
chatton Aug 10, 2022
2ec4c73
wip
chatton Aug 10, 2022
39eff2f
chore: merge main
chatton Aug 12, 2022
17d5840
chore: pass -p events to relayer
chatton Aug 12, 2022
1c79319
wip: temporarily setting env vars in the test
chatton Aug 12, 2022
1db8103
chore: adding Make command to run test
chatton Aug 12, 2022
57067fb
work in progress ICA test using s.BroadcastMessages
charleenfei Aug 15, 2022
6890de3
chore: refactoring register ica account to broadcast message
chatton Aug 15, 2022
d147af9
wip update to test host account
charleenfei Aug 15, 2022
917a6a5
chore: converting query interchain account to grpc query call
chatton Aug 15, 2022
27cd4f8
chore: specify empty version string explicitly
chatton Aug 15, 2022
4afd01e
merge sample-test branch
chatton Aug 15, 2022
f452e8b
wip
charleenfei Aug 15, 2022
e0e33f1
Merge branch 'cian/refactor-register-ica' into cian/issue#1941-add-in…
charleenfei Aug 15, 2022
eb4bcb5
wip bank transfer
charleenfei Aug 15, 2022
85370a8
wip
charleenfei Aug 15, 2022
d96c0d5
cleanup tests
charleenfei Aug 16, 2022
83eaa6f
rm init env versions, handle unhappy path
charleenfei Aug 16, 2022
5328362
setup env
charleenfei Aug 16, 2022
289af25
chore: adding comment to outline temprorary usage of setting env vars
chatton Aug 16, 2022
0094b36
chore: merge main
chatton Aug 16, 2022
bd9ebc4
chore: removing unused code
chatton Aug 16, 2022
61a444e
chore: exporting GetRelayerExecReporter method
chatton Aug 16, 2022
50c9375
chore: adding wait for blocks
chatton Aug 16, 2022
bb08d13
chore: updating names of test functions
chatton Aug 16, 2022
f9de6e6
chore: updating test name
chatton Aug 16, 2022
e688082
chore: corrected typo
chatton Aug 16, 2022
cf8a8bc
chrore: split test into two separate test cases
chatton Aug 16, 2022
609d93d
chore: addressing PR feedback
chatton Aug 17, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: adding wait for blocks
chatton committed Aug 16, 2022
commit 50c9375a53c70bac966c437362b312c61bfa6b97
3 changes: 3 additions & 0 deletions e2e/interchain_accounts_test.go
Original file line number Diff line number Diff line change
@@ -7,6 +7,7 @@ import (
ibctest "github.com/strangelove-ventures/ibctest"
"github.com/strangelove-ventures/ibctest/chain/cosmos"
"github.com/strangelove-ventures/ibctest/ibc"
"github.com/strangelove-ventures/ibctest/test"
"github.com/stretchr/testify/suite"

sdk "github.com/cosmos/cosmos-sdk/types"
@@ -157,6 +158,8 @@ func (s *InterchainAccountsTestSuite) TestInterchainAccounts_SuccessfulTransfer(
s.AssertValidTxResponse(resp)
s.Require().NoError(err)

s.Require().NoError(test.WaitForBlocks(ctx, 10, chainA, chainB))

balance, err := chainB.GetBalance(ctx, chainBAccount.Bech32Address(chainB.Config().Bech32Prefix), chainB.Config().Denom)
s.Require().NoError(err)