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

Detect 'halted' state of pallets in relay #1287

Closed
svyatonik opened this issue Jan 18, 2022 · 0 comments · Fixed by #1289
Closed

Detect 'halted' state of pallets in relay #1287

svyatonik opened this issue Jan 18, 2022 · 0 comments · Fixed by #1289
Assignees
Labels

Comments

@svyatonik
Copy link
Contributor

Right now if bridge pallets (GRANDPA/messages) are halted, relay will keep submitting transactions, wait for timeout and then resubmit the same transactions again. This is fine for testnets, but wasting real-value chain resources isn't a good idea. So relay shall detect pallets state and pause if pallet is halted.

The best way to implement that is to add this logic to the ensure_synced() method of the client.

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