-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RunAll task for running on multiple networks #716
base: master
Are you sure you want to change the base?
Conversation
Codecov Report
@@ Coverage Diff @@
## master #716 +/- ##
==========================================
+ Coverage 87.41% 91.30% +3.89%
==========================================
Files 43 43
Lines 2066 2071 +5
Branches 350 438 +88
==========================================
+ Hits 1806 1891 +85
+ Misses 260 180 -80
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to clean up imports via organize imports
tasks/runAll.ts
Outdated
console.log(`script failed on ${key} network with: `) | ||
console.log(e) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be console.error?
scripts/poolSummary.ts
Outdated
// const poolRegistry = (await ethers.getContract( | ||
// "PoolRegistry", | ||
// )) as PoolRegistry | ||
|
||
// const sdl = (await ethers.getContract("SDL")) as SDL | ||
// const veSDL = (await ethers.getContract("VotingEscrow")) as VotingEscrow | ||
// const minter = (await ethers.getContract("Minter")) as Minter | ||
// const feeDistributor = (await ethers.getContract( | ||
// "FeeDistributor", | ||
// )) as FeeDistributor | ||
|
||
// // get all pools from pool registry | ||
// let poolRegLegnth: number = (await poolRegistry.getPoolsLength()).toNumber() | ||
// const lastpool = await poolRegistry.getPoolDataAtIndex(poolRegLegnth - 1) | ||
// console.log(lastpool) | ||
// const DAY = 86400 | ||
// const WEEK = 86400 * 7 | ||
// const YEAR = WEEK * 52 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove the comments if they are unnecessary to run
No description provided.