Skip to content

Commit

Permalink
move things around
Browse files Browse the repository at this point in the history
  • Loading branch information
duckception committed Sep 11, 2023
1 parent 62c2eda commit 49546fd
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 59 deletions.
5 changes: 3 additions & 2 deletions commands/foundry.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,10 @@ module.exports = {
}
},
async runAnvilWithViem(chains) {
const { ethers } = require('ethers');
const anvilClient = await import('@viem/anvil');
try {
const { ethers } = require('ethers');
const anvilClient = await import('@viem/anvil');

const pool = anvilClient.createPool();

for (const [index, [chain, options]] of Object.entries(
Expand Down
Loading

0 comments on commit 49546fd

Please sign in to comment.