Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Unused Mocks #52

Merged
merged 1 commit into from
Apr 10, 2024
Merged

Conversation

jdubpark
Copy link

@jdubpark jdubpark commented Apr 10, 2024

Remove unused mocks in the test folder.

We still have many mock modules that I'm not too familiar with, @kingster-will has used these

  • MockAccessControlledModule.sol
  • MockAllMetadataViewModule.sol
  • MockCoreMetadataViewModule.sol
  • MockMetadataModule.sol
  • MockMetaTxModule.sol
  • MockModule.sol
  • MockOrchestratorModule.sol
  • CustomModuleType.sol

The rationale for keeping other mock contracts:

  • MockRoyaltyPolicyLAP.sol is used for license-related tests where we want to test just the license system
  • MockERC20.sol, MockERC721.sol, MockERC721WithoutMetadata.sol, and MockERC1155.sol are needed for tokens
  • MockTokenGatedHook.sol needed for testing PIL terms commercializer checker

@LeoHChen LeoHChen merged commit f652976 into storyprotocol:main Apr 10, 2024
2 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.

3 participants