Near-One/rainbow-bridge

Eth2-to-Near-relay: single shot mode improvements

sept-en opened this issue · 1 comments

I think it's quite weird for us to get LightClientUpdate from the file this won't help to synchronize. The idea for a single shot run was to fetch the beacon state from the file and then build the custom light client update as we already built in the code. But in this case, we need to provide a light client update in the file, and it seems as it looks like even if we obtain a beacon state and the relayer is not able to do so (for some reason), then we need somehow to build custom LightClientUpdate without the relayer's code.

Originally posted by @sept-en in #787 (comment)