You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We use an argument to construct IbcConnectInit or IbcConnectTry from an IbcConnectOpen callback. We could split this into 2 methods, or we could use a IbcConnectOpenMsg as an argument (which captures the 2 variants).
It could definitely be cleaner than mine, which I did to make minimal changes. I'd like feedback from @alpe to do this.
The text was updated successfully, but these errors were encountered:
The work in cosmwasm is nice, such that you can call a helper msg.channel() to get the information common to both variants and not care about which one (as now), or actually switch on variant (if you care).
It is quite nice actually, from a fair bit of back and forth. At least it provides the contracts the possibility of handling the different events differently
Question: do we want to do so?
We use an argument to construct IbcConnectInit or IbcConnectTry from an IbcConnectOpen callback. We could split this into 2 methods, or we could use a IbcConnectOpenMsg as an argument (which captures the 2 variants).
It could definitely be cleaner than mine, which I did to make minimal changes. I'd like feedback from @alpe to do this.
The text was updated successfully, but these errors were encountered: