Skip to content

Commit 790d057

Browse files
committed
test emit event
1 parent 75a3c02 commit 790d057

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

target_chains/ethereum/contracts/forge-test/Entropy.t.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1451,6 +1451,8 @@ contract EntropyTest is Test, EntropyTestUtils, EntropyEvents {
14511451
uint32 newGasLimit = 100000;
14521452

14531453
vm.prank(provider1);
1454+
vm.expectEmit(false, false, false, true, address(random));
1455+
emit ProviderDefaultGasLimitUpdated(provider1, 0, newGasLimit);
14541456
random.setDefaultGasLimit(newGasLimit);
14551457

14561458
EntropyStructs.ProviderInfo memory info = random.getProviderInfo(

0 commit comments

Comments
 (0)