Serialize Base claim sender nonces #9

Merged
backmeupplz merged 1 commit from codex/bdt-kaneo-7-serialize-claim-sends into main 2026-05-25 19:53:50 +00:00
backmeupplz commented 2026-05-25 19:43:14 +00:00 (Migrated from github.com)

Summary

  • serialize Base Sepolia claim sends through the backend sender so concurrent requests cannot overlap wallet writes
  • use the persisted claim id idempotencyKey to reuse the same in-flight/completed transfer for duplicate sends and reject same-key/different-transfer reuse
  • document the in-process idempotency guarantee and add mocked viem tests for concurrency and idempotency behavior

Validation

  • bun install --frozen-lockfile
  • bun --filter @borodutch-tools/backend test
  • bun run check
  • bun run test
  • bun run build
  • git diff --check

Manual QA: not required. This is backend sender concurrency/idempotency behavior covered by mocked viem unit tests plus full repo check/test/build.

## Summary - serialize Base Sepolia claim sends through the backend sender so concurrent requests cannot overlap wallet writes - use the persisted claim id `idempotencyKey` to reuse the same in-flight/completed transfer for duplicate sends and reject same-key/different-transfer reuse - document the in-process idempotency guarantee and add mocked viem tests for concurrency and idempotency behavior ## Validation - `bun install --frozen-lockfile` - `bun --filter @borodutch-tools/backend test` - `bun run check` - `bun run test` - `bun run build` - `git diff --check` Manual QA: not required. This is backend sender concurrency/idempotency behavior covered by mocked viem unit tests plus full repo check/test/build.
Sign in to join this conversation.
No description provided.