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

Weights for new methods of relayers pallet #2033

Closed
2 of 3 tasks
Tracked by #2430
svyatonik opened this issue Apr 12, 2023 · 1 comment
Closed
2 of 3 tasks
Tracked by #2430

Weights for new methods of relayers pallet #2033

svyatonik opened this issue Apr 12, 2023 · 1 comment

Comments

@svyatonik
Copy link
Contributor

svyatonik commented Apr 12, 2023

#2025 adds two new calls to pallet-bridge-relayers. Their weight is currently set to Weight::zero. We should:

  • add benchmarks
  • update weight formulae;
  • (optionally) add limit to new map, because number of relayers-with-stake doesn't expected to be large. It may be extracted to a separate issue.
@svyatonik
Copy link
Contributor Author

Re map limits - let's see how it'll (relayers registry) evolve first. Maybe we'll be implementing some other solution

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

No branches or pull requests

1 participant