diff --git a/package.json b/package.json index 2cbf6b4a8..ffb1b1d17 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@across-protocol/contracts", - "version": "3.0.20", + "version": "3.0.19", "author": "UMA Team", "license": "AGPL-3.0-only", "repository": { diff --git a/test/evm/hardhat/Setup.ts b/test/evm/hardhat/Setup.ts new file mode 100644 index 000000000..96fad0fb9 --- /dev/null +++ b/test/evm/hardhat/Setup.ts @@ -0,0 +1,2 @@ +import { hre } from "../../../utils/utils.hre.ts"; +hre.upgrades.silenceWarnings("unsafeAllowDelegatecall"); diff --git a/test/evm/hardhat/fixtures/HubPool.Fixture.ts b/test/evm/hardhat/fixtures/HubPool.Fixture.ts index 3098bab40..6c4021354 100644 --- a/test/evm/hardhat/fixtures/HubPool.Fixture.ts +++ b/test/evm/hardhat/fixtures/HubPool.Fixture.ts @@ -9,8 +9,6 @@ export const hubPoolFixture = hre.deployments.createFixture(async ({ ethers }) = }); export async function deployHubPool(ethers: any, spokePoolName = "MockSpokePool") { - // Suppress `unsafeDelegatecall` warnings from the spoke pool. - hre.upgrades.silenceWarnings(); const [signer, crossChainAdmin] = await ethers.getSigners(); // This fixture is dependent on the UMA ecosystem fixture. Run it first and grab the output. This is used in the diff --git a/test/evm/hardhat/fixtures/SpokePool.Fixture.ts b/test/evm/hardhat/fixtures/SpokePool.Fixture.ts index c8748bf8e..277575861 100644 --- a/test/evm/hardhat/fixtures/SpokePool.Fixture.ts +++ b/test/evm/hardhat/fixtures/SpokePool.Fixture.ts @@ -29,8 +29,6 @@ export async function deploySpokePool( destErc20: Contract; erc1271: Contract; }> { - // Silence the `unsafeDelegatecall` warning. - hre.upgrades.silenceWarnings(); const [deployerWallet, crossChainAdmin, hubPool] = await ethers.getSigners(); // Create tokens: