Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 78932e1

Browse files
committed
remove eslint ignore
1 parent 4ac6cef commit 78932e1

File tree

6 files changed

+17
-12
lines changed

6 files changed

+17
-12
lines changed

test/handlers/erc20/optionalContracCall/collectFee.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,9 @@ contract("Bridge - [collect fee - erc20 token]", async (accounts) => {
9292
{from: depositorAddress}
9393
);
9494

95-
// eslint-disable-next-line max-len
96-
const mintableERC721Iface = new Ethers.utils.Interface(["function mint(address to, uint256 tokenId, string memory _data)"]);
95+
const mintableERC721Iface = new Ethers.utils.Interface(
96+
["function mint(address to, uint256 tokenId, string memory _data)"]
97+
);
9798
const actions = [{
9899
nativeValue: 0,
99100
callTo: ERC721MintableInstance.address,

test/handlers/erc20/optionalContracCall/decimalConversion.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,9 @@ contract("Bridge - [decimal conversion - erc20 token]", async (accounts) => {
131131
{from: depositorAddress}
132132
);
133133

134-
// eslint-disable-next-line max-len
135-
const mintableERC721Iface = new Ethers.utils.Interface(["function mint(address to, uint256 tokenId, string memory _data)"]);
134+
const mintableERC721Iface = new Ethers.utils.Interface(
135+
["function mint(address to, uint256 tokenId, string memory _data)"]
136+
);
136137
const actions = [{
137138
nativeValue: 0,
138139
callTo: ERC721MintableInstance.address,

test/handlers/erc20/optionalContracCall/deposit.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -100,8 +100,9 @@ contract("Bridge - [deposit - erc20 token with contract call]", async (accounts)
100100
{from: depositorAddress}
101101
);
102102

103-
// eslint-disable-next-line max-len
104-
const mintableERC721Iface = new Ethers.utils.Interface(["function mint(address to, uint256 tokenId, string memory _data)"]);
103+
const mintableERC721Iface = new Ethers.utils.Interface(
104+
["function mint(address to, uint256 tokenId, string memory _data)"]
105+
);
105106
const actions = [{
106107
nativeValue: 0,
107108
callTo: ERC721MintableInstance.address,

test/handlers/erc20/optionalContracCall/distributeFee.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,9 @@ contract("PercentageFeeHandler - [distributeFee]", async (accounts) => {
107107
ERC20HandlerInstance.address
108108
);
109109

110-
// eslint-disable-next-line max-len
111-
const mintableERC721Iface = new Ethers.utils.Interface(["function mint(address to, uint256 tokenId, string memory _data)"]);
110+
const mintableERC721Iface = new Ethers.utils.Interface(
111+
["function mint(address to, uint256 tokenId, string memory _data)"]
112+
);
112113
const actions = [{
113114
nativeValue: 0,
114115
callTo: ERC721MintableInstance.address,

test/handlers/erc20/optionalContracCall/executeProposal.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,9 @@ contract("Bridge - [execute proposal - erc20 token with contract call]", async (
108108
{from: depositorAddress}
109109
);
110110

111-
// eslint-disable-next-line max-len
112-
const mintableERC721Iface = new Ethers.utils.Interface(["function mint(address to, uint256 tokenId, string memory _data)"]);
111+
const mintableERC721Iface = new Ethers.utils.Interface(
112+
["function mint(address to, uint256 tokenId, string memory _data)"]
113+
);
113114
const actions = [{
114115
nativeValue: 0,
115116
callTo: ERC721MintableInstance.address,

test/helpers.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,8 @@ const passes = async function(promise) {
408408
}
409409
}
410410

411-
// eslint-disable-next-line max-len
412-
const ACTIONS_ARRAY_ABI = "tuple(uint256 nativeValue, address callTo, address approveTo, address tokenSend, address tokenReceive, bytes data)[]";
411+
const ACTIONS_ARRAY_ABI =
412+
"tuple(uint256 nativeValue, address callTo, address approveTo, address tokenSend, address tokenReceive, bytes data)[]";
413413

414414
const createMessageCallData = function(transactionId, actions, receiver) {
415415
return abiEncode(

0 commit comments

Comments
 (0)