Skip to content

Commit

Permalink
feat: bump starport version (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
dangerousfood authored Dec 3, 2023
1 parent e1d6a64 commit 6e2db02
Show file tree
Hide file tree
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
Expand Up @@ -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({
Expand All @@ -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;
Expand Down Expand Up @@ -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({
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 6e2db02

Please sign in to comment.