Skip to content

Commit

Permalink
fix: bigint updates
Browse files Browse the repository at this point in the history
chore: remove wallet task
  • Loading branch information
ahmedali8 committed Sep 18, 2024
1 parent d271f99 commit b881d54
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/verify.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ async function main() {
const args: any[] = ["878979"];

// You don't want to verify on localhost
if (chainId != 31337 && chainId != 1337) {
if (chainId != 31337n && chainId != 1337n) {
await verifyContract({
contractPath,
contractAddress,
Expand Down
3 changes: 2 additions & 1 deletion tasks/accounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ task("accounts", "Prints the list of accounts").setAction(async (_taskArgs, hre)

for (const account of accounts) {
const address = account.address;
const balanceInETH = fromWei(await account.getBalance());
const balance = await ethers.provider.getBalance(address);
const balanceInETH = fromWei(balance);

accountsArray.push({
address,
Expand Down
1 change: 0 additions & 1 deletion tasks/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import "./accounts";
import "./blocknumber";
import "./networks";
import "./wallet";

0 comments on commit b881d54

Please sign in to comment.