Repository navigation
Remove wallet-signed v3 mint intents - #249
Merged
Merged
Conversation
There was a problem hiding this comment.
🔵 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
changed the base branch from
ryan/remove-v3-factory-registration
to
main
November 25, 2026 21:58
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.