Skip to content

accounts/external, signer/core: preserve setcode authlist#35119

Open
jackg22 wants to merge 1 commit into
ethereum:masterfrom
jackg22:fix-setcode-externalsigner-authlist
Open

accounts/external, signer/core: preserve setcode authlist#35119
jackg22 wants to merge 1 commit into
ethereum:masterfrom
jackg22:fix-setcode-externalsigner-authlist

Conversation

@jackg22
Copy link
Copy Markdown

@jackg22 jackg22 commented Jun 6, 2026

Fixes #35092.

This preserves EIP-7702 set-code authorization lists when transactions are passed through the external signer/Clef path.

The external signer now forwards SetCodeTx authorizations into SendTxArgs, and Clef-side transaction argument conversion recognizes authorizationList as a set-code transaction instead of reconstructing it as a dynamic-fee transaction.

Validation:

  • gofmt -w accounts/external/backend.go signer/core/apitypes/types.go signer/core/apitypes/types_test.go
  • GOCACHE=/private/tmp/go-ethereum-gocache go test ./signer/core/apitypes ./accounts/external
  • GOCACHE=/private/tmp/go-ethereum-gocache go run ./build/ci.go test -short

Note: goimports was not available on PATH in this environment.

@jackg22 jackg22 marked this pull request as ready for review June 6, 2026 15:14
@jackg22 jackg22 requested a review from rjl493456442 as a code owner June 6, 2026 15:14
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.

accounts/external, signer: EIP-7702 set-code transactions lose authorization list when signed by external signer

1 participant