Skip to content

Remove wallet-signed v3 mint intents - #249

Merged
ryanio merged 3 commits into
mainfrom
ryan/remove-v3-mint-intents
Nov 25, 2026
Merged

ryanio merged 3 commits into
mainfrom
ryan/remove-v3-mint-intents

Conversation

@ryanio

@ryanio ryanio commented Nov 25, 2026

Copy link
Copy Markdown
Collaborator

Remove the wallet-signed relayer entry point, nonce storage and cancellation from the v3 minter. An eligible wallet can choose its recipient, a delegate can claim against the vault's allocation, and an authorized provider can submit and pay for delivery to the eligible wallet through mint. A payer without delegation loses the ability to redirect delivery with a separate signature from the eligible wallet.

Signed-stage authorization, sender binding, shared signer sets and the configurable ERC-20 payout gas budget keep their existing behavior. Integrations with the previously deployed Base QA minter must use its deployed ABI.

The deleted tests covered the retired ABI, including its expiry, nonce and cancellation behavior. The event schema test still verifies three distinct roles using a delegate. The invariant suite exercises both sponsored delivery to the eligible wallet and delivery to another recipient chosen by the eligible wallet.

The full Forge suite passed 653 tests with two skips. Lint and size checks passed. Removing intents saves 1,437 runtime bytes on top of #248.

Stacked on #248.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Changes to the unaudited v3 minter’s public authorization ABI and mint-payment trust boundaries require human security review and confirmation of deployed Base QA integration compatibility before rollout.

No open issues 🎉

What changed in this PR

Removes wallet-signed mint intents from SeaDrop v3, continuing the minter simplification in #248. Paid minting now uses mint, retaining wallet-selected recipients, delegate claims, and sponsored delivery to the eligible wallet.

Changes:

  • Removes the intent entry point, nonce storage, cancellation, and related interface definitions.
  • Retires intent-specific tests while preserving distinct-role event checks and sponsored/redirected mint invariant coverage.
  • Updates documentation and gas snapshots, reporting 1,437 bytes saved. Existing Base QA integrations must continue using the deployed ABI.
File Description
test/​v3/​utils/​SeaDropV3TestHelper.sol Removes intent hashing constants and helper.
test/​v3/​SeaDropV3EventSchema.t.sol Uses delegation for distinct-role assertions and removes cancellation checks.
test/​v3/​SeaDropMinterInvariant.t.sol Replaces intent actions with sponsored and wallet-directed mints.
test/​v3/​SeaDropMinter.t.sol Removes retired intent entry-point tests.
test/​v3/​ERC1155SeaDropV3Standalone.t.sol Removes the intent-specific zero-ID test.
src/​v3/​SeaDropMinter.sol Removes intent execution, hashing, nonce storage, and cancellation.
src/​v3/​interfaces/​ISeaDropMinter.sol Removes intent structs, functions, errors, and event.
docs/​v3/​AuditScope.md Updates mint flows, audit focus, test counts, and bytecode size.
AGENTS.md Updates minter guidance and runtime headroom.
.gas-snapshot Refreshes gas measurements and removes retired test entries.

Review effort: Balanced

@ryanio
ryanio changed the base branch from ryan/remove-v3-factory-registration to main November 25, 2026 21:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Changes to the unaudited, payment-handling v3 minter’s public ABI and authorization surface require human Security review and an external audit before deployment.

No open issues 🎉

Review effort: Balanced

@ryanio
ryanio merged commit fa16c6c into main Nov 25, 2026
8 checks passed
@ryanio
ryanio deleted the ryan/remove-v3-mint-intents branch November 25, 2026 22:03
@ryanio ryanio mentioned this pull request Nov 26, 2026
3 tasks done
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.

2 participants