Skip to content

Commit

Permalink
remove eslint ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
nmlinaric committed Sep 17, 2024
1 parent 4ac6cef commit 78932e1
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 12 deletions.
5 changes: 3 additions & 2 deletions test/handlers/erc20/optionalContracCall/collectFee.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
5 changes: 3 additions & 2 deletions test/handlers/erc20/optionalContracCall/decimalConversion.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
5 changes: 3 additions & 2 deletions test/handlers/erc20/optionalContracCall/deposit.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
5 changes: 3 additions & 2 deletions test/handlers/erc20/optionalContracCall/distributeFee.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
5 changes: 3 additions & 2 deletions test/handlers/erc20/optionalContracCall/executeProposal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions test/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 78932e1

Please sign in to comment.