-
Notifications
You must be signed in to change notification settings - Fork 18
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
Problem: cosmos-sdk 0.46 is not used #69
Conversation
5901d41
to
874ce92
Compare
seems to be a breaking change. mmm lets see if we should have main branch or keep syncinc with upstream |
opened a PR to upstream too: PeggyJV#433 |
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.
lgtm
the only thing is it rely on a unmerged upstream PR: cosmos/ibc-go#1653 |
Hi, I should give a little context here I think:
Since ibc v4 hasn't cut a release with either 3.x or 4.x that uses 46, yeah this has been a pain point for me since february. I will be making another for ibc v3.1.0, that upgrades it to 46. I have no idea when any of this will be merged, not sure if keeping in sync with cosmos-sdk release candidate versions is a priority for the ibc-go team. @thomas-nguy it is definitely several breaking changes. If I were you, and this doesn't ship straight into production then I would:
|
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.
lgtm
@@ -128,7 +128,7 @@ func CmdRequestBatchTx() *cobra.Command { | |||
} | |||
|
|||
denom := args[0] | |||
signer, err := sdk.AccAddressFromHex(args[1]) | |||
signer, err := sdk.AccAddressFromHexUnsafe(args[1]) |
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.
why is it unsafe?
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.
maybe it can't tell if it's actually an address or some random 20 bytes, anyway, cosmos-sdk renamed the function.
also update ibc-go to v4 cosmos-sdk reject zero gas limit Revert "cosmos-sdk reject zero gas limit" This reverts commit 589525b. update ibc-go to v5 beta fix building unit tests fix unit tests
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 guess move from x/params and the new gov proposal-related changes are to be done in a separate PR?
github.com/ethereum/go-ethereum v1.10.17 h1:XEcumY+qSr1cZQaWsQs5Kck3FHB0V2RiMHPdTBJ+oT8= | ||
github.com/ethereum/go-ethereum v1.10.17/go.mod h1:Lt5WzjM07XlXc95YzrhosmR4J9Ahd6X2wyEV2SvGhk0= |
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 guess this one doesn't affect anything: GHSA-rqmg-hrg4-fm69
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.
we can do a replace in cronos.
@@ -17,12 +18,12 @@ func TestModuleBalanceUnbatchedTxs(t *testing.T) { | |||
|
|||
ctx := input.Context | |||
var ( | |||
mySender, _ = sdk.AccAddressFromBech32("gravity1ahx7f8wyertuus9r20284ej0asrs085ceqtfnm") | |||
mySender, _ = sdk.AccAddressFromBech32("cosmos12luku6uxehhak02py4rcz65zu0swh7wj8a5enl") |
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.
bech32 prefix is hardcoded?
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 don't see it customized in unit tests, so I have to change to default one to make the tests run
yeah |
also upgrade ibc-go to v5