Skip to content

Conversation

@naveen-imtb
Copy link

@naveen-imtb naveen-imtb commented Nov 25, 2025

Note

Adds an immutable-signer bootstrap path for first-transaction auth and updates constructors and deployment scripts to pass the signer contract.

  • Contracts:
    • ModuleAuthDynamic:
      • Add IMMUTABLE_SIGNER_CONTRACT and imageHashOfImmutableSigner().
      • Extend _isValidImage to accept the immutable-only signer image hash when no stored image hash exists.
    • MainModuleDynamicAuth:
      • Update constructor to accept _immutableSignerContract and pass through to ModuleAuthDynamic.
    • Mocks (MainModuleMockV1/V2/V3): update constructors to include immutable signer param.
  • Scripts:
    • scripts/deploy.ts: deploy ImmutableSigner before MainModuleDynamicAuth and pass its address; adjust deployment flow and output.
    • scripts/step4.ts: add immutableSignerAddress and pass to MainModuleDynamicAuth; update hardcoded addresses and logs.
  • Tooling:
    • Add lib/ to .gitignore.

Written by Cursor Bugbot for commit ccb29cb. This will update automatically on new commits. Configure here.

@naveen-imtb naveen-imtb marked this pull request as draft November 25, 2025 00:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants