cartesi / rollups

Cartesi Rollups
30 stars 12 forks source link

Create a common base contract for portals and relays #131

Closed guidanoli closed 1 year ago

guidanoli commented 1 year ago

📚 Context

As previously discussed in #33, portals and relays have isomorphic interfaces. We decided to name this common interface "Input Relay". However, currently portals and relays have different base interfaces.

✔️ Solution

We should remove the "Portal" and "Relay" interfaces, and add an "Input Relay" interface. The same goes for the base implementations.

📈 Subtasks