We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8bedf8 commit 01c759dCopy full SHA for 01c759d
test/HookFees.t.sol
@@ -169,6 +169,9 @@ contract HookFeesTest is EulerSwapTestBase {
169
assertEq(r1New, r1 + amountInWithoutFee);
170
}
171
172
- assertGt(getHolderNAV(), origNav + int256(amountIn - amountInWithoutFee));
+ uint256 protocolFeeCollected = assetTST.balanceOf(protocolFeeRecipient);
173
+ assertGt(protocolFeeCollected, 0);
174
+
175
+ assertGt(getHolderNAV(), origNav + int256(amountIn - amountInWithoutFee) - int256(protocolFeeCollected));
176
177
0 commit comments