Skip to content

feat: add generate-proof to geth cmd#2028

Merged
pythonberg1997 merged 2 commits intobnb-chain:bc-fusionfrom
pythonberg1997:bc-fusion
Dec 5, 2023
Merged

feat: add generate-proof to geth cmd#2028
pythonberg1997 merged 2 commits intobnb-chain:bc-fusionfrom
pythonberg1997:bc-fusion

Conversation

@pythonberg1997
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sure

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