From 30cc5142c19b3458a854ffd95c2c6964391ebf88 Mon Sep 17 00:00:00 2001 From: MaxMustermann2 <82761650+MaxMustermann2@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:58:00 +0000 Subject: [PATCH] chore(ci): forge fmt --- src/core/Bootstrap.sol | 4 +--- test/foundry/Bootstrap.t.sol | 6 +----- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/core/Bootstrap.sol b/src/core/Bootstrap.sol index 2b28cb64..284c6d19 100644 --- a/src/core/Bootstrap.sol +++ b/src/core/Bootstrap.sol @@ -481,9 +481,7 @@ contract Bootstrap is onlyOwner { require(_clientChainGatewayLogic != address(0), "Bootstrap: client chain gateway logic address cannot be empty"); - require( - _clientChainInitializationData.length >= 4, "Bootstrap: client chain initialization data is malformed" - ); + require(_clientChainInitializationData.length >= 4, "Bootstrap: client chain initialization data is malformed"); clientChainGatewayLogic = _clientChainGatewayLogic; clientChainInitializationData = _clientChainInitializationData; emit ClientChainGatewayLogicUpdated(_clientChainGatewayLogic, _clientChainInitializationData); diff --git a/test/foundry/Bootstrap.t.sol b/test/foundry/Bootstrap.t.sol index 644ee7c3..2ae90698 100644 --- a/test/foundry/Bootstrap.t.sol +++ b/test/foundry/Bootstrap.t.sol @@ -147,11 +147,7 @@ contract BootstrapTest is Test { ); // we could also use encodeWithSelector and supply .initialize.selector instead. bytes memory initialization = abi.encodeCall( - clientGatewayLogic.initialize, - ( - payable(exocoreValidatorSet), - appendedWhitelistTokensForUpgrade - ) + clientGatewayLogic.initialize, (payable(exocoreValidatorSet), appendedWhitelistTokensForUpgrade) ); bootstrap.setClientChainGatewayLogic(address(clientGatewayLogic), initialization); vm.stopPrank();