Add export/import functionality #224
@ -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();
|
||||||
raucao marked this conversation as resolved
Outdated
|
|||||||
|
|
||||||
const backup = {};
|
const backup = {};
|
||||||
const promises = [];
|
const promises = [];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user
why
XMLHttpRequest
? should this behre.ethers.provider
?Copied from somewhere, but now I can't find from where exactly. I'll change it. By the way, you added this yourself, according to Git. :)