-
Notifications
You must be signed in to change notification settings - Fork 78
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
Commit Boost Acceptance Test for List Pub Keys #1040
Conversation
# Conflicts: # signing/src/main/java/tech/pegasys/web3signer/signing/config/DefaultArtifactSignerProvider.java
* @param identifier The identifier for which to sign data. | ||
* @param data Bytes which is signed | ||
* @return Optional ArtifactSignature of type T. Empty if no signer available for given identifier | ||
*/ | ||
@SuppressWarnings("unchecked") | ||
public <T extends ArtifactSignature<?>> Optional<T> signAndGetArtifactSignature( |
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.
Removing this means we need to cast in some places
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.
This is currently used only at one place, in TransactionSerializer
.
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.
Let me try to see if we can eliminate this method altogether.
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.
@jframe I've eliminated this method. TransactionSerializer can reconstruct SignatureData from the hex String.
-- derive SignatureData from existing SecpArtifactSignature builder method
PR Description
Add commit boost acceptance test for list pub keys API. Also fix the public key identifiers used by commit boost by introducing K256ArtifactSigner.
Fixed Issue(s)
Documentation
doc-change-required
label to this PR if updates are required.Changelog
Testing