Closed RamanSB closed 1 year ago
Further analysis whilst debugging reveals that my deployer
is undefined?
The issue has been resolved by noticing that my config did not include:
namedAccounts: {
deployer: {
default: 0, // here this will by default take the first account as deployer
1: 0, // similarly on mainnet it will take the first account as deployer. Note though that depending on how hardhat network are configured, the account 0 on one network can be different than on another
},
}
🤕🤕🤕 Patrick did you mention this before running yarn hardhat deploy
?
hmmm... it should be in there. Maybe I didn't mention it?
In 00-deploy-mocks.js, I run:
The stacktrace looks as such so I'm assuming there is a null or empty object somewhere hence the cannot read property 'length' of undefined?