Use ethers from correct parent object
This commit is contained in:
parent
f29054bc0b
commit
258c1cc755
@ -7,7 +7,7 @@ async function main() {
|
|||||||
console.log(`Using Contribution at: ${kredits.Contribution.contract.address}`);
|
console.log(`Using Contribution at: ${kredits.Contribution.contract.address}`);
|
||||||
|
|
||||||
const count = await kredits.Contribution.count;
|
const count = await kredits.Contribution.count;
|
||||||
const currentBlockHeight = await XMLHttpRequest.ethers.provider.getBlockNumber();
|
const currentBlockHeight = await hre.ethers.provider.getBlockNumber();
|
||||||
|
|
||||||
const backup = {};
|
const backup = {};
|
||||||
const promises = [];
|
const promises = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user