From 7d4b4c78cf53b6791fc922d551821900b5b66158 Mon Sep 17 00:00:00 2001 From: Andrew Redden Date: Mon, 11 Dec 2023 10:43:39 -0400 Subject: [PATCH] include refinance update --- lib/starport | 2 +- test/TestV1Status.sol | 2 +- test/fuzz-testing/TestFuzzV1.sol | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/starport b/lib/starport index 04bf816..df5d1b4 160000 --- a/lib/starport +++ b/lib/starport @@ -1 +1 @@ -Subproject commit 04bf8168d49e194aa55524fe686467e0504bd7f2 +Subproject commit df5d1b4de0d8dbb3432a1d9060e8efdc20243794 diff --git a/test/TestV1Status.sol b/test/TestV1Status.sol index 75f4e48..4bd8ecc 100644 --- a/test/TestV1Status.sol +++ b/test/TestV1Status.sol @@ -107,7 +107,7 @@ contract TestAstariaV1Status is AstariaV1Test, DeepEq { vm.startPrank(newLender); erc20s[0].mint(newLender, 10e18); erc20s[0].approve(address(SP), 10e18); - SP.refinance(newLender, _emptyCaveat(), loan, abi.encode(newPricingData)); + SP.refinance(newLender, _emptyCaveat(), loan, abi.encode(newPricingData), ""); assert(erc20s[0].balanceOf(address(loan.terms.status)) == 0); } diff --git a/test/fuzz-testing/TestFuzzV1.sol b/test/fuzz-testing/TestFuzzV1.sol index 5c7e0b3..0a84af1 100644 --- a/test/fuzz-testing/TestFuzzV1.sol +++ b/test/fuzz-testing/TestFuzzV1.sol @@ -345,7 +345,7 @@ contract TestFuzzV1 is AstariaV1Test, TestFuzzStarport { vm.startPrank(refiFulfiller); erc20s[1].mint(address(refiFulfiller), additionalTransfers[0].amount); erc20s[1].approve(address(SP), type(uint256).max); - SP.refinance(account.addr, lenderCaveat, goodLoan2, abi.encode(newPricingDetails)); + SP.refinance(account.addr, lenderCaveat, goodLoan2, abi.encode(newPricingDetails), ""); vm.stopPrank(); } }