-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Bind Transfer Port on InitChain #5954
Conversation
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.
utACK
This looks great, and @AdityaSripal you are AWESOME! Some failing tests and a failing sim. |
This hasn't fully fixed the issue and is also causing a number of test failures around genesis behavior on both the SDK and gaia. |
Ok debugging now. We have found an issue where failed transactions still grab the capability. We need to roll that back as well if the transaction fails. |
…nto aditya/bind-transfer
Codecov Report
@@ Coverage Diff @@
## ibc-alpha #5954 +/- ##
=============================================
+ Coverage 58.37% 58.42% +0.04%
=============================================
Files 396 396
Lines 23510 23527 +17
=============================================
+ Hits 13725 13745 +20
+ Misses 8827 8821 -6
- Partials 958 961 +3 |
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.
utACK. Minor changes. Pending lint fixes and godoc comments
@@ -18,7 +18,7 @@ const ( | |||
Version = "ics20-1" | |||
|
|||
// PortID that transfer module binds to | |||
PortID = "bank" | |||
PortID = "transfer" |
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.
double-checking if is this correct?
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.
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.
Yes this is good. I prefer transfer
to bank
tbh.
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.
utACK
…nto aditya/bind-transfer
x/ibc/20-transfer/keeper/keeper.go
Outdated
bankKeeper types.BankKeeper | ||
supplyKeeper types.SupplyKeeper | ||
scopedKeeper capability.ScopedKeeper | ||
channelKeeper types.ChannelKeeper |
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.
File is not gofmt
-ed with -s
(from gofmt
)
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.
Great debugging session @AdityaSripal and thank you for cleaning up that branch! LGTM (going to pull the trigger here)
Resolves: cosmos/relayer#80 (comment)
Description
#5888 did not bind the "bank" port for the transfer module on setup. This corrects that issue by calling BindPort on InitChain
For contributor use:
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerFor admin use:
WIP
,R4R
,docs
, etc)