dreamcatcher-tech / dreamcatcher-stack

https://dreamcatcher.land
1 stars 0 forks source link

Handle multiple aliasing when resolving downlinks #178

Open inverted-capital opened 7 months ago

inverted-capital commented 7 months ago

https://github.com/dreamcatcher-tech/dreamcatcher-stack/blob/98135bc70005799635cf452cbc22519776eadb0b/pkg/interblock/src/w008-ipld/src/Channels.js#L113C36-L113C36

in case a channel is removed and collisions are left dangling, having multiple channels present that have the same address is bad.

Aliasing where we discover during openPath that we already have a suitable channel needs to copy over the data and make sure no RequestIds need updating.