Skip to content

Fix getStandaloneSigner is not defined - #2952

Merged
naddison36 merged 1 commit into
masterfrom
nicka/signer-fix
Jul 28, 2026
Merged

Fix getStandaloneSigner is not defined#2952
naddison36 merged 1 commit into
masterfrom
nicka/signer-fix

Conversation

@naddison36

Copy link
Copy Markdown
Collaborator

Summary

Fix Talos actions failing with:

ReferenceError: getStandaloneSigner is not defined

The Hardhat-to-standalone migration updated utils/signers.js to call the new Talos signer and network utilities but omitted the required bridge functions. This affected otokenOethbUpdateWoethPrice and other actions using the shared getSigner() helper.

Changes

  • Lazily resolve the standalone signer from tasks/lib/signer.ts.
  • Lazily resolve the provider from tasks/lib/network.ts.
  • Preserve compatibility when optional Talos dependencies are unavailable.
  • Remove stale signer and nonce-queue code superseded by the standalone signer implementation.

Verification

  • Ran Prettier.
  • Ran targeted ESLint.
  • Verified utils/signers.js loads without optional Talos dependencies.
  • Ran git diff --check.

Full TypeScript checking remains blocked by unrelated existing export errors and the locally absent optional @oplabs/talos-client dependency.

@naddison36
naddison36 merged commit a8de78d into master Jul 28, 2026
11 checks passed
@naddison36
naddison36 deleted the nicka/signer-fix branch July 28, 2026 00:03
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