Skip to content

Conversation

@AnInsaneJimJam
Copy link
Contributor

Summary

Added comprehensive test coverage for ERC165 Facet and Library

Changes Made

Test Files Created
test/interfaceDetection/ERC165/ERC165Facet.t.sol

  • 28 comprehensive tests for ERC165Facet
    test/interfaceDetection/ERC165/LibERC165.t.sol
  • 36 comprehensive tests for LibERC165
    Harness Contracts Created
    test/interfaceDetection/ERC165/harnesses/ERC165FacetHarness.sol
  • Exposes internal facet functions for testing
    test/interfaceDetection/ERC165/harnesses/LibERC165Harness.sol
  • Exposes internal library functions for testing

Solves #217

@netlify
Copy link

netlify bot commented Nov 27, 2025

👷 Deploy request for compose-diamonds pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 3c3317a

@github-actions
Copy link

github-actions bot commented Nov 27, 2025

Coverage Report

Coverage

Metric Coverage Details
Lines 86% 1975/2300 lines
Functions 89% 385/432 functions
Branches 73% 276/377 branches

Last updated: Tue, 02 Dec 2025 00:05:55 GMT for commit 3c3317a

@github-actions
Copy link

github-actions bot commented Nov 27, 2025

Gas Report

No gas usage changes detected between main and ERC165-test.

All functions maintain the same gas costs. ✅

Last updated: Tue, 02 Dec 2025 00:06:39 GMT for commit 3c3317a

@mudgen
Copy link
Contributor

mudgen commented Nov 27, 2025

@AnInsaneJimJam Thanks for submitting this! The formatting check failed. Please format your code by running forge fmt, and commit that change.

@AnInsaneJimJam
Copy link
Contributor Author

Added the formatting. Should pass the test now @mudgen

@mudgen
Copy link
Contributor

mudgen commented Dec 2, 2025

@AnInsaneJimJam Great! Good, job, thanks!

@mudgen mudgen merged commit 9238bea into Perfect-Abstractions:main Dec 2, 2025
4 checks passed
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