Skip to content

docs: add account-factory salt-collision recovery runbook - #434

Merged
phertyameen merged 1 commit into
bridgelet-org:mainfrom
Nimatstar:docs/account-factory-salt-collision-runbook
Jul 26, 2026
Merged

docs: add account-factory salt-collision recovery runbook#434
phertyameen merged 1 commit into
bridgelet-org:mainfrom
Nimatstar:docs/account-factory-salt-collision-runbook

Conversation

@Nimatstar

Copy link
Copy Markdown
Contributor

Summary

Adds bridgelet-audit/runbooks/account-factory-salt-collision-recovery.md, an
operational runbook for diagnosing why an AccountFactory::batch_initialize
call returned success: false for some or all requests.

Contents

  • Notes that AccountInitResult.error is currently always None, so
    root-causing requires external diagnostic-event / simulateTransaction / log
    inspection rather than the on-chain return value.
  • Explains how the per-index salt is derived (index in the last 4 bytes of a
    32-byte salt) and how to compute the expected deterministic contract address
    for a given salt/index to check whether a cross-batch collision is the cause.
  • Lists common per-request failure causes (e.g. InvalidExpiry,
    AlreadyInitialized) and a diagnostic checklist.

Documentation-only, in a new standalone bridgelet-audit/ folder — no changes
to contracts/, docs/, scripts/, or tools/. Per the issue, it documents
diagnosis only and does not propose the underlying code fix.

Closes #281

Add bridgelet-audit/runbooks/account-factory-salt-collision-recovery.md, an
operational guide for diagnosing batch_initialize entries that return
success: false, including computing the deterministic address for a salt/index
to check for cross-batch collisions.
@drips-wave

drips-wave Bot commented Jul 25, 2026

Copy link
Copy Markdown

@Nimatstar Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

[Operational runbook] bridgelet-audit/runbooks/account-factory-salt-collision-recovery.md: Diagnosing a failed batch_initialize call

2 participants