Skip to content

Commit

Permalink
Fix dexKey, add network tests
Browse files Browse the repository at this point in the history
  • Loading branch information
toninorair committed Nov 27, 2024
1 parent a5f4f2d commit 8a8dfcf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/dex/usual-m-usd0/usual-m-usd0-e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function testForNetwork(
}

describe('UsualM<>Usd0 E2E', () => {
const dexKey = 'UsualMSmartM';
const dexKey = 'UsualMUsd0';

describe('Mainnet', () => {
const network = Network.MAINNET;
Expand Down
2 changes: 1 addition & 1 deletion src/dex/usual-m-usd0/usual-m-usd0-integration.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async function testPricingOnNetwork(
}

describe('UsualM<>USD0', function () {
const dexKey = 'UsualMUSD0';
const dexKey = 'UsualMUsd0';
let blockNumber: number;
let usualMUsd0: UsualMUsd0;

Expand Down
10 changes: 10 additions & 0 deletions tests/constants-e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,16 @@ export const Tokens: {
decimals: 18,
symbol: 'USD0++',
},
SmartM: {
address: '0x437cc33344a0B27A429f795ff6B469C72698B291',
decimals: 6,
symbol: 'MSMART,',
},
UsualM: {
address: '0xFe274C305b365dC38e188E8f01c4FAe2171ce927',
decimals: 6,
symbol: 'USUALM',
},
},
[Network.POLYGON]: {
jGBP: {
Expand Down

0 comments on commit 8a8dfcf

Please sign in to comment.