Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
tbrent committed Oct 18, 2024
1 parent a816738 commit 8b224ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/plugins/individual-collateral/collateralTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ export default function fn<X extends CollateralFixtureContext>(
targetUnitOracle.address,
ORACLE_TIMEOUT
)
} else if (target === ethers.utils.formatBytes32String('XAU')) {
} else if (target.indexOf(ethers.utils.formatBytes32String('XAU'))) {
if (onBase || onArbitrum) throw new Error('PAXG only supported on mainnet')

// PAXG
Expand All @@ -1030,7 +1030,7 @@ export default function fn<X extends CollateralFixtureContext>(
return <TestICollateral>await DemurrageFactory.deploy(
{
erc20: erc20.address,
targetName: ethers.utils.formatBytes32String('XAU'),
targetName: target,
priceTimeout: PRICE_TIMEOUT,
chainlinkFeed: chainlinkFeed.address,
oracleError: ORACLE_ERROR,
Expand Down

0 comments on commit 8b224ca

Please sign in to comment.