Skip to content

Commit

Permalink
test(fork): fix claim event assertion (#383)
Browse files Browse the repository at this point in the history
  • Loading branch information
smol-ninja committed Aug 1, 2024
1 parent 2d338a7 commit 08f851f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/fork/merkle-lockup/MerkleLL.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down
2 changes: 2 additions & 0 deletions test/fork/merkle-lockup/MerkleLT.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit 08f851f

Please sign in to comment.