Skip to content

Commit

Permalink
fix(test): expect events
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxMustermann2 committed Jul 30, 2024
1 parent 2f9b1c6 commit 88a6f96
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/foundry/unit/ExocoreGateway.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -903,10 +903,10 @@ contract MarkBootstrap is SetUp {
function test_Success_Multiple() public {
_registerClientChain();
vm.startPrank(exocoreValidatorSet.addr);
// vm.expectEmit(address(exocoreGateway));
// emit ExocoreGatewayStorage.BootstrapRequestSent(clientChainId);
// vm.expectEmit(address(exocoreGateway));
// emit ExocoreGatewayStorage.BootstrapRequestSent(anotherClientChainId);
vm.expectEmit(address(exocoreGateway));
emit ExocoreGatewayStorage.BootstrapRequestSent(clientChainId);
vm.expectEmit(address(exocoreGateway));
emit ExocoreGatewayStorage.BootstrapRequestSent(anotherClientChainId);
assertEq(exocoreGateway.chainToBootstrapped(clientChainId), false);
assertEq(exocoreGateway.chainToBootstrapped(anotherClientChainId), false);
exocoreGateway.markBootstrapOnAllChains();
Expand Down

0 comments on commit 88a6f96

Please sign in to comment.