-
Notifications
You must be signed in to change notification settings - Fork 130
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
Monitor bridge GRANDPA transactions #2447
Comments
Bumps [clap](https://github.com/clap-rs/clap) from 4.0.25 to 4.0.26. - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](clap-rs/clap@v4.0.25...v4.0.26) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <[email protected]> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@svyatonik to recheck |
There are two limits:
So we expect to see:
If we see transaction over those limits, then:
So we need a metrics for actual values in source chain headers and if they are above the limits, we'll need to change constants OR ELSE relayers will keep (partially) spending funds. I'd add this either in v1, or soon after the launch. OTOH, we have enough reserve in those constants, so we unlikely to overflow. So maybe "soon after the launch" is a way to go here. @EmmanuellNorbertTulbure Please triage :) |
Related to #2496
#1882 introduces some constants, related to weight and size (soft) limits of
pallet-bridge-grandpa
transactions. We shall add monitoring stuff (loki + relay logs + alerts OR relay metrics + dashboards + alerts?) to oursubstrate-relay
(or some separate process). The relay must look at all pallet transactions and:votes_ancestries
. If there are such headers, it means that the GRANDPA authority is cheating;votes_ancestries
. Unknown means that we can't find header on other nodes. Such transaction means that the BABE+GRANDPA authority/authorities are possibly cheating;The text was updated successfully, but these errors were encountered: