Skip to content

Commit

Permalink
test: use different forks for different tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gosuto-inzasheru committed Dec 3, 2024
1 parent 0ce2de3 commit bf47bb4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@ module.exports = {
{
hardhat: {
forking: {
// use this for `npx hardhat test test/ChildChainGaugeInjectorV2.js`
url: `https://lb.drpc.org/ogrpc?network=polygon&dkey=${process.env.DRPC_KEY}`,
// use this for `npx hardhat test test/MainChainGaugeInjectorV2.js`
// url: `https://lb.drpc.org/ogrpc?network=ethereum&dkey=${process.env.DRPC_KEY}`,
}
},
base: {
Expand Down

0 comments on commit bf47bb4

Please sign in to comment.