1
0
mirror of https://github.com/oceanprotocol/ocean.js.git synced 2024-11-26 20:39:05 +01:00

debug ethers on hardhat

This commit is contained in:
paulo-ocean 2024-09-09 10:55:33 +01:00
parent 9ec89b6ab0
commit 4d14dae3aa

View File

@ -139,7 +139,7 @@ export async function calculateTemplateIndexV2(
console.log('\n\n------------\ntemplateIndex:' + i)
console.log(tokenTemplate)
console.log('hardhatEthers', hardhatEthers)
console.log('ethers prop?:', hre.ethers)
console.log('has ethers prop?:', hre)
const erc20Template = await hardhatEthers.ethers.getContractAt(
'ERC20Template',
tokenTemplate.templateAddress