-
Notifications
You must be signed in to change notification settings - Fork 270
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Log when validator enters commitee (#10615)
Entering the committee on a new epoch is logged as INFO, new epoch where validator is not selected is VERBOSE. ``` [10:46:11.603] DEBUG: epoch-cache Initialized EpochCache with constants and validators {"l1constants":{"epochDuration":4,"ethereumSlotDuration":4,"l1GenesisTime":1733923582,"l1StartBlock":33,"slotDuration":8},"initialValidators":["0x3c44cdddb6a900fa2b585dd299e03d12fa4293bc","0x976ea74026e726554db657fa54763abd0c3a0aa9","0x70997970c51812dc3a010c7d01b50e0d17dc79c8"]} [10:46:11.627] VERBOSE: validator Initialized validator with address 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 [10:46:11.634] INFO: validator Started validator with address 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 [10:46:38.639] DEBUG: epoch-cache Updating validator set for new epoch 38 {"epoch":38,"previousEpoch":37} [10:46:38.646] DEBUG: epoch-cache Updated validator set for epoch 38 {"commitee":["0x3c44cdddb6a900fa2b585dd299e03d12fa4293bc","0x90f79bf6eb2c4f870365e785982e1f101e93b906","0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"]} [10:46:38.646] VERBOSE: validator Validator 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 not on the validator committee for epoch 38 [10:47:10.653] DEBUG: epoch-cache Updating validator set for new epoch 39 {"epoch":39,"previousEpoch":38} [10:47:10.656] DEBUG: epoch-cache Updated validator set for epoch 39 {"commitee":["0x15d34aaf54267db7d7c367839aaf71a00a2c6a65","0x90f79bf6eb2c4f870365e785982e1f101e93b906","0x9965507d1a55bcc2695c58ba16fb37d819b0a4dc"]} [10:47:10.656] VERBOSE: validator Validator 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 not on the validator committee for epoch 39 [10:47:42.659] DEBUG: epoch-cache Updating validator set for new epoch 40 {"epoch":40,"previousEpoch":39} [10:47:42.661] DEBUG: epoch-cache Updated validator set for epoch 40 {"commitee":["0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266","0x976ea74026e726554db657fa54763abd0c3a0aa9","0x15d34aaf54267db7d7c367839aaf71a00a2c6a65"]} [10:47:42.661] INFO: validator Validator 0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266 is on the validator committee for epoch 40 ``` Fixes #10337
- Loading branch information
1 parent
98ba747
commit 7746a39
Showing
5 changed files
with
46 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters