You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.
Currently, running a
hardhat compile
in a repo that contains@moonstream/contracts
imports breaks.This is because there is no
@moonstream/contracts
package on NPM and hardhat uses NPM packages to manage dependencies.See conversation on Moonstream Discord: https://discord.com/channels/867156607644860418/954495097406382120/1015381496082726983
Thanks to
defikris
for pointing this out.This is what we need to do to enable hardhat support:
contracts/
directory. We can base it off of the Open Zeppelin one: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/package.json@openzeppelin-contracts
imports with@openzeppelin/contracts
imports in Solidity files (thanks to @Yhtiyar for pointing this out)brownie-config.yml
to reflect the new remapping for Open Zeppelin importsThe text was updated successfully, but these errors were encountered: