VenusProtocol / venus-protocol

BNB Smart Chain Venus Protocol
BSD 3-Clause "New" or "Revised" License
255 stars 169 forks source link

Deployment scripts are broken #444

Open Elliott-Green opened 9 months ago

Elliott-Green commented 9 months ago

Hello XVS team.

I've been trying to spin up XVS on a local hardhat instance and have reached out on Discord for support with this, but have recieved the response The deployment scripts are currently broken and not optimized to be run on hardhat.

Taking any branch OR tagged release AND running npx hardhat deploy --localhost causes the deployment to fail immediately becuase several contracts are not present in this repository (InterestRateModelLens.sol, MockToken.sol) and therefore the artifacts are not present.

I have started pulling these unreferenced contracts into the main release branch from your other repositories and manage to pass some of the errors and make it further down the deployment script list, but this isn't ideal for anyone trying to get grips on XVS's contracts and their interactions.

I am requesting that the deployment scripts be fixed so that npx hardhat deploy --localhost actually works.

Thank you!