Skip to content

Commit 59915ac

Browse files
authored
migration custom accounting tests (#729)
1 parent 9551e87 commit 59915ac

10 files changed

+331
-306
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
320738
1+
172605
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
176325
1+
142125
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
172779
1+
155691

test/CustomAccounting.t.sol

Lines changed: 322 additions & 0 deletions
Large diffs are not rendered by default.

test/DynamicFees.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ contract TestDynamicFees is Test, Deployers, GasSnapshot {
5757
dynamicFeesHooks.setManager(IPoolManager(manager));
5858
dynamicFeesNoHooks.setManager(IPoolManager(manager));
5959

60-
(currency0, currency1) = deployMintAndApprove2Currencies();
60+
deployMintAndApprove2Currencies();
6161
(key,) = initPoolAndAddLiquidity(
6262
currency0,
6363
currency1,

test/DynamicReturnFees.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ contract TestDynamicReturnFees is Test, Deployers, GasSnapshot {
4848
deployFreshManagerAndRouters();
4949
dynamicReturnFeesHook.setManager(IPoolManager(manager));
5050

51-
(currency0, currency1) = deployMintAndApprove2Currencies();
51+
deployMintAndApprove2Currencies();
5252
(key,) = initPoolAndAddLiquidity(
5353
currency0,
5454
currency1,

test/PoolManager.t.sol

Lines changed: 1 addition & 298 deletions
Large diffs are not rendered by default.

test/PoolManagerInitialize.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ contract PoolManagerInitializeTest is Test, Deployers, GasSnapshot {
4242

4343
function setUp() public {
4444
deployFreshManagerAndRouters();
45-
(currency0, currency1) = deployMintAndApprove2Currencies();
45+
deployMintAndApprove2Currencies();
4646

4747
uninitializedKey = PoolKey({
4848
currency0: currency0,

test/SkipCallsTestHook.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ contract SkipCallsTest is Test, Deployers, GasSnapshot {
2828
vm.etch(address(skipCallsTestHook), address(impl).code);
2929
deployFreshManagerAndRouters();
3030
skipCallsTestHook.setManager(IPoolManager(manager));
31-
(currency0, currency1) = deployMintAndApprove2Currencies();
31+
deployMintAndApprove2Currencies();
3232

3333
assertEq(skipCallsTestHook.counter(), 0);
3434

test/libraries/Pool.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ contract PoolTest is Test, GasSnapshot {
9191
state.modifyLiquidity(params);
9292
}
9393

94-
function testSwap(
94+
function test_fuzz_swap(
9595
uint160 sqrtPriceX96,
9696
uint24 lpFee,
9797
uint16 protocolFee0,

0 commit comments

Comments
 (0)