Skip to content

fix(weighted-validator): handle initial UserOp signatures - #274

Open
anshitraj wants to merge 1 commit into
zerodevapp:mainfrom
anshitraj:fix/weighted-validator-first-userop
Open

fix(weighted-validator): handle initial UserOp signatures#274
anshitraj wants to merge 1 commit into
zerodevapp:mainfrom
anshitraj:fix/weighted-validator-first-userop

Conversation

@anshitraj

@anshitraj anshitraj commented Sep 10, 2026

Copy link
Copy Markdown

Summary

  • handle an undefined signature while preparing the first UserOperation
  • replace this signer's dummy stub before appending the real signature
  • preserve signatures supplied by other weighted signers
  • remove the debug log from stub generation
  • add regression coverage and a patch changeset

Closes #264.

Testing

  • npx bun test plugins/weighted-r1-k1/toWeightedValidatorPlugin.test.ts
  • npx bun x biome check plugins/weighted-r1-k1/toWeightedValidatorPlugin.ts plugins/weighted-r1-k1/toWeightedValidatorPlugin.test.ts
  • bundled the updated validator entry with Bun

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.

[weighted-validator] Two bugs on first UserOp for undeployed SA (1-of-1)

1 participant