Skip to content

Conversation

@mgx96
Copy link

@mgx96 mgx96 commented Nov 10, 2025

The new ERC20Mock does not take any arguments anymore and it throws an error if you pass any as shown in the course

The new ERC20Mock does not take any arguments anymore and it throws an error if you pass any as shown in the course
@EngrPips
Copy link

Hello @mgx96. Thanks for the contribution. This will be attended to appropriately as soon as possible.

@PatrickAlphaC
Copy link
Member

Thanks… are we updating the install commands to make sure we are on the right version?

@mgx96
Copy link
Author

mgx96 commented Nov 13, 2025

Thanks @PatrickAlphaC in the tutorial you didn't specify a version so I installed the latest. They have 100+ releases so it's a little difficult to map out which one you used in the course

@EngrPips
Copy link

Thanks @PatrickAlphaC in the tutorial you didn't specify a version so I installed the latest. They have 100+ releases so it's a little difficult to map out which one you used in the course

The update section of the course GitHub repo gives a guide on this https://github.com/Cyfrin/foundry-defi-stablecoin-cu/

The latest version of openzeppelin-contracts has changes in the ERC20Mock file. To follow along with the course, you need to install version 4.8.3, which can be done by forge install openzeppelin/[email protected] --no-commit instead of forge install openzeppelin/openzeppelin-contracts --no-commit

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