Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MishaShWoof committed Jun 10, 2024
1 parent 14edded commit 9f8f2bf
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const ENSSubdomainLabel = 'v3-additional-grants';
const ENSSubdomain = `${ENSSubdomainLabel}.${ENSName}`;
const ENSTextRecordKey = 'v3-official-markets';

const USDTAmountToBridge = exp(10_000, 6);
const USDTAmountToBridge = exp(50_000, 6);
const arbitrumCOMPAddress = '0x354A6dA3fcde098F8389cad84b0182725c6C91dE';
const mainnetUSDTAddress = '0xdac17f958d2ee523a2206206994597c13d831ec7';
const cUSDTAddress = '0xf650c3d88d12db855b8bf7d11be6c55a4e07dcc9';
Expand Down Expand Up @@ -246,10 +246,10 @@ export default migration('1717936901_configurate_and_end', {

expect(await comet.pauseGuardian()).to.be.eq('0x78E6317DD6D43DdbDa00Dce32C2CbaFc99361a9d');

// 2. & 3. & 4.
// 2. & 3. & 4. & 5.
expect(await comet.getReserves()).to.be.equal(USDTAmountToBridge);

// 5.
// 6.
const ENSResolver = await govDeploymentManager.existing('ENSResolver', ENSResolverAddress);
const ENSRegistry = await govDeploymentManager.existing('ENSRegistry', ENSRegistryAddress);
const subdomainHash = ethers.utils.namehash(ENSSubdomain);
Expand Down
2 changes: 1 addition & 1 deletion scenario/LiquidationScenario.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ scenario(
},
betty: { $base: 10 }
},
filter: async (ctx) => matchesDeployment(ctx, [{network: 'mainnet', deployment: 'usdt' }]),
filter: async (ctx) => matchesDeployment(ctx, [{ network: 'mainnet', deployment: 'usdt' }]),
},
async ({ comet, actors }, context, world) => {
// Set fees for USDT for testing
Expand Down
8 changes: 4 additions & 4 deletions scenario/SupplyScenario.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ scenario(
tokenBalances: {
albert: { $base: 1000 }, // in units of asset, not wei
},
filter: async (ctx) => matchesDeployment(ctx, [{ deployment: 'usdt' }])
filter: async (ctx) => matchesDeployment(ctx, [{ network: 'mainnet', deployment: 'usdt' }])
},
async ({ comet, actors }, context, world) => {
// Set fees for USDT for testing
Expand Down Expand Up @@ -225,7 +225,7 @@ scenario(
cometBalances: {
albert: { $base: -1000 } // in units of asset, not wei
},
filter: async (ctx) => matchesDeployment(ctx, [{ deployment: 'usdt' }]),
filter: async (ctx) => matchesDeployment(ctx, [{ network: 'mainnet', deployment: 'usdt' }]),
},
async ({ comet, actors }, context, world) => {
// Set fees for USDT for testing
Expand Down Expand Up @@ -274,7 +274,7 @@ scenario(
cometBalances: {
albert: { $base: -999 } // in units of asset, not wei
},
filter: async (ctx) => matchesDeployment(ctx, [{ deployment: 'usdt' }]),
filter: async (ctx) => matchesDeployment(ctx, [{ network: 'mainnet', deployment: 'usdt' }]),
},
async ({ comet, actors }, context, world) => {
// Set fees for USDT for testing
Expand Down Expand Up @@ -353,7 +353,7 @@ scenario(
tokenBalances: {
albert: { $base: 1000 }, // in units of asset, not wei
},
filter: async (ctx) => matchesDeployment(ctx, [{ deployment: 'usdt' }]),
filter: async (ctx) => matchesDeployment(ctx, [{ network: 'mainnet', deployment: 'usdt' }]),
},
async ({ comet, actors }, context, world) => {
// Set fees for USDT for testing
Expand Down

0 comments on commit 9f8f2bf

Please sign in to comment.