-
Notifications
You must be signed in to change notification settings - Fork 628
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
E2E Upgrade Part 2 - Human Readable IBC Denom #4649
Changes from 34 commits
618947d
c1e3359
b41931c
635bc3c
46be834
4455333
7a50bd6
94eb0d5
26841f9
9c13c40
eb1fe98
283f9dd
860fb84
307f28f
f7482c0
df0d044
a4f47ac
9a830a1
1299b98
b883409
f469dc3
6c7d4cf
ecd9a33
882b657
4b4fa7b
591203c
4a8b708
f863354
1b80c4f
20c810f
c0faf67
ed168a3
b76b9c9
d37c0a0
46fd3ba
ef727b6
5785dc6
aace0a1
d0f3b34
240c89c
33dc779
76b007f
043ca76
a5087a6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -103,6 +103,10 @@ func (s *TransferTestSuite) TestMsgTransfer_Succeeds_Nonincentivized() { | |
|
||
expected := testvalues.IBCTransferAmount | ||
s.Require().Equal(expected, actualBalance.Int64()) | ||
|
||
if testvalues.HumanReadableDenomFeatureReleases.IsSupported(chainBVersion) { | ||
s.AssertHumanReadableDenom(ctx, chainB, chainADenom, channelA) | ||
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. 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. I put together both assertions (check metadata is stored, check that balance returns the human readable denom). I hope that's ok, @chatton. |
||
} | ||
}) | ||
|
||
t.Run("non-native IBC token transfer from chainB to chainA, receiver is source of tokens", func(t *testing.T) { | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -108,3 +108,8 @@ var LocalhostClientFeatureReleases = semverutil.FeatureReleases{ | |
"v7.1", | ||
}, | ||
} | ||
|
||
// HumanReadableDenomFeatureReleases represents the releases the human readable denom feature was released in. | ||
var HumanReadableDenomFeatureReleases = semverutil.FeatureReleases{ | ||
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. could also call this 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. I'll maybe do the rename in #4660 to avoid needing to do a full re-run of the upgrades here! 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. nvm the upgrade test failed anyway :D |
||
MajorVersion: "v8", | ||
} |
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 opened #4674.