From 3d9d8df4a560f09e066fd13794dfa76f8b18579a Mon Sep 17 00:00:00 2001 From: smol-ninja Date: Thu, 1 Aug 2024 16:08:03 +0100 Subject: [PATCH] test(fork): fix claim event assertion --- test/fork/merkle-lockup/MerkleLL.t.sol | 2 ++ test/fork/merkle-lockup/MerkleLT.t.sol | 2 ++ 2 files changed, 4 insertions(+) diff --git a/test/fork/merkle-lockup/MerkleLL.t.sol b/test/fork/merkle-lockup/MerkleLL.t.sol index 1cad3e13..32d63e68 100644 --- a/test/fork/merkle-lockup/MerkleLL.t.sol +++ b/test/fork/merkle-lockup/MerkleLL.t.sol @@ -142,6 +142,8 @@ abstract contract MerkleLL_Fork_Test is Fork_Test { vars.leafPos = Arrays.findUpperBound(leaves, vars.leafToClaim); vars.expectedStreamId = lockupLinear.nextStreamId(); + + vm.expectEmit({ emitter: address(vars.merkleLL) }); emit Claim( vars.indexes[params.posBeforeSort], vars.recipients[params.posBeforeSort], diff --git a/test/fork/merkle-lockup/MerkleLT.t.sol b/test/fork/merkle-lockup/MerkleLT.t.sol index ad741646..2d06a785 100644 --- a/test/fork/merkle-lockup/MerkleLT.t.sol +++ b/test/fork/merkle-lockup/MerkleLT.t.sol @@ -144,6 +144,8 @@ abstract contract MerkleLT_Fork_Test is Fork_Test { vars.leafPos = Arrays.findUpperBound(leaves, vars.leafToClaim); vars.expectedStreamId = lockupTranched.nextStreamId(); + + vm.expectEmit({ emitter: address(vars.merkleLT) }); emit Claim( vars.indexes[params.posBeforeSort], vars.recipients[params.posBeforeSort],