Closed 0xtotem closed 1 year ago
Thanks! We are not using the newest OZ version in this package, though. I should have told people in the video to download the specific version :/
@PatrickAlphaC It would be great if you could mention the open-zeppelin version in the Readme.
@0xtotem I don't think we require to make a Mock ERC20, it's still there just without the parameters we require. So, IMO the only update we require is to add the mint function.
Makes sense! Would you be interested in making the PR for that?
Hey @PatrickAlphaC. I just created a PR and saw this issue afterward. My PR adds the openzeppelin-contracts version in the README as @megabyte0x suggested.
With the latest OZ library version 4.9.2 the
HelperConfig.s.sol
is not working as the constructor signature forERC20Mock
has changed.To fix it we need (unless I miss something) our own ERC20Mock token:
And update the
getOrCreateAnvilEthConfig
method: