Skip to content

Commit

Permalink
chore: run linter
Browse files Browse the repository at this point in the history
  • Loading branch information
sujithsomraaj committed Nov 28, 2023
1 parent 4a9e12a commit af88123
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/MultiBridgeMessageSender.sol
Original file line number Diff line number Diff line change
Expand Up @@ -466,4 +466,4 @@ contract MultiBridgeMessageSender {
(bool success,) = to.call{value: value}(new bytes(0));
require(success, "safeTransferETH: ETH transfer failed");
}
}
}
10 changes: 7 additions & 3 deletions src/token/xERC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,13 @@ contract xERC20 is IXERC20, ERC20 {
_;
}

constructor(string memory _name, string memory _symbol, address _initialOwner, address _mmaSender, address _mmaReceiver)
ERC20(_name, _symbol)
{
constructor(
string memory _name,
string memory _symbol,
address _initialOwner,
address _mmaSender,
address _mmaReceiver
) ERC20(_name, _symbol) {
mmaSender = IMultiMessageSender(_mmaSender);
mmaReceiver = _mmaReceiver;

Expand Down
8 changes: 4 additions & 4 deletions test/Setup.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ abstract contract Setup is Test {
return uint16(5);
}

if(_chainId == AVA_CHAIN_ID) {
if (_chainId == AVA_CHAIN_ID) {
return uint16(6);
}

Expand All @@ -432,7 +432,7 @@ abstract contract Setup is Test {
return "polygon";
}

if(_chainId == AVA_CHAIN_ID) {
if (_chainId == AVA_CHAIN_ID) {
return "avalanche";
}

Expand All @@ -453,7 +453,7 @@ abstract contract Setup is Test {
return POLYGON_RELAYER;
}

if(_chainId == AVA_CHAIN_ID) {
if (_chainId == AVA_CHAIN_ID) {
return AVA_RELAYER;
}

Expand All @@ -474,7 +474,7 @@ abstract contract Setup is Test {
return POLYGON_GATEWAY;
}

if(_chainId == AVA_CHAIN_ID) {
if (_chainId == AVA_CHAIN_ID) {
return AVA_GATEWAY;
}

Expand Down

0 comments on commit af88123

Please sign in to comment.