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();