-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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: Move TxDecoder into its own middleware #10612
Merged
Merged
Changes from all commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
aa99314
WIP: middleware refactor
atheeshp 58c09f2
refactor `tx.Request`
atheeshp fd5f84a
Merge branch 'master' of github.com:cosmos/cosmos-sdk into ap/mw-refa…
atheeshp f766aef
Add MsgResponses any in sdk.Result
amaury1093 c5e516b
add helper functions in abci
atheeshp 43cda59
Merge branch 'master' of github.com:cosmos/cosmos-sdk into ap/mw-refa…
atheeshp 306c1fc
refactor tips
atheeshp f1afaab
Merge branch 'master' of github.com:cosmos/cosmos-sdk into ap/mw-refa…
atheeshp caf2e39
review changes
atheeshp 26285bf
Merge branch 'master' of github.com:cosmos/cosmos-sdk into ap/mw-refa…
atheeshp 81f013a
Fix mock tests
amaury1093 b2dbf10
Update baseapp/abci.go
amaury1093 d685963
Update baseapp/abci.go
amaury1093 043c3d4
Update types/tx/middleware.go
amaury1093 23ef037
Update types/tx/middleware.go
amaury1093 fded41a
tx.Response to abci conversion
amaury1093 dfeac86
refactor makeABCIData
amaury1093 7d3f868
Merge branch 'master' of ssh://github.com/cosmos/cosmos-sdk into ap/m…
amaury1093 b75795e
Add comments
amaury1093 fe7dbbc
Fix build
amaury1093 51861fb
fix build error
atheeshp 9783965
fix tests
atheeshp ed08f40
Merge branch 'master' of github.com:cosmos/cosmos-sdk into ap/mw-refa…
atheeshp 4c2320a
fix test
atheeshp cde4010
fix tests
atheeshp d5b43d3
Merge branch 'master' of github.com:cosmos/cosmos-sdk into ap/mw-refa…
atheeshp 02e3f93
Fix TestSimulateTx
amaury1093 e795b2e
fix tests
atheeshp 24d9a04
Merge branch 'master' of github.com:cosmos/cosmos-sdk into ap/mw-refa…
atheeshp c6c387c
fix test
atheeshp 141d214
Fix build
amaury1093 2300c28
Merge branch 'ap/mw-refactor' of ssh://github.com/cosmos/cosmos-sdk i…
amaury1093 d89eee7
Merge branch 'master' of ssh://github.com/cosmos/cosmos-sdk into ap/m…
amaury1093 fa5df34
Simplify code
amaury1093 1608e18
fix test build
amaury1093 4e9071f
Use repeated bytes in txMsgData
amaury1093 310fee5
Fix grpc-gateway test
amaury1093 f7e12fb
Merge branch 'master' of ssh://github.com/cosmos/cosmos-sdk into ap/m…
amaury1093 39bee75
Make proto-gen
amaury1093 39f0bcc
Automagically register MsgResponse
amaury1093 72b0c30
review changes
atheeshp df75f83
Merge branch 'master' into ap/mw-refactor
atheeshp edffa1b
Merge branch 'ap/mw-refactor' of ssh://github.com/cosmos/cosmos-sdk i…
amaury1093 473ef1f
Merge branch 'master' of ssh://github.com/cosmos/cosmos-sdk into ap/m…
amaury1093 cf51edf
Use froydi's trick
amaury1093 5c93517
Use Any in TxMsgData
amaury1093 19b7189
Finally remove API breaking change
amaury1093 ceb97a4
Revert unnecessary stuff
amaury1093 963e5b6
refactor: Move TxDecoder into its own middleware
amaury1093 51cbf76
Add test for txDecoderMiddleware
amaury1093 c63122e
Fix some baseapp tests
amaury1093 2deca27
Fix some more tests
amaury1093 00f3681
Fix mock tests
amaury1093 77ca28a
Fix middleware tests
amaury1093 66085ab
Add cl
amaury1093 d6b0884
Merge branch 'master' of ssh://github.com/cosmos/cosmos-sdk into am/1…
amaury1093 d6c42d7
Fix tests
amaury1093 1c6dab1
Update types/tx/middleware.go
amaury1093 8fa3113
Merge branch 'master' into am/10610-txdecoder-middleware
amaury1093 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
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.
good to mention this is required to be added in middleware, so when people read this they know this is a change they must make