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

Increase MAX_UNREWARDED_RELAYERS_IN_CONFIRMATION_TX constant in RBH/WBH #1757

Closed
2 tasks done
svyatonik opened this issue Jan 11, 2023 · 0 comments · Fixed by #1765
Closed
2 tasks done

Increase MAX_UNREWARDED_RELAYERS_IN_CONFIRMATION_TX constant in RBH/WBH #1757

svyatonik opened this issue Jan 11, 2023 · 0 comments · Fixed by #1765

Comments

@svyatonik
Copy link
Contributor

svyatonik commented Jan 11, 2023

Related to https://github.com/paritytech/srlabs_findings/issues/49

For that we need to:

  • check why weights of receive_delivery_proof_for_two_messages_by_two_relayers and receive_delivery_proof_for_two_messages_by_single_relayer are currently the same (almost). My guess that there must be at least 1 db read and 1 db write per relayer;
  • increase MAX_UNREWARDED_RELAYERS_IN_CONFIRMATION_TX, respecting weights from previous point and inbound lane state size.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment