Skip to content

Commit

Permalink
chore(ci): forge fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMustermann2 committed Jun 3, 2024
1 parent 63a6032 commit 30cc514
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 1 addition & 3 deletions src/core/Bootstrap.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
6 changes: 1 addition & 5 deletions test/foundry/Bootstrap.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 30cc514

Please sign in to comment.