Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: bump starport version
Browse files Browse the repository at this point in the history
dangerousfood committed Dec 3, 2023
1 parent e1d6a64 commit a413e55
Showing 2 changed files with 5 additions and 13 deletions.
16 changes: 4 additions & 12 deletions test/TestAstariaV1Loan.sol
Original file line number Diff line number Diff line change
@@ -380,9 +380,7 @@ contract TestAstariaV1Loan is AstariaV1Test {
// warp past the end of the recall window
vm.warp(block.timestamp + details.recallWindow + 1);

OfferItem[] memory repayOffering = new OfferItem[](
loan.collateral.length
);
OfferItem[] memory repayOffering = new OfferItem[](loan.collateral.length);
uint256 i = 0;
for (; i < loan.collateral.length;) {
repayOffering[i] = OfferItem({
@@ -403,9 +401,7 @@ contract TestAstariaV1Loan is AstariaV1Test {
settlementConsideration.length, 0, "Settlement consideration for a recalling Lender should be zero"
);
assertEq(restricted, lender.addr, "SettlementConsideration should be restricted to the lender");
ConsiderationItem[] memory consider = new ConsiderationItem[](
settlementConsideration.length
);
ConsiderationItem[] memory consider = new ConsiderationItem[](settlementConsideration.length);
i = 0;
for (; i < settlementConsideration.length;) {
consider[i].token = settlementConsideration[i].token;
@@ -493,9 +489,7 @@ contract TestAstariaV1Loan is AstariaV1Test {
// warp past the end of the recall window
vm.warp(block.timestamp + details.recallWindow + 1);
elapsedTime += (details.recallWindow + 1);
OfferItem[] memory repayOffering = new OfferItem[](
loan.collateral.length
);
OfferItem[] memory repayOffering = new OfferItem[](loan.collateral.length);
uint256 i = 0;
for (; i < loan.collateral.length;) {
repayOffering[i] = OfferItem({
@@ -541,9 +535,7 @@ contract TestAstariaV1Loan is AstariaV1Test {
activeLoan, 0, activeLoan.terms.status, address(this)
);
}
ConsiderationItem[] memory consider = new ConsiderationItem[](
settlementConsideration.length
);
ConsiderationItem[] memory consider = new ConsiderationItem[](settlementConsideration.length);
i = 0;
for (; i < settlementConsideration.length;) {
consider[i].token = settlementConsideration[i].token;

0 comments on commit a413e55

Please sign in to comment.