From 2c57eae46d13e239b13cefe6c1dad9e4978553d4 Mon Sep 17 00:00:00 2001 From: Dean Amiel Date: Wed, 1 Nov 2023 19:19:38 -0400 Subject: [PATCH] fix: tests --- test/tokenRegistrars.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/tokenRegistrars.js b/test/tokenRegistrars.js index 6467d29e..6babb794 100644 --- a/test/tokenRegistrars.js +++ b/test/tokenRegistrars.js @@ -164,6 +164,7 @@ describe('Token Registrsrs', () => { let params = defaultAbiCoder.encode(['bytes', 'address'], [standardizedTokenRegistrar.address, tokenAddress]); const tokenManager = new Contract(await service.tokenManagerAddress(tokenId), ITokenManager.abi, wallet); const token = new Contract(tokenAddress, IERC20.abi, wallet); + await expect(standardizedTokenRegistrar.deployStandardizedToken(salt, name, symbol, decimals, mintAmount, wallet.address)) .to.emit(service, 'StandardizedTokenDeployed') .withArgs(tokenId, tokenAddress, wallet.address, name, symbol, decimals, mintAmount, standardizedTokenRegistrar.address) @@ -186,7 +187,7 @@ describe('Token Registrsrs', () => { symbol, decimals, wallet.address.toLowerCase(), - '0x', + wallet.address.toLowerCase(), mintAmount, wallet.address.toLowerCase(), ], @@ -212,7 +213,7 @@ describe('Token Registrsrs', () => { symbol, decimals, wallet.address.toLowerCase(), - '0x', + wallet.address.toLowerCase(), mintAmount, wallet.address.toLowerCase(), destinationChain,