centrifuge / centrifuge-chain

Centrifuge Chain: the layer-1 blockchain for real-world assets, built on Substrate.
https://centrifuge.io
GNU Lesser General Public License v3.0
182 stars 78 forks source link

Refactor: Bidirectional routers #1956

Closed lemunozm closed 1 month ago

lemunozm commented 1 month ago

Description

Basic design to support bidirectional routers. From our perspective, we do not have a router entity, just inbound and outbound methods (which are still called routers), at the runtime level, we combine those methods under the same RouterId, later the gateway just handles those RouterIds transparently.

Changes

lemunozm commented 1 month ago

Not fully ready, still WIP. I want to find a way to join the inbound and outbound crates more closely.

lemunozm commented 1 month ago

Will close to submit a better solution