From 78932e1ba3b34163a17acd2be68c109ff752193b Mon Sep 17 00:00:00 2001 From: nmlinaric Date: Tue, 17 Sep 2024 20:00:35 +0200 Subject: [PATCH] remove eslint ignore --- test/handlers/erc20/optionalContracCall/collectFee.js | 5 +++-- test/handlers/erc20/optionalContracCall/decimalConversion.js | 5 +++-- test/handlers/erc20/optionalContracCall/deposit.js | 5 +++-- test/handlers/erc20/optionalContracCall/distributeFee.js | 5 +++-- test/handlers/erc20/optionalContracCall/executeProposal.js | 5 +++-- test/helpers.js | 4 ++-- 6 files changed, 17 insertions(+), 12 deletions(-) diff --git a/test/handlers/erc20/optionalContracCall/collectFee.js b/test/handlers/erc20/optionalContracCall/collectFee.js index 351d327d..bf919cc6 100644 --- a/test/handlers/erc20/optionalContracCall/collectFee.js +++ b/test/handlers/erc20/optionalContracCall/collectFee.js @@ -92,8 +92,9 @@ contract("Bridge - [collect fee - erc20 token]", async (accounts) => { {from: depositorAddress} ); - // eslint-disable-next-line max-len - const mintableERC721Iface = new Ethers.utils.Interface(["function mint(address to, uint256 tokenId, string memory _data)"]); + const mintableERC721Iface = new Ethers.utils.Interface( + ["function mint(address to, uint256 tokenId, string memory _data)"] + ); const actions = [{ nativeValue: 0, callTo: ERC721MintableInstance.address, diff --git a/test/handlers/erc20/optionalContracCall/decimalConversion.js b/test/handlers/erc20/optionalContracCall/decimalConversion.js index 7acc2c89..b956902c 100644 --- a/test/handlers/erc20/optionalContracCall/decimalConversion.js +++ b/test/handlers/erc20/optionalContracCall/decimalConversion.js @@ -131,8 +131,9 @@ contract("Bridge - [decimal conversion - erc20 token]", async (accounts) => { {from: depositorAddress} ); - // eslint-disable-next-line max-len - const mintableERC721Iface = new Ethers.utils.Interface(["function mint(address to, uint256 tokenId, string memory _data)"]); + const mintableERC721Iface = new Ethers.utils.Interface( + ["function mint(address to, uint256 tokenId, string memory _data)"] + ); const actions = [{ nativeValue: 0, callTo: ERC721MintableInstance.address, diff --git a/test/handlers/erc20/optionalContracCall/deposit.js b/test/handlers/erc20/optionalContracCall/deposit.js index 6b682053..2d1f56aa 100644 --- a/test/handlers/erc20/optionalContracCall/deposit.js +++ b/test/handlers/erc20/optionalContracCall/deposit.js @@ -100,8 +100,9 @@ contract("Bridge - [deposit - erc20 token with contract call]", async (accounts) {from: depositorAddress} ); - // eslint-disable-next-line max-len - const mintableERC721Iface = new Ethers.utils.Interface(["function mint(address to, uint256 tokenId, string memory _data)"]); + const mintableERC721Iface = new Ethers.utils.Interface( + ["function mint(address to, uint256 tokenId, string memory _data)"] + ); const actions = [{ nativeValue: 0, callTo: ERC721MintableInstance.address, diff --git a/test/handlers/erc20/optionalContracCall/distributeFee.js b/test/handlers/erc20/optionalContracCall/distributeFee.js index 3a6bf38f..3dfa10ca 100644 --- a/test/handlers/erc20/optionalContracCall/distributeFee.js +++ b/test/handlers/erc20/optionalContracCall/distributeFee.js @@ -107,8 +107,9 @@ contract("PercentageFeeHandler - [distributeFee]", async (accounts) => { ERC20HandlerInstance.address ); - // eslint-disable-next-line max-len - const mintableERC721Iface = new Ethers.utils.Interface(["function mint(address to, uint256 tokenId, string memory _data)"]); + const mintableERC721Iface = new Ethers.utils.Interface( + ["function mint(address to, uint256 tokenId, string memory _data)"] + ); const actions = [{ nativeValue: 0, callTo: ERC721MintableInstance.address, diff --git a/test/handlers/erc20/optionalContracCall/executeProposal.js b/test/handlers/erc20/optionalContracCall/executeProposal.js index 639bb298..4eb5c87d 100644 --- a/test/handlers/erc20/optionalContracCall/executeProposal.js +++ b/test/handlers/erc20/optionalContracCall/executeProposal.js @@ -108,8 +108,9 @@ contract("Bridge - [execute proposal - erc20 token with contract call]", async ( {from: depositorAddress} ); - // eslint-disable-next-line max-len - const mintableERC721Iface = new Ethers.utils.Interface(["function mint(address to, uint256 tokenId, string memory _data)"]); + const mintableERC721Iface = new Ethers.utils.Interface( + ["function mint(address to, uint256 tokenId, string memory _data)"] + ); const actions = [{ nativeValue: 0, callTo: ERC721MintableInstance.address, diff --git a/test/helpers.js b/test/helpers.js index d3c834dd..30b9210d 100644 --- a/test/helpers.js +++ b/test/helpers.js @@ -408,8 +408,8 @@ const passes = async function(promise) { } } -// eslint-disable-next-line max-len -const ACTIONS_ARRAY_ABI = "tuple(uint256 nativeValue, address callTo, address approveTo, address tokenSend, address tokenReceive, bytes data)[]"; +const ACTIONS_ARRAY_ABI = +"tuple(uint256 nativeValue, address callTo, address approveTo, address tokenSend, address tokenReceive, bytes data)[]"; const createMessageCallData = function(transactionId, actions, receiver) { return abiEncode(