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

Report individual inconsistent keys in state check #28

Merged
merged 1 commit into from
Dec 3, 2024

Conversation

bernatfp
Copy link
Member

@bernatfp bernatfp commented Dec 3, 2024

Fixes #23

Example:

(.venv) bernat@Bernats-MacBook-Pro validator-swarm % python -m swarm state-check
Fetching all keys registered in validator...
Fetching all keys registered in remote signer...
Fetching all keys registered in CSM 1518...

-------------------------------
VALIDATOR KEYS STATE SUMMARY:
-------------------------------
In CSM, Validator, and RemoteSigner: 0
         Locally signed:  0 ✅
         Remotely signed: 0 ⚠️
-------------------------------
In CSM and Validator, but not in RemoteSigner: 107
         Locally signed:  107 ✅
         Remotely signed: 0 ✅
-------------------------------
In CSM and RemoteSigner, but not in Validator: 0 ✅
-------------------------------
In Validator and RemoteSigner, but not in CSM: 0 ✅
-------------------------------
Only in CSM: 1 🚨
        Keys: 0xa42b06f9c54ff5dfd88aa97ab84154797cf3ff5b0ec377f7d318e14ad0345ea62d5fd82bdd8da761069f71298b353203
-------------------------------
Only in Validator: 0 ✅
-------------------------------
Only in RemoteSigner: 0 ✅
-------------------------------

@bernatfp bernatfp merged commit c15fade into main Dec 3, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

State check - Report key values that are in inconsistent state for troubleshooting purposes
1 participant