Near-One / rainbow-bridge

🌈🌈🌈 NEAR <> Ethereum Decentralized Bridge
GNU General Public License v3.0
327 stars 100 forks source link

Eth2-to-NEAR-relay: non-blocking interaction with DAO #784

Open sept-en opened 2 years ago

sept-en commented 2 years ago

In PR #779 the support for interaction with the SputnikDAO was added. However, the current implementation supposes that after LightClientUpdate is sent, the relayer waits (in a blocking way) for the status change of Proposal (to something that is not InProgress status). This prevents the relay from doing anything else, e.g. submitting execution hash blocks.

To mitigate this, the possible ways would be: