feat: single-node implementation of slash-protection signer (backport #20894)#21158
Closed
AztecBot wants to merge 1 commit intobackport-to-v4-stagingfrom
Closed
feat: single-node implementation of slash-protection signer (backport #20894)#21158AztecBot wants to merge 1 commit intobackport-to-v4-stagingfrom
AztecBot wants to merge 1 commit intobackport-to-v4-stagingfrom
Conversation
…20894) Cherry-pick of c5cc991 with conflict resolution for v4. Key adaptations for v4: - Replaced @aztec/stdlib/ha-signing imports with local imports within validator-ha-signer (types already moved to this package on v4) - Added HA_SIGNER_* metric definitions and HA_DUTY_TYPE/HA_NODE_ID attributes to telemetry-client (these were added in a prior PR on next) - Updated SlashingProtectionService and ValidatorHASigner constructors to accept deps parameter (metrics + dateProvider) - Added new package exports: ./local-config, ./metrics - Added LMDB-backed local signing protection database - Updated all test files to use new constructor signatures
Member
|
not needed for |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Backport of #20894 to v4.
The automatic cherry-pick failed due to conflicts because on v4 the HA signing types had already been moved from
stdlib/src/ha-signing/tovalidator-ha-signer/.Key adaptations for v4
@aztec/stdlib/ha-signingimports with local imports withinvalidator-ha-signerHA_SIGNER_*metric definitions andHA_DUTY_TYPE/HA_NODE_IDattributes totelemetry-clientSlashingProtectionServiceandValidatorHASignerconstructors to accept deps parameter (metrics + dateProvider)./local-config,./metricsLmdbSlashingProtectionDatabase)createLocalSignerWithProtectionfactory function for single-node setupsClaudeBox log: http://ci.aztec-labs.com/0cd974dff4a32c53-1