-
Notifications
You must be signed in to change notification settings - Fork 606
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
refactor: cleanup middleware stacks #1248
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
227f47b
refactor: UX improvements for middleware
seantking 725936f
fix: move fee keeper
seantking 700ad6a
fix: remove unncessary wrapping
seantking 5852bdf
refactor: ica module stack setup
seantking 94f3e23
fix: define icaControllerStack as type porttypes.IBCModule
colin-axner e0e405e
add back controller routing for port
colin-axner fd2360f
refactor: remove unncessary SendPacket
seantking 2793d73
refactor: panic instead of return nil
seantking b419f8f
refactor: changing structure to init all keepers, then stacks & routing
seantking 4a60ff6
docs: add comments
seantking 2aa1f8c
Merge branch 'main' into sean/issue#773-cleanup-middleware-stacks
seantking 31c3f93
nit: comment
seantking 40fbdcc
chore: rename files
seantking 68f4843
chore: comment + nit
seantking 6624b73
refactor: stacks
seantking 611c5db
Update modules/apps/27-interchain-accounts/controller/ibc_middleware.go
seantking 5898bfc
nits: nits
seantking 80816aa
chore: comment
seantking 112d1c1
Merge branch 'main' into sean/issue#773-cleanup-middleware-stacks
seantking ac937cb
chore: chore
seantking 80de572
Merge branch 'main' into sean/issue#773-cleanup-middleware-stacks
seantking 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
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
Oops, something went wrong.
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.
Ok I understand now why you've done it this way.
I think it should be documented in this function's go-doc that the packet is going to get constructed directly by ICA controller and sent to IBC rather than being created by ICA-auth.
Reading this file, made me think SendPacket wasn't happening at all when really it is happening through the controller's SendTx function