From c9686c0f7128b2f52df2f478fcc832a69ff697db Mon Sep 17 00:00:00 2001 From: Andrew Redden Date: Thu, 19 Oct 2023 11:31:55 -0300 Subject: [PATCH] update snapshot --- .gas-snapshot | 100 +++++++++++++++++++++++++------------------------- 1 file changed, 50 insertions(+), 50 deletions(-) diff --git a/.gas-snapshot b/.gas-snapshot index 729989b8..edbc069a 100644 --- a/.gas-snapshot +++ b/.gas-snapshot @@ -5,42 +5,42 @@ EnforcerTest:testFailRateEnforcerMaxRate() (gas: 789200) EnforcerTest:testFailRateEnforcerMaxRateAndMaxCarryRate() (gas: 789065) EnforcerTest:testRateEnforcerBasic() (gas: 911246) EnforcerTest:testTermEnforcerBasic() (gas: 983574) -TestAstariaV1Loan:testNewLoanERC721CollateralDefaultTermsRecallBase() (gas: 1215843) -TestAstariaV1Loan:testNewLoanERC721CollateralDefaultTermsRecallLender() (gas: 858477) -TestAstariaV1Loan:testNewLoanERC721CollateralDefaultTermsRecallLiquidation() (gas: 894726) +TestAstariaV1Loan:testNewLoanERC721CollateralDefaultTermsRecallBase() (gas: 1218188) +TestAstariaV1Loan:testNewLoanERC721CollateralDefaultTermsRecallLender() (gas: 858353) +TestAstariaV1Loan:testNewLoanERC721CollateralDefaultTermsRecallLiquidation() (gas: 894602) TestCustodian:testCannotLazyMintTwice() (gas: 76663) TestCustodian:testCannotMintInvalidLoanInvalidCustodian() (gas: 66883) TestCustodian:testCannotMintInvalidLoanValidCustodian() (gas: 72400) -TestCustodian:testCustodySelector() (gas: 2766980) +TestCustodian:testCustodySelector() (gas: 2818119) TestCustodian:testDefaultCustodySelectorRevert() (gas: 11672) -TestCustodian:testGenerateOrderInvalidHandlerExecution() (gas: 139413) -TestCustodian:testGenerateOrderRepay() (gas: 179743) -TestCustodian:testGenerateOrderRepayAsRepayApprovedBorrower() (gas: 205294) -TestCustodian:testGenerateOrderRepayERC1155AndERC20AndNative() (gas: 1114594) -TestCustodian:testGenerateOrderRepayERC1155AndERC20AndNativeHandlerAuthorized() (gas: 1028453) -TestCustodian:testGenerateOrderRepayERC1155WithRevert() (gas: 524151) -TestCustodian:testGenerateOrderRepayInvalidHookAddress() (gas: 96770) -TestCustodian:testGenerateOrderRepayInvalidHookReturnType() (gas: 91174) -TestCustodian:testGenerateOrderRepayNotBorrower() (gas: 102896) -TestCustodian:testGenerateOrderSettlement() (gas: 161026) -TestCustodian:testGenerateOrderSettlementHandlerAuthorized() (gas: 170156) -TestCustodian:testGenerateOrderSettlementNoActiveLoan() (gas: 162510) -TestCustodian:testGenerateOrderSettlementUnauthorized() (gas: 100813) -TestCustodian:testGetBorrower() (gas: 76114) -TestCustodian:testInvalidAction() (gas: 124444) -TestCustodian:testInvalidActionRepayInActiveLoan() (gas: 124454) -TestCustodian:testInvalidActionSettleActiveLoan() (gas: 124457) +TestCustodian:testGenerateOrderInvalidHandlerExecution() (gas: 139368) +TestCustodian:testGenerateOrderRepay() (gas: 176877) +TestCustodian:testGenerateOrderRepayAsRepayApprovedBorrower() (gas: 202524) +TestCustodian:testGenerateOrderRepayERC1155AndERC20AndNative() (gas: 1115040) +TestCustodian:testGenerateOrderRepayERC1155AndERC20AndNativeHandlerAuthorized() (gas: 1028737) +TestCustodian:testGenerateOrderRepayERC1155WithRevert() (gas: 524739) +TestCustodian:testGenerateOrderRepayInvalidHookAddress() (gas: 96790) +TestCustodian:testGenerateOrderRepayInvalidHookReturnType() (gas: 91194) +TestCustodian:testGenerateOrderRepayNotBorrower() (gas: 102990) +TestCustodian:testGenerateOrderSettlement() (gas: 158129) +TestCustodian:testGenerateOrderSettlementHandlerAuthorized() (gas: 167257) +TestCustodian:testGenerateOrderSettlementNoActiveLoan() (gas: 162422) +TestCustodian:testGenerateOrderSettlementUnauthorized() (gas: 100769) +TestCustodian:testGetBorrower() (gas: 76157) +TestCustodian:testInvalidAction() (gas: 121504) +TestCustodian:testInvalidActionRepayInActiveLoan() (gas: 124409) +TestCustodian:testInvalidActionSettleActiveLoan() (gas: 124413) TestCustodian:testName() (gas: 7098) TestCustodian:testNonPayableFunctions() (gas: 219009) TestCustodian:testOnlySeaport() (gas: 17975) TestCustodian:testPayableFunctions() (gas: 43468) TestCustodian:testPreviewOrderNoActiveLoan() (gas: 105228) -TestCustodian:testPreviewOrderRepay() (gas: 230735) -TestCustodian:testPreviewOrderSettlement() (gas: 192962) +TestCustodian:testPreviewOrderRepay() (gas: 227912) +TestCustodian:testPreviewOrderSettlement() (gas: 190065) TestCustodian:testPreviewOrderSettlementInvalidFufliller() (gas: 107146) -TestCustodian:testPreviewOrderSettlementInvalidRepayer() (gas: 113233) -TestCustodian:testRatifyOrder() (gas: 185928) -TestCustodian:testSafeTransfer1155Receive() (gas: 122944) +TestCustodian:testPreviewOrderSettlementInvalidRepayer() (gas: 113276) +TestCustodian:testRatifyOrder() (gas: 183062) +TestCustodian:testSafeTransfer1155Receive() (gas: 115587) TestCustodian:testSeaportMetadata() (gas: 8589) TestCustodian:testSetRepayApproval() (gas: 37839) TestCustodian:testSupportsInterface() (gas: 9406) @@ -50,54 +50,54 @@ TestCustodian:testTokenURIInvalidLoan() (gas: 13196) TestExoticLoans:testSwap() (gas: 1353169) TestLoanCombinations:testLoan20For721SimpleInterestDutchFixedRepay() (gas: 164) TestLoanCombinations:testLoan20for20SimpleInterestDutchFixedRepay() (gas: 517422) -TestLoanCombinations:testLoan721for20SimpleInterestDutchFixedRepay() (gas: 712063) +TestLoanCombinations:testLoan721for20SimpleInterestDutchFixedRepay() (gas: 711981) TestLoanCombinations:testLoanAstariaSettlementRepay() (gas: 541506) -TestLoanCombinations:testLoanSimpleInterestEnglishFixed() (gas: 701564) -TestLoanManager:testCannotIssueSameLoanTwice() (gas: 1529558) +TestLoanCombinations:testLoanSimpleInterestEnglishFixed() (gas: 701482) +TestLoanManager:testCannotIssueSameLoanTwice() (gas: 1529536) TestLoanManager:testCannotSettleInvalidLoan() (gas: 72844) TestLoanManager:testCannotSettleUnlessValidCustodian() (gas: 68990) -TestLoanManager:testCaveatEnforcerInvalidOrigination() (gas: 1796959) +TestLoanManager:testCaveatEnforcerInvalidOrigination() (gas: 1797025) TestLoanManager:testDefaultFeeRake() (gas: 403187) -TestLoanManager:testExoticDebtWithNoCaveatsAsBorrower() (gas: 1587200) -TestLoanManager:testExoticDebtWithNoCaveatsNotAsBorrower() (gas: 1677110) -TestLoanManager:testGenerateOrder() (gas: 1494995) -TestLoanManager:testGenerateOrderInvalidAction() (gas: 1354720) -TestLoanManager:testGenerateOrderNotSeaport() (gas: 13045) -TestLoanManager:testInitializedFlagSetProperly() (gas: 65216) -TestLoanManager:testInvalidDebtLength() (gas: 37065) -TestLoanManager:testInvalidDebtType() (gas: 1362217) -TestLoanManager:testInvalidMaximumSpentEmpty() (gas: 48076) +TestLoanManager:testExoticDebtWithNoCaveatsAsBorrower() (gas: 1587178) +TestLoanManager:testExoticDebtWithNoCaveatsNotAsBorrower() (gas: 1677088) +TestLoanManager:testGenerateOrder() (gas: 1495062) +TestLoanManager:testGenerateOrderInvalidAction() (gas: 1354698) +TestLoanManager:testGenerateOrderNotSeaport() (gas: 13023) +TestLoanManager:testInitializedFlagSetProperly() (gas: 65194) +TestLoanManager:testInvalidDebtLength() (gas: 39181) +TestLoanManager:testInvalidDebtType() (gas: 1364311) +TestLoanManager:testInvalidMaximumSpentEmpty() (gas: 50192) TestLoanManager:testIssued() (gas: 67041) TestLoanManager:testName() (gas: 7209) TestLoanManager:testNativeDebtWithNoCaveatsAsBorrower() (gas: 1500521) -TestLoanManager:testNativeDebtWithNoCaveatsNotAsBorrower() (gas: 1541448) +TestLoanManager:testNativeDebtWithNoCaveatsNotAsBorrower() (gas: 1541426) TestLoanManager:testNativeDebtWithNoCaveatsNotAsBorrowerFeesOn() (gas: 1604818) TestLoanManager:testNonDefaultCustodianCustodyCallFails() (gas: 23953) -TestLoanManager:testNonDefaultCustodianCustodyCallSuccess() (gas: 25349) +TestLoanManager:testNonDefaultCustodianCustodyCallSuccess() (gas: 25327) TestLoanManager:testNonPayableFunctions() (gas: 109562) TestLoanManager:testOverrideFeeRake() (gas: 404503) -TestLoanManager:testPayableFunctions() (gas: 60281) +TestLoanManager:testPayableFunctions() (gas: 55281) TestLoanManager:testPreviewOrderInvalidAction() (gas: 1299017) TestLoanManager:testPreviewOrderOriginationWithNoCaveatsSetAsBorrowerFeeOn() (gas: 1345487) TestLoanManager:testPreviewOrderOriginationWithNoCaveatsSetAsBorrowerNoFee() (gas: 1313690) -TestLoanManager:testPreviewOrderOriginationWithNoCaveatsSetNotBorrowerFeeOn() (gas: 1354195) +TestLoanManager:testPreviewOrderOriginationWithNoCaveatsSetNotBorrowerFeeOn() (gas: 1354173) TestLoanManager:testPreviewOrderOriginationWithNoCaveatsSetNotBorrowerNoFee() (gas: 1322064) TestLoanManager:testPreviewOrderRefinanceAsRefinancerFeeOff() (gas: 1373981) TestLoanManager:testPreviewOrderRefinanceAsRefinancerFeeOn() (gas: 1399308) -TestLoanManager:testRefinanceNoRefinanceConsideration() (gas: 1386397) -TestLoanManager:testSafeTransfer1155Receive() (gas: 54356) +TestLoanManager:testRefinanceNoRefinanceConsideration() (gas: 1386463) +TestLoanManager:testSafeTransfer1155Receive() (gas: 54338) TestLoanManager:testSeaportMetadata() (gas: 8667) -TestLoanManager:testSupportsInterface() (gas: 9602) +TestLoanManager:testSupportsInterface() (gas: 9580) TestLoanManager:testSymbol() (gas: 7238) TestLoanManager:testTokenURI() (gas: 64967) -TestLoanManager:testTokenURIInvalidLoan() (gas: 13312) +TestLoanManager:testTokenURIInvalidLoan() (gas: 13290) TestLoanManager:testTransferFromFailFromSeaport() (gas: 82187) TestNewLoan:testBuyNowPayLater() (gas: 1143307) TestNewLoan:testNewLoanERC721CollateralDefaultTerms2():((uint256,address,address,address,address,(uint8,address,uint256,uint256)[],(uint8,address,uint256,uint256)[],(address,bytes,address,bytes,address,bytes))) (gas: 982374) TestNewLoan:testNewLoanERC721CollateralLessDebtThanOffered():((uint256,address,address,address,address,(uint8,address,uint256,uint256)[],(uint8,address,uint256,uint256)[],(address,bytes,address,bytes,address,bytes))) (gas: 982708) -TestNewLoan:testNewLoanRefinanceNew() (gas: 700152) -TestNewLoan:testSettleLoan() (gas: 1223577) -TestRepayLoan:testRepayLoan() (gas: 684024) +TestNewLoan:testNewLoanRefinanceNew() (gas: 702267) +TestNewLoan:testSettleLoan() (gas: 1223453) +TestRepayLoan:testRepayLoan() (gas: 683942) TestStarLiteUtils:testEncodeReceivedWithRecipient() (gas: 17955) TestStarLiteUtils:testSpentToReceived() (gas: 17708) TestStarLiteUtils:testValidateSaltOpt(address,bytes32) (runs: 256, μ: 26479, ~: 26479)