Open danwt opened 5 months ago
IIRC there was some canonical channel concept introduced on the rollapp when Alex and I did the genesis transfers and the denom metadata work, These are old issues, but need to be done/double checked I'm just looking now https://github.com/dymensionxyz/dymension-rdk/blob/74f21279f16d3a5608ee442406b439024b18f474/x/hub-genesis/types/state.go#L28-L30 Yeah I think we need to write an upgrade on the rollapp to set canonical channel for existing rollapps
state.go func (s *State) IsCanonicalHubTransferChannel(port, channel string) bool { return s.CanonicalHubTransferChannelHasBeenSet() && s.HubPortAndChannel.Port == port && s.HubPortAndChannel.Channel == channel }
After the upgrade, there is a notion of canonical port/channel Need to make sure existing chains are not broken by this upgrade