Skip to content

Conversation

@rofergon
Copy link

Title: Add upgradeable ERC721 SeaDrop proxy tests

Motivation

The upgradeable package relied on Hardhat/OZ upgrades but shipped without any tests, so the proxy-safe ERC721 implementation had zero coverage. Without parity checks we cannot detect regressions in owner-only forwarding, mint gating, or storage layout across upgrades.

Solution

Added a lightweight SeaDrop mock plus a V2 token stub, then wrote a dedicated Hardhat test suite under src-upgradeable/test/ that deploys the proxy, verifies privileged configuration/minting mirrors the non-upgradeable contract, and asserts state survives upgrades. Wired the upgradeable Hardhat config/tsconfig to compile these specs and documented how to run yarn test:upgradeable. (Tests currently fail here because Node/yarn aren’t installed in this environment.)

@github-actions
Copy link

This PR has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. If you believe this was a mistake, please comment.

@github-actions github-actions bot added the Stale label Jan 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant