-
Notifications
You must be signed in to change notification settings - Fork 655
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
imp: event assertion tests function #2829
Merged
colin-axner
merged 22 commits into
cosmos:main
from
Anmol1696:anmol/event-tests-transfer
Dec 12, 2022
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
3267c7a
Update ibc_transfer event testing to use AssertEvents from common module
Anmol1696 126b73e
Update assertion of events
Anmol1696 517d006
Add changelog, update AssertEvents to pass as pointer
Anmol1696 3ce88e0
Pass suite by pointer to ibctest
Anmol1696 489d184
Remove nil and zero values of expected map
Anmol1696 c5588ea
Merge branch 'main' into anmol/event-tests-transfer
Anmol1696 d861ce3
Merge branch 'main' into anmol/event-tests-transfer
Anmol1696 f507ef7
Update testing/events.go
Anmol1696 9991a42
Update testing/events.go
Anmol1696 4283fd6
Add type to events map
Anmol1696 c616dae
Merge branch 'main' into anmol/event-tests-transfer
Anmol1696 9d319fe
Merge branch 'main' into anmol/event-tests-transfer
Anmol1696 f5a47e8
Merge branch 'main' into anmol/event-tests-transfer
Anmol1696 3c46d8d
Merge branch 'main' into anmol/event-tests-transfer
Anmol1696 360646a
Merge branch 'main' into anmol/event-tests-transfer
Anmol1696 0a7a042
Merge branch 'main' into anmol/event-tests-transfer
Anmol1696 54c2110
Merge branch 'main' into anmol/event-tests-transfer
Anmol1696 1585467
Use expPass instead of hasEvents for checking for events
Anmol1696 3cc23c4
Combine the code blocks for verification of events
Anmol1696 7ee6b8b
Remove unused function assertTransferEvents
Anmol1696 966eb13
Merge branch 'main' into anmol/event-tests-transfer
Anmol1696 a6da8c6
Merge branch 'main' into anmol/event-tests-transfer
colin-axner 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
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.
I think we can use the event attributes here for the keys.
https://github.com/cosmos/ibc-go/blob/main/modules/apps/transfer/types/events.go
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.
See discussion