Skip to content

Commit

Permalink
Merge branch 'feat/test-coverage-two' into feat/test-coverage-three
Browse files Browse the repository at this point in the history
  • Loading branch information
Dean Amiel committed Oct 10, 2023
2 parents 6117c68 + b8c2889 commit 7d26c10
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions test/RemoteAddressValidator.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,22 +46,6 @@ describe('RemoteAddressValidator', () => {
);
});

// it.only('Should deploy RemoteAddressValidator and add trusted addresses', async () => {
// const otherRemoteAddressValidator = await deployRemoteAddressValidator(
// ownerWallet,
// interchainTokenServiceAddress,
// chainName,
// [otherChain],
// [otherRemoteAddress],
// );

// const remoteAddress = await otherRemoteAddressValidator.remoteAddresses(otherChain);
// const remoteAddressHash = await otherRemoteAddressValidator.remoteAddressHashes(otherChain);

// expect(remoteAddress).to.eq(otherRemoteAddress);
// expect(remoteAddressHash).to.eq(keccak256(toUtf8Bytes(otherRemoteAddress.toLowerCase())));
// });

it('Should revert when querrying the remote address for unregistered chains', async () => {
await expect(remoteAddressValidator.getRemoteAddress(otherChain)).to.be.revertedWithCustomError(
remoteAddressValidator,
Expand Down

0 comments on commit 7d26c10

Please sign in to comment.