op-signer: opsigner_signBlockPayloadV2, fixes, cleanup#203
Conversation
bfd959e to
9242052
Compare
|
Does this provide L1 Pectra readiness, or had this already been addressed in op-signer? |
It updates the geth dep, but doesn't support signing of 7702 txs yet, since the auth-list attribute is not part of the API type yet. |
mininny
left a comment
There was a problem hiding this comment.
I did some simple tests on my local machine with the new/old op-signer and V1/V2 rpcs seem to work. Awesome clean up 👍
Co-authored-by: Minhyuk Kim <kimminhyuk1004@gmail.com>
|
@mininny thank you for the review! I fixed the client test command, commented on the other issue, and updated the |
* op-signer: opsigner_signBlockPayloadV2, fixes, cleanup * op-signer: go.mod update to canonical monorepo commit * op-signer: fix client test command Co-authored-by: Minhyuk Kim <kimminhyuk1004@gmail.com> --------- Co-authored-by: Minhyuk Kim <kimminhyuk1004@gmail.com>
Description
clientpackage. We have the exact same code, but newer and better, as improved in op-node over time, in the monorepo.opsigner_signBlockPayloadV2endpoint, that uses the improved RPC typing. Ideally we document the V2 API, this is good to standardize for alternative OP-Stack implementations. Rust implementations shouldn't have to mimic the previous bad V1 Go JSON typing issues.This PR depends on this monorepo PR: ethereum-optimism/optimism#14478
The
go.modpoints to a commit from that PR, and will have to be updated to a canonical commit of the monorepo after the PR is squash-merged.Do not merge this PR until the above
go.modupdate.Tests
Updated the block-signing tests to also cover the V2 variant.
Additional context
Block-signing is part of the sequencer stack, which I am working on improving, and building test tooling with.
Metadata