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

feat: add generate-proof to geth cmd #2028

Merged
merged 2 commits into from
Dec 5, 2023

Conversation

pythonberg1997
Copy link
Contributor

@pythonberg1997 pythonberg1997 commented Dec 4, 2023

Description

This pr is to add cmd generate-proof to geth.

Rationale

After feynman upgrade, anyone who wants to create a validator should provide a bls proof of his vote address. This cmd is to facilitate that.

Changes

Notable changes:

  • add cmd generate-proof to geth

PublicKey: pubkeyBz,
SigningRoot: msgHash,
}
sig, err := km.Sign(context.Background(), req)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have we verified that the signature that generate here can be verified by the stakingHub contract?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure

@pythonberg1997 pythonberg1997 merged commit 5743b06 into bnb-chain:bc-fusion Dec 5, 2023
5 checks 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.

3 participants