Commit 6e268a48 authored by sandreim's avatar sandreim Committed by GitHub
Browse files

Add node authority status metric (#4699)



* Check authority status on active leaves update

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* cargo changes

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Fix tests

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Add metric for authority status

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Revert "Fix tests"

This reverts commit 5bd56bb367ec0b01ecca04498b3974ab67bf3189.

* Revert "cargo changes"

This reverts commit ffea18fe3ca12b27e6471ad9f44592799ec90956.

* Revert "Check authority status on active leaves update"

This reverts commit 55a30ac81bf32a72e0b79ca2e7bb612344a5c43d.

* Test fixups

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fix

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* update

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* undo damage

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* dont update status on runtime errors

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Fix tests

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* fix inconsistency

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Review feedback

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* Dont derive primitive Default

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* add dummy_session_info helper

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* unset parachain validator status if no longer authority

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* update

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* damn

Signed-off-by: default avatarAndrei Sandu <[email protected]>

* 🤦



Signed-off-by: default avatarAndrei Sandu <[email protected]>
parent 99dda401
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment