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 token dep from account package #1100

Merged
merged 2 commits into from
Aug 13, 2024

Conversation

andrew-fleming
Copy link
Collaborator

The token dep in the account package creates a circular dependency. While this isn't an issue with local paths, this creates an issue with uploading to scarbs. Neither package can be uploaded because both packages require that the other is already uploaded.

The reason the token dependency exists in the account package is because the account tests use an erc20 mock to test the functionality of __execute__. This PR proposes to replace the erc20 mock with a local simple_mock.

Copy link
Member

@ericnordelo ericnordelo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@andrew-fleming andrew-fleming merged commit d2226bd into OpenZeppelin:main Aug 13, 2024
6 checks passed
@andrew-fleming andrew-fleming deleted the fix-circular-deps branch August 13, 2024 23:17
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