From eced885877d66fb0077a4b4a9a47c3cf3d0d0981 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Claudio=20Nale?= Date: Mon, 13 Feb 2023 17:38:52 -0300 Subject: [PATCH] `forge fmt` run. --- ethereum/contracts/example_integrations/xMint/Hub.sol | 9 +-------- ethereum/contracts/example_integrations/xMint/Spoke.sol | 7 +------ 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/ethereum/contracts/example_integrations/xMint/Hub.sol b/ethereum/contracts/example_integrations/xMint/Hub.sol index d3b53b8..0138717 100644 --- a/ethereum/contracts/example_integrations/xMint/Hub.sol +++ b/ethereum/contracts/example_integrations/xMint/Hub.sol @@ -80,14 +80,7 @@ contract XmintHub is ERC20, IWormholeReceiver { //token, amount, receipientChain, recipientAddress, nonce, payload abi.encodeCall( ITokenBridge.transferTokensWithPayload, - ( - address(this), - amount, - remoteChain, - trustedContracts[remoteChain], - nonce, - payload - ) + (address(this), amount, remoteChain, trustedContracts[remoteChain], nonce, payload) ) ); } diff --git a/ethereum/contracts/example_integrations/xMint/Spoke.sol b/ethereum/contracts/example_integrations/xMint/Spoke.sol index c731b00..32a1823 100644 --- a/ethereum/contracts/example_integrations/xMint/Spoke.sol +++ b/ethereum/contracts/example_integrations/xMint/Spoke.sol @@ -57,12 +57,7 @@ contract XmintSpoke is IWormholeReceiver { (bool success, bytes memory data) = address(token_bridge).call{value: bridgeAmount + core_bridge.messageFee()}( abi.encodeCall( ITokenBridge.wrapAndTransferETHWithPayload, - ( - hub_contract_chain, - hub_contract_address, - nonce, - abi.encode(core_relayer.toWormholeFormat(msg.sender)) - ) + (hub_contract_chain, hub_contract_address, nonce, abi.encode(core_relayer.toWormholeFormat(msg.sender))) ) );