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: Integrate op-node with op-signer for block payload signing #59

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

mininny
Copy link
Collaborator

@mininny mininny commented Oct 7, 2024

Description

Design Doc: ethereum-optimism/design-docs#103

This PR adds support for op-signer to sign block payloads from op-node for p2p gossiping.

The op-signer now handles opsigner_signBlockPayload RPC with BlockPayloadArgs as an argument. op-signer uses the private key from the KMS to hash the arguments and the sign it this signingHash, and returns it as the RPC response.

This PR is a counterpart PR of ethereum-optimism/optimism#12325

Tests

  • This was tested with local devnet setup with custom cloud KMS key and op-node supporting remote signing of p2p gossip payload.

@mininny mininny force-pushed the feature/mininny/integrate-op-signer-op-node branch 3 times, most recently from 250005b to 1f5c0b7 Compare October 29, 2024 20:52
@mininny mininny force-pushed the feature/mininny/integrate-op-signer-op-node branch from 1f5c0b7 to 7f5e370 Compare October 29, 2024 20:54

toolchain go1.22.0

replace github.com/ethereum-optimism/optimism v1.4.3-0.20240125020216-6a3b1ec12399 => github.com/testinprod-io/optimism v0.0.0-20241018221952-12c4820e35fb
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Will be reverted once the monorepo pr gets merged

@mininny mininny requested a review from zhwrd October 29, 2024 21:10
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.

2 participants