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

Merged
merged 6 commits into from
Dec 3, 2024

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 requested a review from a team as a code owner October 7, 2024 21:42
@mininny mininny requested a review from ajsutton October 7, 2024 21:42
@mininny mininny force-pushed the feature/mininny/integrate-op-signer-op-node branch from 28e1d8c to ea91644 Compare October 7, 2024 21:53
@ajsutton ajsutton requested review from zhwrd and removed request for ajsutton October 8, 2024 19:48
@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
@mininny mininny merged commit 6a5462e into main Dec 3, 2024
6 checks passed
@mininny mininny deleted the feature/mininny/integrate-op-signer-op-node branch December 3, 2024 07:57
Vui-Chee added a commit to okx/infra that referenced this pull request Dec 13, 2024
….2.2

[tag-service-release] Tag op-signer at v1.2.2

* tag 'op-signer/v1.2.2':
  chore(deps): bump github.com/golang-jwt/jwt/v4 in /op-signer (ethereum-optimism#97)
  proxyd: add Redis cluster support (ethereum-optimism#100)
  op-conductor-ops: shorten status table titles (ethereum-optimism#110)
  Add sequencer voting column in status table (ethereum-optimism#108)
  chore(deps): bump github.com/btcsuite/btcd in /peer-mgmt-service
  feat: support un-overriding the leader with safeguards (ethereum-optimism#104)
  fix conductor_overrideLeader and support forced leadership transfer (ethereum-optimism#103)
  Make proxyd error handling more generic for different backend implementations
  op-conductor-ops: halt-sequencer command and pre-flight checks to force-active-sequencer (ethereum-optimism#101)
  chore(deps): bump github.com/rs/cors in /op-conductor-mon
  feat: Integrate op-node with op-signer for block payload signing (ethereum-optimism#59)
Vui-Chee added a commit to okx/infra that referenced this pull request Dec 23, 2024
[tag-service-release] Tag proxyd at v4.13.0

* tag 'proxyd/v4.13.0':
  fix: don't count replacement underpriced errors (ethereum-optimism#112)
  chore(deps): bump github.com/golang-jwt/jwt/v4 in /op-txproxy (ethereum-optimism#96)
  chore(deps): bump github.com/golang-jwt/jwt/v4 in /op-signer (ethereum-optimism#97)
  proxyd: add Redis cluster support (ethereum-optimism#100)
  op-conductor-ops: shorten status table titles (ethereum-optimism#110)
  Add sequencer voting column in status table (ethereum-optimism#108)
  chore(deps): bump github.com/btcsuite/btcd in /peer-mgmt-service
  feat: support un-overriding the leader with safeguards (ethereum-optimism#104)
  fix conductor_overrideLeader and support forced leadership transfer (ethereum-optimism#103)
  Make proxyd error handling more generic for different backend implementations
  op-conductor-ops: halt-sequencer command and pre-flight checks to force-active-sequencer (ethereum-optimism#101)
  chore(deps): bump github.com/rs/cors in /op-conductor-mon
  feat: Integrate op-node with op-signer for block payload signing (ethereum-optimism#59)
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