diff --git a/package.json b/package.json index 43ce91b2f..efbaa684f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@across-protocol/contracts-v2", - "version": "2.5.0-beta.2", + "version": "2.5.0-beta.3", "author": "UMA Team", "license": "AGPL-3.0-only", "repository": { diff --git a/test/fixtures/SpokePool.Fixture.ts b/test/fixtures/SpokePool.Fixture.ts index 49fc9a346..544e9cb06 100644 --- a/test/fixtures/SpokePool.Fixture.ts +++ b/test/fixtures/SpokePool.Fixture.ts @@ -18,7 +18,10 @@ export const spokePoolFixture = hre.deployments.createFixture(async ({ ethers }) // Have a separate function that deploys the contract and returns the contract addresses. This is called by the fixture // to have standard fixture features. It is also exported as a function to enable non-snapshoted deployments. -export async function deploySpokePool(ethers: any): Promise<{ +export async function deploySpokePool( + ethers: any, + spokePoolName = "MockSpokePool" +): Promise<{ weth: Contract; erc20: Contract; spokePool: Contract; @@ -43,7 +46,7 @@ export async function deploySpokePool(ethers: any): Promise<{ // Deploy the pool const spokePool = await hre.upgrades.deployProxy( - await getContractFactory("MockSpokePool", deployerWallet), + await getContractFactory(spokePoolName, deployerWallet), [0, crossChainAdmin.address, hubPool.address], { kind: "uups", unsafeAllow: ["delegatecall"], constructorArgs: [weth.address] } );