Skip to content

Commit

Permalink
Fix e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yorhodes committed May 23, 2024
1 parent 0bd82f1 commit 5b10569
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions typescript/cli/src/tests/deployTestErc20.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import { AddressZero } from '@ethersproject/constants';
import { Wallet, providers } from 'ethers';
import fs from 'fs';

import { ERC20Test__factory } from '@hyperlane-xyz/core';
import { TokenType, WarpRouteDeployConfig } from '@hyperlane-xyz/sdk';
import { TokenType } from '@hyperlane-xyz/sdk';

async function deployERC20() {
const [rpcUrl, chain1, chain2, privateKey, outPath] = process.argv.slice(2);
Expand All @@ -20,18 +19,13 @@ async function deployERC20() {
await contract.deployed();
console.log('Test ERC20 contract deployed', contract.address);

const warpDeploymentConfig: WarpRouteDeployConfig = {
const warpDeploymentConfig = {
[chain1]: {
type: TokenType.collateral,
token: contract.address,
isNft: false,
owner: signer.address,
mailbox: AddressZero,
},
[chain2]: {
type: TokenType.synthetic,
owner: signer.address,
mailbox: AddressZero,
},
};

Expand Down

0 comments on commit 5b10569

Please sign in to comment.