-
Notifications
You must be signed in to change notification settings - Fork 8
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
deps: upgrade sdk to 0.52 #206
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #206 +/- ##
=======================================
Coverage 96.97% 96.97%
=======================================
Files 11 11
Lines 562 562
=======================================
Hits 545 545
Misses 17 17 ☔ View full report in Codecov by Sentry. |
@@ -19,7 +19,7 @@ func IbcGoChainSpec(name, chainId string) *interchaintest.ChainSpec { | |||
Images: []ibc.DockerImage{ | |||
{ | |||
Repository: "ghcr.io/cosmos/ibc-go-wasm-simd", // FOR LOCAL IMAGE USE: Docker Image Name | |||
Version: "feat-ibc-eureka", // FOR LOCAL IMAGE USE: Docker Image Tag | |||
Version: "gjermund-fix-wasm-dockerfile", // FOR LOCAL IMAGE USE: Docker Image Tag |
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.
can be changed back after cosmos/ibc-go#7830 is merged
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. Left a couple comments that can be addressed later. Surprised that the rust packages don't need updates.
// in order to ensure that the underlying account is created, we need to perform an operation on its behalf. | ||
// in this case we just send 1 token to itself so the account gets created. | ||
err := chain.SendFunds(ctx, cosmosUser.KeyName(), ibc.WalletAmount{ | ||
Address: cosmosUser.FormattedAddress(), | ||
Denom: chain.Config().Denom, | ||
Amount: sdkmath.NewInt(1), | ||
}) | ||
|
||
s.Require().NoError(err) | ||
s.Require().NoError(testutil.WaitForBlocks(ctx, 2, chain)) |
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.
GetAndFund
test users doesn't do this? Also I thought this requirement was gonna be removed in SDK v0.52
sdk.GetConfig().SetBech32PrefixForAccount(chain.Config().Bech32Prefix, chain.Config().Bech32Prefix+sdk.PrefixPublic) | ||
sdk.GetConfig().SetBech32PrefixForValidator( | ||
chain.Config().Bech32Prefix+sdk.PrefixValidator+sdk.PrefixOperator, | ||
chain.Config().Bech32Prefix+sdk.PrefixValidator+sdk.PrefixOperator+sdk.PrefixPublic, | ||
) |
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 we should check that this function works with chains using other prefixes (like osmo
instead of cosmos
)
}) | ||
|
||
s.Require().NoError(err) | ||
s.Require().NoError(testutil.WaitForBlocks(ctx, 2, chain)) |
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 should also check if we really need the WaitForBlocks
since this function is ran on a loop in setup. (Shouldn't be too bad tho)
Description
Needed for #201 and #202
closes: #207
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
godoc
comments.Files changed
in the GitHub PR explorer.SonarCloud Report
in the comment section below once CI passes.