Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
makoto committed Jan 16, 2024
1 parent 9b8e34f commit 316a3dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crosschain-resolver/test/testResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ describe('Crosschain Resolver', () => {
await target.setTarget(encodedname, signerAddress)

const [coinType, graphqlUrl, storageType, storageLocation, context] = await target.metadata(encodedname);
expect(coinType).to.equal(l2ResolverCoinType);
expect(parseInt(coinType)).to.equal(l2ResolverCoinType);
expect(graphqlUrl).to.equal(l2graphqlUrl);
expect(storageType).to.equal(storageType);
expect(ethers.getAddress(storageLocation)).to.equal(signerAddress);
Expand All @@ -329,7 +329,7 @@ describe('Crosschain Resolver', () => {
const logs = await target.queryFilter("MetadataChanged")
const [name, coinType, graphqlUrl, storageType, storageLocation, context] = logs[0].args
expect(name).to.equal(encodedname);
expect(coinType).to.equal(l2ResolverCoinType);
expect(parseInt(coinType)).to.equal(l2ResolverCoinType);
expect(graphqlUrl).to.equal(l2graphqlUrl);
expect(storageType).to.equal(storageType);
expect(ethers.getAddress(storageLocation)).to.equal(signerAddress);
Expand Down

0 comments on commit 316a3dd

Please sign in to comment.