Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem: Gravity bridge orchestrator always run with relayer #100

Closed
calvinaco opened this issue Sep 23, 2021 · 5 comments
Closed

Problem: Gravity bridge orchestrator always run with relayer #100

calvinaco opened this issue Sep 23, 2021 · 5 comments
Assignees

Comments

@calvinaco
Copy link
Contributor

Provide a flag to enable/disable running the relayer, or just don't run relayer with it.

That way validators can decide to run only the orchestrator to validate the traffic but not to relay the packet.

@yihuang
Copy link
Collaborator

yihuang commented Sep 23, 2021

Do you mean only do etherem -> cronos, but don't do cronos -> ethereum?

@thomas-nguy
Copy link
Collaborator

Yes

the orchestrator main loop also run the relayer main loop

https://github.com/PeggyJV/gravity-bridge/blob/main/orchestrator/orchestrator/src/main_loop.rs#L82

we want for the partners to be able to disable the relayer part which requires some ETH fee

@yihuang
Copy link
Collaborator

yihuang commented Sep 24, 2021

If the orchestrator doesn't have enough eth balance on ethereum, it naturally can't relay successfully.
Or after #99 is implemented, he can set an extremely high profit rate to de facto disable relaying.

@thomas-nguy
Copy link
Collaborator

I think for the first phase, partners does not want to develop anything for the relayer and we should help them to setup the orchestrator correctly. So being able to run orchestrator without relayer needs to be simplify

If partner choose to run relayer, there are also discussion if we should allow or not "competition" between relayers.
Because we will endup losing gas for nothing since only one can submit batch correctly (the highest gas price setup win)

@yihuang
Copy link
Collaborator

yihuang commented Oct 4, 2021

PeggyJV/gravity-bridge#210

it seems already implemented in upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants