Skip to content

shrink txmgr seam, delete SignerFactoryFromConfig and test file - #520

Open
jjeangal wants to merge 1 commit into
espresso/batcherfrom
espresso/shrink-txmgr-seam
Open

jjeangal wants to merge 1 commit into
espresso/batcherfrom
espresso/shrink-txmgr-seam

Conversation

@jjeangal

@jjeangal jjeangal commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Closes #505.

The batcher now builds its Espresso ChainSigner itself, so txmgr no longer carries any Espresso-specific signing API. This keeps op-service/txmgr's public surface identical to upstream, which matters for our rebases.


Comment thread op-service/crypto/signature_test.go
return fmt.Errorf("tx manager does not implement ChainSigner")
tcfg := cfg.TxMgrConfig

// Mirror the txmgr's backwards-compatible HD-path resolution.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

As we are using the KMS to sign payloads sent to the BatchAuthenticator contract do we need this?

@jjeangal jjeangal Sep 8, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

We use it only for the mnemonic/private-key fallback paths. When the KMS signer is enabled the hdPath is ignored. But the factory still needs it for the other two branches, and it must resolve the path identically to txmgr or a mnemonic would derive a different key.

@philippecamacho

Copy link
Copy Markdown
Collaborator

@jjeangal LGTM. Let us wait for @palango approval.

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