Skip to content

Comments

Refactor ERC-721 Facet Unit Tests#276

Draft
lumoswiz wants to merge 4 commits intoPerfect-Abstractions:mainfrom
lumoswiz:test/add-ERC721-unit-tests
Draft

Refactor ERC-721 Facet Unit Tests#276
lumoswiz wants to merge 4 commits intoPerfect-Abstractions:mainfrom
lumoswiz:test/add-ERC721-unit-tests

Conversation

@lumoswiz
Copy link
Collaborator

Summary

Refactor ERC-721 unit tests as part of #248.

Changes Made

  • Add ERC-721 tree diagrams.
  • Add ERC721StorageUtils storage manipulation utilities for testing.
  • Add ERC-721 facet fuzzed unit tests

Checklist

Before submitting this PR, please ensure:

  • Code follows the Solidity feature ban - No inheritance, constructors, modifiers, public/private variables, external library functions, using for directives, or selfdestruct

  • Code follows Design Principles - Readable, uses diamond storage, favors composition over inheritance

  • Code matches the codebase style - Consistent formatting, documentation, and patterns (e.g. ERC20Facet.sol)

  • Code is formatted with forge fmt

  • Existing tests pass - Run tests to be sure existing tests pass.

  • New tests are optional - If you don't provide tests for new functionality or changes then please create a new issue so this can be assigned to someone.

  • All tests pass - Run forge test and ensure everything works

  • Documentation updated - If applicable, update relevant documentation

Make sure to follow the contributing guidelines.

@netlify
Copy link

netlify bot commented Feb 23, 2026

👷 Deploy request for compose-diamonds pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit cb8450e

@github-actions
Copy link

Coverage Report

Coverage

Metric Coverage Details
Lines 60% 909/1524 lines
Functions 73% 234/322 functions
Branches 55% 117/211 branches

Last updated: Mon, 23 Feb 2026 13:00:05 GMT for commit cb8450e

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