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

b0g0_ctf - openzeppelin-5.0.1 doesn't have Counters.sol #10

Open
sammy-tm opened this issue Aug 12, 2024 · 2 comments
Open

b0g0_ctf - openzeppelin-5.0.1 doesn't have Counters.sol #10

sammy-tm opened this issue Aug 12, 2024 · 2 comments

Comments

@sammy-tm
Copy link

Description

Counters.sol doesn't exist in OZ contracts version 5.0.1, hence the contract won't compile.

Impact

Contract won't compile

Solution

Use a version before 5.0

References

OpenZeppelin/openzeppelin-contracts#4233

Error: not found @openzeppelin-5.0.1/contracts/utils/Counters.sol
@BogoCvetkov
Copy link
Collaborator

20 USD additional bonus. That's not the bug though (fixed as well). Keep digging!

@BogoCvetkov
Copy link
Collaborator

Since this issue will only prevent the contract from compiling it should be considered Low/Informational, because the contract won't get deployed and no actual exploits would come out of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants