Skip to content

Wait for a pending setup batch instead of sending it again - #17

Merged
jomoormann merged 3 commits into
mainfrom
fix-duplicate-setup
Nov 23, 2026
Merged

jomoormann merged 3 commits into
mainfrom
fix-duplicate-setup

Conversation

@jomoormann

Copy link
Copy Markdown
Contributor

Setting up a Chronobox from a Safe in Ambire failed with "Create2 call failed".

Ambire puts a new wallet_sendCalls into the same transaction as a request that still waits. After "Stop waiting", the next press sent the setup again. The batch then created the same Safe twice and reverted.

  • The setup now keeps the id of the batch it sent. After "Stop waiting", the next press waits for that batch and does not send a new one.
  • The "ready" screen does not list amounts in that case, because the first request may have other amounts.
  • The note under "Stop waiting" says that a new try waits for the same request.
  • The Create2 message no longer says only that the Chronobox exists. It also names a duplicate request and says what to do.

Not covered: a reload forgets the id, so the error message is the help there. Not tested with Ambire in a browser.

🤖 Generated with Claude Code

Ambire puts a second wallet_sendCalls into the same transaction as a first
one that still waits. After "Stop waiting", a new press sent the setup again,
so the Safe was created twice in one batch and the transaction reverted with
"Create2 call failed". The next press now waits for the batch the wallet
already holds. The Create2 message no longer claims the Chronobox exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
chronobox Ready Ready Preview Nov 23, 2026 4:27pm UTC
chronobox-watcher Ready Ready Preview Nov 23, 2026 4:27pm UTC

Request Review

@jomoormann
jomoormann enabled auto-merge (squash) November 23, 2026 16:24
@jomoormann
jomoormann merged commit 19b4013 into main Nov 23, 2026
7 checks passed
@jomoormann
jomoormann deleted the fix-duplicate-setup branch November 23, 2026 16:29
jomoormann added a commit that referenced this pull request Nov 23, 2026
Main split sendBatch into sendCalls and waitForBatch (#17). sendCalls now
takes the stop check too, so "Ask my wallet again" and "Go back" still work
while the wallet has not answered the setup batch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant