Skip to content

Conversation

@ItayRosenberg
Copy link
Contributor

@ItayRosenberg ItayRosenberg commented Nov 9, 2025

Note

Adds an ERC20 test utility to deploy a mock token and refactors testing utils to use it.

  • Utils:
    • Add packages/utils/src/erc20/test_utils.cairo with deploy_mock_erc20_contract.
    • Export erc20::test_utils behind #[cfg(test)].
  • Testing:
    • TokenDeployImpl in packages/testing/src/test_utils.cairo now uses deploy_mock_erc20_contract instead of manual declare/deploy.
    • Streamline imports accordingly.

Written by Cursor Bugbot for commit 1206ae2. This will update automatically on new commits. Configure here.


This change is Reviewable

@ItayRosenberg ItayRosenberg self-assigned this Nov 9, 2025
@ItayRosenberg ItayRosenberg force-pushed the itay/add_deploy_mock_erc20_to_utils branch from e8a1641 to 1206ae2 Compare November 9, 2025 20:18
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