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
Use mix of local key manager and external signer for sim tests #4583
Conversation
Performance Report✔️ no performance regression detected Full benchmark results
|
@@ -58,6 +58,9 @@ export const LodestarValidatorProcess: ValidatorConstructor = class LodestarVali | |||
}); | |||
this.secretKeys = validatorSecretKeys; | |||
|
|||
// Split half of the keys to external signer | |||
this.externalSigner = new ExternalSignerServer(this.secretKeys.slice(0, this.secretKeys.length / 2)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we define and set the ranges to be divided locally and externally as validables (and the default split as half/half)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also this.rcConfig["externalSigner.url"] = this.externalSigner.url;
isn't required for this using this external signer?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also this.rcConfig["externalSigner.url"] = this.externalSigner.url; isn't required for this using this external signer?
oh ok since we now start keymanager to use this external signer
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@g11tech Done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Motivation
Use mix of both local key manager and external signer for sim tests.
Resolves #4276