diff --git a/test/0.8.9/sepolia-deployment.test.js b/test/0.8.9/sepolia-deployment.test.js index aa0138f4d..5da321e34 100644 --- a/test/0.8.9/sepolia-deployment.test.js +++ b/test/0.8.9/sepolia-deployment.test.js @@ -9,7 +9,11 @@ contract('SepoliaDepositAdapter deployment', ([deployer]) => { let depositAdapter let snapshot - before('deploy lido with dao', async () => { + before('deploy lido with dao', async function () { + if (!process.env.HARDHAT_FORKING_URL) { + return this.skip() + } + depositAdapter = await SepoliaDepositAdapter.new(deployer, { from: deployer }) snapshot = new EvmSnapshot(ethers.provider) diff --git a/test/0.8.9/sepolia-deposit-adapter.test.js b/test/0.8.9/sepolia-deposit-adapter.test.js index 835d8ea91..7c61e67df 100644 --- a/test/0.8.9/sepolia-deposit-adapter.test.js +++ b/test/0.8.9/sepolia-deposit-adapter.test.js @@ -14,7 +14,11 @@ contract('SepoliaDepositAdapter impl', ([deployer]) => { // const log = console.log const log = () => {} - before('deploy lido with dao', async () => { + before('deploy lido with dao', async function () { + if (!process.env.HARDHAT_FORKING_URL) { + return this.skip() + } + // depositAdapter = await SepoliaDepositAdapter.at(sepoliaDepositAdapterContract) depositAdapter = await ethers.deployContract('SepoliaDepositAdapter', [sepoliaDepositContract]) log('depositAdapter address', depositAdapter.address)