-
Notifications
You must be signed in to change notification settings - Fork 610
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
Test for AsyncSingleSender (E2E #6) #1682
Merged
chatton
merged 71 commits into
main
from
cian/issue#1652-add-e2e-test-for-async-single-sender
Jul 20, 2022
Merged
Changes from all commits
Commits
Show all changes
71 commits
Select commit
Hold shift + click to select a range
47be6be
feat(e2e): adding script to dynamically generate list of e2e tests
chatton ce80411
feat(e2e): adding github CI to run E2E tests
chatton bfbba03
feat(e2e) adding placeholder test for github action to execute
chatton 4569fa5
wip: extracting correct tag for image
chatton 272ad61
wip: extracting correct tag for image
chatton 6afe90c
wip: corrected workflow syntax
chatton 7497574
wip: corrected workflow syntax
chatton 7091fbc
removed unreferenced job
chatton 6ebcc6d
wip: adding makefile
chatton 05d9a45
wip: displaying env vars in placeholder test
chatton 308eb0f
wip: adding go script to determine simd tag
chatton 9ebacd7
fix: corrected outputs name in test.yml
chatton c431850
fix: specifying correct output name
chatton 3c4f62b
fix: updating go script to accept a single argument
chatton b5fff2a
chore: greatly simplifying determine_simd_tag.go
chatton abb0eca
chore: adding docstring to determine_simd_tag.go
chatton f36025b
chore: extract output variable
chatton 9039137
chore: adding echo to display the tag in the workflow
chatton 30591c9
feat(e2e): adding E2ETestSuite
chatton b43d07e
wip: temporarily remove entrypoint in dockerfile
chatton b1bcc12
chore: removing SkipPathCreation
chatton d740296
removed Req and eRep member fields
chatton e94d35b
merge main
chatton 848f888
chore: adding docstrings and cleaning up E2ETestSuite
chatton 9306535
wip
chatton d6bc5cb
wip
chatton 24e18f5
chore: adding clientset and grpc methods for fee functions
chatton fde112b
wip: adding QueryIncentivizedPackets and PayPacketFeeAsync functions
chatton 8fb6a30
wip: adding final assertions for test
chatton 06557ef
wip: removing commented code and updating docstrings
chatton 166c736
wip: updating method signature to return error as second argument
chatton 23b21d0
chore: updating to latest version of ibctest
chatton 9882a09
chore: updating go.sum
chatton 3f086e2
chore: adding broadcast user to broadcast functions
chatton b70abd6
wip: passing test with local pin upgrading ibctest to use ibc-go v4
chatton 99328b1
merge main
chatton 35e454f
chore: correcting docstring
chatton ccd9fd5
chore: updating test.yml to pass only the pr
chatton e154f09
chore: upgrading go to 1.18 for e2e test
chatton 9310653
chore: adding docstrings and cleaning up test
chatton 0daa110
chore: updating go.mod to have latest ibctest
chatton 388862d
chore: updating method signatures to use work with latest ibctest
chatton 3baaef2
Merge branch 'cian/issue#1648-add-baseline-e2e-test-suite-type-(e2e-#…
chatton 2203f1e
chore: updating based on review feedback
chatton 5bded85
chore: changed src and dst to chainA and chainB
chatton 6cadba0
chore: adding package to hold default values for tests
chatton bfb2ac6
chore: adding separate go.mod for e2e tests
chatton 49e65c5
chore: cd into e2e directory before running test
chatton 4b9fe9b
chore: renamed wallet to less verbose name
chatton 236eb9f
Merge branch 'main' into cian/issue#1648-add-baseline-e2e-test-suite-…
chatton 11227eb
Merge branch 'main' into cian/issue#1648-add-baseline-e2e-test-suite-…
chatton 7541beb
Merge branch 'main' into cian/issue#1648-add-baseline-e2e-test-suite-…
chatton e768a46
chore: addressing PR feedback
chatton ce2828e
Merge branch 'cian/issue#1648-add-baseline-e2e-test-suite-type-(e2e-#…
chatton 2f77cd3
chore: adding separate go.mod for e2e tests
chatton 0cfac25
chore: renaming module name to e2e
chatton 5753fa4
chore: remving commented out line from Dockerfile
chatton 9ebbed4
chore: adding separate Makefile for e2e tests
chatton 58a0fd5
chore: adding newline
chatton 9b2ffba
chore: merge main
chatton 1c2e239
chore: handling merge conflicts
chatton da2c8b9
chore: uncommenting line from Dockerfile
chatton 3b87fd8
chore(e2e): adding fee middleware test functions and broadcast functi…
chatton 46c96bb
chore: merge with #1710
chatton b253b8d
chore: merge main
chatton 84e5d3f
chore: merging #1710
chatton c6d0e71
chore: reverting go.mod
chatton 0d7da70
chore: extracting test variables
chatton d33a717
merge main
chatton a89424d
Merge branch 'main' into cian/issue#1652-add-e2e-test-for-async-singl…
chatton 41e3e36
Merge branch 'main' into cian/issue#1652-add-e2e-test-for-async-singl…
chatton File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package testvalues | ||
|
||
import ( | ||
sdk "github.com/cosmos/cosmos-sdk/types" | ||
|
||
feetypes "github.com/cosmos/ibc-go/v4/modules/apps/29-fee/types" | ||
) | ||
|
||
const ( | ||
StartingTokenAmount int64 = 10_000_000 | ||
IBCTransferAmount int64 = 10_000 | ||
) | ||
|
||
func DefaultFee(denom string) feetypes.Fee { | ||
return feetypes.Fee{ | ||
RecvFee: sdk.NewCoins(sdk.NewCoin(denom, sdk.NewInt(50))), | ||
AckFee: sdk.NewCoins(sdk.NewCoin(denom, sdk.NewInt(25))), | ||
TimeoutFee: sdk.NewCoins(sdk.NewCoin(denom, sdk.NewInt(10))), | ||
} | ||
} |
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"should succeed" is maybe not very descriptive, maybe something like "transaction to pay packet fee succeeds" instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is should intentionally as the end go test output looks similar to
TestMsgPayPacketFeeAsyncSingleSender/pay_packet_fee/should_succeed
The same applies to all nested test functions