velodrome-finance / v1

Velodrome Finance v1 Smart Contracts
https://v1.velodrome.finance
47 stars 81 forks source link

An unexpected error came up while deploying the contract using "npx hardhat deploy:op" #12

Open PsychoPunkSage opened 1 year ago

PsychoPunkSage commented 1 year ago
Screenshot 2023-05-11 143942

This issue came up when I tried to deploy the contract using "npx hardhat deploy:op" I think I'm passing some empty values (which I cannot find). Please help in this regard

pegahcarter commented 1 year ago

Are you deploying to optimism mainnet or testnet? I'd check this argument and see if you've populated the correct constants file

pegahcarter commented 1 year ago

If you have the default value configured (false), you'll be deploying using tasks/deploy/constants/testOptimismConfig.ts which has an empty merkle root argument