Skip to content
This repository was archived by the owner on Feb 10, 2026. It is now read-only.

RunAll task for running on multiple networks - #716

Draft
lilPlumberBoy wants to merge 9 commits into
masterfrom
mike/helper_scripts
Draft

RunAll task for running on multiple networks#716
lilPlumberBoy wants to merge 9 commits into
masterfrom
mike/helper_scripts

Conversation

@lilPlumberBoy

Copy link
Copy Markdown
Contributor

No description provided.

@codecov

codecov Bot commented Sep 14, 2022

Copy link
Copy Markdown

Codecov Report

Merging #716 (529afb8) into master (9f02571) will increase coverage by 3.89%.
The diff coverage is n/a.

@@            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     
Impacted Files Coverage Δ
contracts/xchainGauges/oracles/ChildOracle.sol 83.78% <0.00%> (+45.94%) ⬆️
...ontracts/xchainGauges/bridgers/ArbitrumBridger.sol 95.00% <0.00%> (+54.37%) ⬆️
contracts/xchainGauges/oracles/RootOracle.sol 100.00% <0.00%> (+54.83%) ⬆️
...ontracts/xchainGauges/bridgers/OptimismBridger.sol 100.00% <0.00%> (+100.00%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@penandlim penandlim left a comment

Copy link
Copy Markdown
Contributor

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

Comment thread tasks/runAll.ts Outdated
Comment on lines +21 to +22
console.log(`script failed on ${key} network with: `)
console.log(e)

Copy link
Copy Markdown
Contributor

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?

Comment thread scripts/poolSummary.ts Outdated
Comment on lines +23 to +40
// 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

@penandlim penandlim Sep 14, 2022

Copy link
Copy Markdown
Contributor

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants