Skip to content

Commit

Permalink
fix sol tests
Browse files Browse the repository at this point in the history
Signed-off-by: pbio <[email protected]>
  • Loading branch information
paulbalaji committed Oct 29, 2024
1 parent 2a144aa commit b9d0c22
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
4 changes: 2 additions & 2 deletions solidity/test/lib/mailboxes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ import {
LegacyMultisigIsm,
TestMailbox,
TestMerkleTreeHook,
} from '../../types';
import { DispatchEvent } from '../../types/contracts/Mailbox';
} from '../../dist/evm/types';
import { DispatchEvent } from '../../dist/evm/types/contracts/Mailbox';

export type MessageAndProof = {
proof: MerkleProof;
Expand Down
2 changes: 1 addition & 1 deletion solidity/test/merkle.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { expect } from 'chai';
import { utils } from 'ethers';

import merkleTestCases from '../../vectors/merkle.json' assert { type: 'json' };
import { TestMerkle, TestMerkle__factory } from '../types';
import { TestMerkle, TestMerkle__factory } from '../dist/evm/types';

import { getSigner } from './signer';

Expand Down
6 changes: 5 additions & 1 deletion solidity/test/message.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ import {
} from '@hyperlane-xyz/utils';

import testCases from '../../vectors/message.json' assert { type: 'json' };
import { Mailbox__factory, TestMessage, TestMessage__factory } from '../types';
import {
Mailbox__factory,
TestMessage,
TestMessage__factory,
} from '../dist/evm/types';

import { getSigner, getSigners } from './signer';

Expand Down
5 changes: 4 additions & 1 deletion solidity/test/mockMailbox.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ import { utils } from 'ethers';

import { addressToBytes32 } from '@hyperlane-xyz/utils';

import { MockMailbox__factory, TestRecipient__factory } from '../types';
import {
MockMailbox__factory,
TestRecipient__factory,
} from '../dist/evm/types';

import { getSigner } from './signer';

Expand Down
2 changes: 1 addition & 1 deletion solidity/test/testrecipient.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { utils } from 'ethers';

import { addressToBytes32 } from '@hyperlane-xyz/utils';

import { TestRecipient, TestRecipient__factory } from '../types';
import { TestRecipient, TestRecipient__factory } from '../dist/evm/types';

import { getSigner } from './signer';

Expand Down

0 comments on commit b9d0c22

Please sign in to comment.