-
Notifications
You must be signed in to change notification settings - Fork 202
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
Sdk v0.46.* and ibc-go v5.1.0 #349
Merged
Merged
Changes from 1 commit
Commits
Show all changes
77 commits
Select commit
Hold shift + click to select a range
34d23df
bump version: sdk => 0.46.4, ibc => 5.1.0
hieuvubk 87a5a23
update version grpc
hieuvubk 33a6066
fix keychain import
hieuvubk c11dd19
change import govtypes & store keys
hieuvubk 2d82b3f
fixing
hieuvubk 3c30499
fix OnChanOpenInit
hieuvubk 91a46f4
NewIBCModule => NewIBCMiddleware
hieuvubk 66a4bd8
remove register rest api
hieuvubk 7c3ebd2
fix testutil network prunning
5f81dd4
fix pruning testutil
d92b389
fix RegisterTendermintService
hieuvubk 553c297
Merge branch 'upgrade_ibc_v5' of https://github.com/notional-labs/str…
hieuvubk a378c78
fix app.go
hieuvubk dad9eef
fix genaccount & main cmd
hieuvubk a5edb43
fix root.go in cmd
82d08c1
pull upstream
b70b627
fix empty valset
hieuvubk 67fbece
fixing
hieuvubk 9f7b932
get appVersion
hieuvubk e65581d
fixing parse coin
hieuvubk da8a4be
fix test for ibc denom
hieuvubk e43200c
remove fmt
hieuvubk 52e9759
fix merge confilct
b7433c1
fix lint error
948675c
upgrade to v0.46.6 to avoid err
hieuvubk ca2fe15
Merge branch 'upgrade_ibc_v5' of https://github.com/notional-labs/str…
hieuvubk ec3fb68
add no lint check for sdk.MsgData
15eebd6
Merge branch 'main' into upgrade_ibc_v5
hieuvubk 1bfff01
fix lint: check func return err
hieuvubk e0d2d8b
Merge branch 'upgrade_ibc_v5' of https://github.com/notional-labs/str…
hieuvubk b4232fa
rebuild protos now that we refer to v4
faddat 6812ee1
tidy and correct versions in go.mod
faddat acd8c57
update stride
faddat bafb8d4
further bumps
faddat e032969
fixes
faddat 1fcdc2e
fix queries.go
faddat d56efb6
fix abci types
faddat 92daa30
revert change bats
hieuvubk f6723f4
fix queries.go
hieuvubk f304ca9
lint: remove unused field
hieuvubk b5c9574
Merge branch 'main' into upgrade_ibc_v5
asalzmann 86ac940
Add test for err MintStAsset
DongLieu a4b0672
Merge pull request #12 from notional-labs/Unit-test-LiquidStake
ThanhNhann 58e4fda
merge
hieuvubk f0b4247
Merge branch 'main' of https://github.com/notional-labs/stride into main
hieuvubk 23be8f3
rebase
hieuvubk 5704e44
fix err message
hieuvubk 68c1eef
remove unused test
hieuvubk 8cb8472
sdk 0.46.7
hieuvubk bed03d2
use cosmosmath.Int to fix lint
hieuvubk 921b0f6
use cosmosmath
hieuvubk ee0df1d
remove unused cmt
hieuvubk a0d2adf
Merge branch 'main' into upgrade_ibc_v5
asalzmann 198f5ac
sam comments
asalzmann 0f49cc1
update handle ack
hieuvubk 7e5aa93
pull
hieuvubk 1e3be24
remove nolint flags
hieuvubk 70d2e45
fix lint
hieuvubk f8cd873
remove comments
hieuvubk 11b6209
Merge branch 'main' into upgrade_ibc_v5
hieuvubk cd36b83
cosmosmath => sdkmath
hieuvubk d52dd5b
add ICATxResponse type, branch sdk 45/46 logic
asalzmann 2d185ab
refactored ica callback ack handling
sampocs 8e356f2
updated relayer for v5
sampocs 36c379d
pr comments and integration test fixes
sampocs af6f288
rm nil ack
asalzmann 28ffb8d
added debugging logs in ack unwrapper
sampocs d1af58c
added unit tests for UnpackAck
sampocs 025e373
added parse tx msg data function and more unit tests
sampocs 782d385
fixed unit tests
sampocs 167caee
Merge branch 'main' into upgrade_ibc_v5
sampocs e9af2cf
added no lint annotation for sdk.MsgData
sampocs cfc9861
Merge remote-tracking branch 'upstream/main' into upgrade_ibc_v5
sampocs b6ce2d0
added logging helper to print ICA status
sampocs 593429f
Merge remote-tracking branch 'upstream/main' into upgrade_ibc_v5
sampocs 1717780
fixed bug in counterparty connection with registering a host zone/res…
sampocs 5fc4413
fixed unit tests
sampocs 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package types | ||
|
||
import sdk "github.com/cosmos/cosmos-sdk/types" | ||
|
||
|
||
type ICATxResponseStatus int | ||
const ( | ||
SUCCESS ICATxResponseStatus = iota | ||
TIMEOUT | ||
FAILURE | ||
) | ||
type ICATxResponse struct { | ||
Status ICATxResponseStatus // enum of SUCCESS, TIMEOUT, FAILURE | ||
Data sdk.TxMsgData // TxMsgData | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. And then I think you want data to be a byte array here |
||
} |
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
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.
If you're on board with moving the ack unmarshaling out, I think we should add it to the top of this function and rename it to something more generic like
UnpackICAAcknowledgement
(I'm sure you can think of a much better name)And then each callback would take types.ICATxResponse as the argument instead of the Ack packet type