From 45a60a850de237a7e85a9a4ea0b3979f61de8a57 Mon Sep 17 00:00:00 2001 From: Pascal Marco Caversaccio Date: Fri, 18 Oct 2024 18:09:38 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20=20Add=20`.gas-snapshot`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pascal Marco Caversaccio --- .gas-snapshot | 134 ++++++++++++++++++------------------- .gas-snapshot-venom | 132 ++++++++++++++++++------------------ lib/create-util | 2 +- lib/forge-std | 2 +- lib/openzeppelin-contracts | 2 +- lib/solady | 2 +- 6 files changed, 137 insertions(+), 137 deletions(-) diff --git a/.gas-snapshot b/.gas-snapshot index a7a04bd2..5a95b54b 100644 --- a/.gas-snapshot +++ b/.gas-snapshot @@ -1,5 +1,5 @@ -Vyper version: 0.4.1+commit.212ff59b -Forge version: forge 0.2.0 (0ed43ce 2024-10-11T00:22:42.949979216Z) +Vyper version: 0.4.1b2+commit.b3ea6630 +Forge version: forge 0.2.0 (7cbd55e 2024-10-18T00:21:55.281050002Z) Vyper config: { "optimize": "gas" @@ -138,9 +138,9 @@ ECDSATest:testRecoverWithWrongMessage() (gas: 20723) ECDSATest:testRecoverWithWrongVersion() (gas: 14950) EIP712DomainSeparatorTest:testCachedDomainSeparatorV4() (gas: 10561) EIP712DomainSeparatorTest:testDomainSeparatorV4() (gas: 11703) -EIP712DomainSeparatorTest:testEIP712Domain() (gas: 18025) -EIP712DomainSeparatorTest:testFuzzDomainSeparatorV4(uint8) (runs: 256, μ: 11851, ~: 11878) -EIP712DomainSeparatorTest:testFuzzEIP712Domain(bytes1,uint8,bytes32,uint256[]) (runs: 256, μ: 21389, ~: 21431) +EIP712DomainSeparatorTest:testEIP712Domain() (gas: 17949) +EIP712DomainSeparatorTest:testFuzzDomainSeparatorV4(uint8) (runs: 256, μ: 11850, ~: 11878) +EIP712DomainSeparatorTest:testFuzzEIP712Domain(bytes1,uint8,bytes32,uint256[]) (runs: 256, μ: 21312, ~: 21363) EIP712DomainSeparatorTest:testFuzzHashTypedDataV4(address,address,uint256,uint256,uint64) (runs: 256, μ: 10654, ~: 10654) EIP712DomainSeparatorTest:testHashTypedDataV4() (gas: 13130) ERC1155Invariants:statefulFuzzOwner() (runs: 256, calls: 3840, reverts: 3480) @@ -271,8 +271,8 @@ ERC1155Test:testUriBaseAndTokenUriNotSet() (gas: 2851447) ERC1155Test:testUriBaseAndTokenUriSet() (gas: 64187) ERC1155Test:testUriNoBaseURI() (gas: 2900850) ERC1155Test:testUriNoTokenUri() (gas: 18805) -ERC20Invariants:statefulFuzzOwner() (runs: 256, calls: 3840, reverts: 3444) -ERC20Invariants:statefulFuzzTotalSupply() (runs: 256, calls: 3840, reverts: 3444) +ERC20Invariants:statefulFuzzOwner() (runs: 256, calls: 3840, reverts: 3443) +ERC20Invariants:statefulFuzzTotalSupply() (runs: 256, calls: 3840, reverts: 3443) ERC20Test:testApproveExceedingBalanceCase1() (gas: 40802) ERC20Test:testApproveExceedingBalanceCase2() (gas: 47789) ERC20Test:testApproveFromZeroAddress() (gas: 12962) @@ -293,30 +293,30 @@ ERC20Test:testBurnSuccessCase1() (gas: 25759) ERC20Test:testBurnSuccessCase2() (gas: 31324) ERC20Test:testCachedDomainSeparator() (gas: 10598) ERC20Test:testDomainSeparator() (gas: 11819) -ERC20Test:testEIP712Domain() (gas: 18200) +ERC20Test:testEIP712Domain() (gas: 18124) ERC20Test:testFuzzApproveSuccess(address,uint256) (runs: 256, μ: 41115, ~: 41193) -ERC20Test:testFuzzBurnFromInsufficientAllowance(address,uint256,uint8) (runs: 256, μ: 205962, ~: 205979) -ERC20Test:testFuzzBurnFromSuccess(address,uint256) (runs: 256, μ: 339788, ~: 339651) +ERC20Test:testFuzzBurnFromInsufficientAllowance(address,uint256,uint8) (runs: 256, μ: 205902, ~: 205979) +ERC20Test:testFuzzBurnFromSuccess(address,uint256) (runs: 256, μ: 339731, ~: 339648) ERC20Test:testFuzzBurnInvalidAmount(address,uint256) (runs: 256, μ: 16394, ~: 16394) -ERC20Test:testFuzzBurnSuccessCase(uint256) (runs: 256, μ: 314363, ~: 314150) +ERC20Test:testFuzzBurnSuccessCase(uint256) (runs: 256, μ: 314362, ~: 314152) ERC20Test:testFuzzDomainSeparator(uint8) (runs: 256, μ: 12027, ~: 12055) -ERC20Test:testFuzzEIP712Domain(bytes1,uint8,bytes32,uint256[]) (runs: 256, μ: 21697, ~: 21747) +ERC20Test:testFuzzEIP712Domain(bytes1,uint8,bytes32,uint256[]) (runs: 256, μ: 21620, ~: 21671) ERC20Test:testFuzzMintNonMinter(string,uint256) (runs: 256, μ: 12921, ~: 12914) -ERC20Test:testFuzzMintSuccess(string,uint256) (runs: 256, μ: 55408, ~: 56074) +ERC20Test:testFuzzMintSuccess(string,uint256) (runs: 256, μ: 55318, ~: 56074) ERC20Test:testFuzzPermitInvalid(string,string,uint16) (runs: 256, μ: 44560, ~: 44554) ERC20Test:testFuzzPermitSuccess(string,string,uint16) (runs: 256, μ: 70553, ~: 70554) ERC20Test:testFuzzRenounceOwnershipNonOwner(address) (runs: 256, μ: 13929, ~: 13929) -ERC20Test:testFuzzRenounceOwnershipSuccess(address) (runs: 256, μ: 48635, ~: 48620) +ERC20Test:testFuzzRenounceOwnershipSuccess(address) (runs: 256, μ: 48634, ~: 48620) ERC20Test:testFuzzSetMinterNonOwner(address,string) (runs: 256, μ: 15520, ~: 15521) ERC20Test:testFuzzSetMinterSuccess(string) (runs: 256, μ: 33569, ~: 33576) -ERC20Test:testFuzzTransferFromInsufficientAllowance(address,address,uint256,uint8) (runs: 256, μ: 204605, ~: 204593) -ERC20Test:testFuzzTransferFromSuccess(address,address,uint256) (runs: 256, μ: 233564, ~: 234140) +ERC20Test:testFuzzTransferFromInsufficientAllowance(address,address,uint256,uint8) (runs: 256, μ: 204608, ~: 204593) +ERC20Test:testFuzzTransferFromSuccess(address,address,uint256) (runs: 256, μ: 233554, ~: 234137) ERC20Test:testFuzzTransferInvalidAmount(address,address,uint256) (runs: 256, μ: 16752, ~: 16752) ERC20Test:testFuzzTransferOwnershipNonOwner(address,address) (runs: 256, μ: 14040, ~: 14040) ERC20Test:testFuzzTransferOwnershipSuccess(address,address) (runs: 256, μ: 75609, ~: 75577) ERC20Test:testFuzzTransferSuccess(address,uint256) (runs: 256, μ: 205509, ~: 205569) ERC20Test:testHasOwner() (gas: 12655) -ERC20Test:testInitialSetup() (gas: 1566577) +ERC20Test:testInitialSetup() (gas: 1559942) ERC20Test:testMintNonMinter() (gas: 12460) ERC20Test:testMintOverflow() (gas: 16783) ERC20Test:testMintSuccess() (gas: 51789) @@ -393,25 +393,25 @@ ERC2981Test:testSupportsInterfaceSuccessGasCost() (gas: 9227) ERC2981Test:testTransferOwnershipNonOwner() (gas: 12354) ERC2981Test:testTransferOwnershipSuccess() (gas: 22163) ERC2981Test:testTransferOwnershipToZeroAddress() (gas: 15490) -ERC4626VaultInvariants:statefulFuzzTotalAssets() (runs: 256, calls: 3840, reverts: 3289) -ERC4626VaultInvariants:statefulFuzzTotalSupply() (runs: 256, calls: 3840, reverts: 3289) +ERC4626VaultInvariants:statefulFuzzTotalAssets() (runs: 256, calls: 3840, reverts: 3290) +ERC4626VaultInvariants:statefulFuzzTotalSupply() (runs: 256, calls: 3840, reverts: 3290) ERC4626VaultTest:testCachedDomainSeparator() (gas: 10575) ERC4626VaultTest:testDepositInsufficientAllowance() (gas: 82478) ERC4626VaultTest:testDepositWithNoApproval() (gas: 24309) ERC4626VaultTest:testDepositZero() (gas: 41091) ERC4626VaultTest:testDomainSeparator() (gas: 11906) -ERC4626VaultTest:testEIP712Domain() (gas: 18201) +ERC4626VaultTest:testEIP712Domain() (gas: 18125) ERC4626VaultTest:testEmptyVaultDeposit() (gas: 567200) ERC4626VaultTest:testEmptyVaultMint() (gas: 568085) ERC4626VaultTest:testEmptyVaultRedeem() (gas: 202461) ERC4626VaultTest:testEmptyVaultwithdraw() (gas: 215305) -ERC4626VaultTest:testFail_redeem((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 553701, ~: 556438) -ERC4626VaultTest:testFail_withdraw((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 555458, ~: 557997) +ERC4626VaultTest:testFail_redeem((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 553721, ~: 556438) +ERC4626VaultTest:testFail_withdraw((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 555483, ~: 557997) ERC4626VaultTest:testFuzzDomainSeparator(uint8) (runs: 256, μ: 11917, ~: 11944) -ERC4626VaultTest:testFuzzEIP712Domain(bytes1,uint8,bytes32,uint256[]) (runs: 256, μ: 21719, ~: 21769) +ERC4626VaultTest:testFuzzEIP712Domain(bytes1,uint8,bytes32,uint256[]) (runs: 256, μ: 21643, ~: 21679) ERC4626VaultTest:testFuzzPermitInvalid(string,string,uint16) (runs: 256, μ: 44525, ~: 44519) ERC4626VaultTest:testFuzzPermitSuccess(string,string,uint16) (runs: 256, μ: 70460, ~: 70461) -ERC4626VaultTest:testInitialSetup() (gas: 5968263) +ERC4626VaultTest:testInitialSetup() (gas: 5948310) ERC4626VaultTest:testMintWithNoApproval() (gas: 24354) ERC4626VaultTest:testMintZero() (gas: 41192) ERC4626VaultTest:testMultipleMintDepositRedeemWithdraw() (gas: 376784) @@ -429,30 +429,30 @@ ERC4626VaultTest:testVaultInteractionsForSomeoneElse() (gas: 224104) ERC4626VaultTest:testWithdrawInsufficientAllowance() (gas: 122383) ERC4626VaultTest:testWithdrawInsufficientAssets() (gas: 117788) ERC4626VaultTest:testWithdrawWithNoAssets() (gas: 21277) -ERC4626VaultTest:test_RT_deposit_redeem((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 472215, ~: 473172) -ERC4626VaultTest:test_RT_deposit_withdraw((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 474225, ~: 474400) -ERC4626VaultTest:test_RT_mint_redeem((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 471812, ~: 473262) -ERC4626VaultTest:test_RT_mint_withdraw((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 473524, ~: 474472) -ERC4626VaultTest:test_RT_redeem_deposit((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 472621, ~: 473277) -ERC4626VaultTest:test_RT_redeem_mint((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 472720, ~: 473357) -ERC4626VaultTest:test_RT_withdraw_deposit((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 473799, ~: 474501) -ERC4626VaultTest:test_RT_withdraw_mint((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 473943, ~: 474659) -ERC4626VaultTest:test_asset((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 424213, ~: 426303) -ERC4626VaultTest:test_convertToAssets((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 429130, ~: 430539) -ERC4626VaultTest:test_convertToShares((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 429133, ~: 430556) -ERC4626VaultTest:test_deposit((address[4],uint256[4],uint256[4],int256),uint256,uint256) (runs: 256, μ: 469828, ~: 471113) -ERC4626VaultTest:test_maxDeposit((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 424207, ~: 426297) -ERC4626VaultTest:test_maxMint((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 424250, ~: 426340) -ERC4626VaultTest:test_maxRedeem((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 424347, ~: 426437) -ERC4626VaultTest:test_maxWithdraw((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 425804, ~: 427694) -ERC4626VaultTest:test_mint((address[4],uint256[4],uint256[4],int256),uint256,uint256) (runs: 256, μ: 469883, ~: 471134) -ERC4626VaultTest:test_previewDeposit((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 464625, ~: 465772) -ERC4626VaultTest:test_previewMint((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 464378, ~: 465952) -ERC4626VaultTest:test_previewRedeem((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 467268, ~: 467270) -ERC4626VaultTest:test_previewWithdraw((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 468159, ~: 468539) -ERC4626VaultTest:test_redeem((address[4],uint256[4],uint256[4],int256),uint256,uint256) (runs: 256, μ: 473005, ~: 473825) -ERC4626VaultTest:test_totalAssets((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 424796, ~: 426886) -ERC4626VaultTest:test_withdraw((address[4],uint256[4],uint256[4],int256),uint256,uint256) (runs: 256, μ: 474780, ~: 475016) +ERC4626VaultTest:test_RT_deposit_redeem((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 472253, ~: 473175) +ERC4626VaultTest:test_RT_deposit_withdraw((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 474263, ~: 474402) +ERC4626VaultTest:test_RT_mint_redeem((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 471650, ~: 473267) +ERC4626VaultTest:test_RT_mint_withdraw((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 473588, ~: 474476) +ERC4626VaultTest:test_RT_redeem_deposit((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 472580, ~: 473334) +ERC4626VaultTest:test_RT_redeem_mint((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 472683, ~: 473584) +ERC4626VaultTest:test_RT_withdraw_deposit((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 473820, ~: 474639) +ERC4626VaultTest:test_RT_withdraw_mint((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 473917, ~: 474959) +ERC4626VaultTest:test_asset((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 424198, ~: 426300) +ERC4626VaultTest:test_convertToAssets((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 429136, ~: 430573) +ERC4626VaultTest:test_convertToShares((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 429129, ~: 430559) +ERC4626VaultTest:test_deposit((address[4],uint256[4],uint256[4],int256),uint256,uint256) (runs: 256, μ: 469808, ~: 471113) +ERC4626VaultTest:test_maxDeposit((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 424192, ~: 426295) +ERC4626VaultTest:test_maxMint((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 424235, ~: 426337) +ERC4626VaultTest:test_maxRedeem((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 424332, ~: 426435) +ERC4626VaultTest:test_maxWithdraw((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 425785, ~: 427684) +ERC4626VaultTest:test_mint((address[4],uint256[4],uint256[4],int256),uint256,uint256) (runs: 256, μ: 469887, ~: 471133) +ERC4626VaultTest:test_previewDeposit((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 464665, ~: 465775) +ERC4626VaultTest:test_previewMint((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 464219, ~: 465956) +ERC4626VaultTest:test_previewRedeem((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 467339, ~: 467242) +ERC4626VaultTest:test_previewWithdraw((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 468402, ~: 468542) +ERC4626VaultTest:test_redeem((address[4],uint256[4],uint256[4],int256),uint256,uint256) (runs: 256, μ: 472992, ~: 473825) +ERC4626VaultTest:test_totalAssets((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 424781, ~: 426884) +ERC4626VaultTest:test_withdraw((address[4],uint256[4],uint256[4],int256),uint256,uint256) (runs: 256, μ: 474810, ~: 475020) ERC721Invariants:statefulFuzzOwner() (runs: 256, calls: 3840, reverts: 3483) ERC721Invariants:statefulFuzzTotalSupply() (runs: 256, calls: 3840, reverts: 3483) ERC721Test:testApproveClearingApprovalWithNoPriorApproval() (gas: 177097) @@ -473,7 +473,7 @@ ERC721Test:testBurnSuccess() (gas: 305869) ERC721Test:testBurnSuccessViaApproveAndSetApprovalForAll() (gas: 371362) ERC721Test:testCachedDomainSeparator() (gas: 10621) ERC721Test:testDomainSeparator() (gas: 11909) -ERC721Test:testEIP712Domain() (gas: 18311) +ERC721Test:testEIP712Domain() (gas: 18235) ERC721Test:testFuzzApproveClearingApprovalWithNoPriorApproval(address,address) (runs: 256, μ: 196767, ~: 196777) ERC721Test:testFuzzApproveClearingApprovalWithPriorApproval(address,address) (runs: 256, μ: 184411, ~: 184421) ERC721Test:testFuzzApproveFromNonOwner(address) (runs: 256, μ: 172049, ~: 172049) @@ -481,29 +481,29 @@ ERC721Test:testFuzzApproveFromOperatorAddress(address,address,address) (runs: 25 ERC721Test:testFuzzApproveWithNoPriorApproval(address,address) (runs: 256, μ: 196767, ~: 196777) ERC721Test:testFuzzApproveWithPriorApproval(address,address) (runs: 256, μ: 204296, ~: 204306) ERC721Test:testFuzzBurnSuccess(address) (runs: 256, μ: 305341, ~: 305335) -ERC721Test:testFuzzDomainSeparator(uint8) (runs: 256, μ: 12029, ~: 12056) -ERC721Test:testFuzzEIP712Domain(bytes1,uint8,bytes32,uint256[]) (runs: 256, μ: 21782, ~: 21820) +ERC721Test:testFuzzDomainSeparator(uint8) (runs: 256, μ: 12028, ~: 12056) +ERC721Test:testFuzzEIP712Domain(bytes1,uint8,bytes32,uint256[]) (runs: 256, μ: 21706, ~: 21744) ERC721Test:testFuzzGetApprovedApprovedTokenId(address,address) (runs: 256, μ: 194337, ~: 194347) ERC721Test:testFuzzPermitInvalid(string,string,uint16) (runs: 256, μ: 200560, ~: 200554) ERC721Test:testFuzzPermitSuccess(string,string,uint16) (runs: 256, μ: 227008, ~: 227009) ERC721Test:testFuzzRenounceOwnershipNonOwner(address) (runs: 256, μ: 13974, ~: 13974) ERC721Test:testFuzzRenounceOwnershipSuccess(address) (runs: 256, μ: 48629, ~: 48615) ERC721Test:testFuzzSafeMintNonMinter(address) (runs: 256, μ: 15677, ~: 15677) -ERC721Test:testFuzzSafeMintSuccess(address[]) (runs: 256, μ: 21747604, ~: 21481569) -ERC721Test:testFuzzSafeTransferFromWithData(address,address,address,bytes) (runs: 256, μ: 1433791, ~: 1433893) +ERC721Test:testFuzzSafeMintSuccess(address[]) (runs: 256, μ: 21429618, ~: 21659038) +ERC721Test:testFuzzSafeTransferFromWithData(address,address,address,bytes) (runs: 256, μ: 1433678, ~: 1433885) ERC721Test:testFuzzSetApprovalForAllSuccess(address,address) (runs: 256, μ: 189156, ~: 189156) ERC721Test:testFuzzSetMinterNonOwner(address,string) (runs: 256, μ: 15520, ~: 15521) ERC721Test:testFuzzSetMinterSuccess(string) (runs: 256, μ: 33624, ~: 33631) -ERC721Test:testFuzzTokenByIndex(address,string[]) (runs: 256, μ: 23189642, ~: 22918422) -ERC721Test:testFuzzTotalSupply(address,string[]) (runs: 256, μ: 22998113, ~: 22729467) -ERC721Test:testFuzzTransferFrom(address,address,address) (runs: 256, μ: 564783, ~: 564760) +ERC721Test:testFuzzTokenByIndex(address,string[]) (runs: 256, μ: 23225063, ~: 22918422) +ERC721Test:testFuzzTotalSupply(address,string[]) (runs: 256, μ: 23033252, ~: 22729467) +ERC721Test:testFuzzTransferFrom(address,address,address) (runs: 256, μ: 564784, ~: 564760) ERC721Test:testFuzzTransferOwnershipNonOwner(address,address) (runs: 256, μ: 14040, ~: 14040) -ERC721Test:testFuzzTransferOwnershipSuccess(address,address) (runs: 256, μ: 75708, ~: 75676) +ERC721Test:testFuzzTransferOwnershipSuccess(address,address) (runs: 256, μ: 75707, ~: 75676) ERC721Test:testGetApprovedApprovedTokenId() (gas: 193886) ERC721Test:testGetApprovedInvalidTokenId() (gas: 11076) ERC721Test:testGetApprovedNotApprovedTokenId() (gas: 170325) ERC721Test:testHasOwner() (gas: 12626) -ERC721Test:testInitialSetup() (gas: 2512760) +ERC721Test:testInitialSetup() (gas: 2506119) ERC721Test:testOwnerOf() (gas: 166033) ERC721Test:testOwnerOfInvalidTokenId() (gas: 11009) ERC721Test:testPermitBadChainId() (gas: 199351) @@ -551,7 +551,7 @@ ERC721Test:testTokenOfOwnerByIndexReverts() (gas: 545656) ERC721Test:testTokenURIAfterBurning() (gas: 138536) ERC721Test:testTokenURIDefault() (gas: 168178) ERC721Test:testTokenURIInvalidTokenId() (gas: 13114) -ERC721Test:testTokenURINoBaseURI() (gas: 2632225) +ERC721Test:testTokenURINoBaseURI() (gas: 2625585) ERC721Test:testTokenURINoTokenUri() (gas: 125681) ERC721Test:testTotalSupply() (gas: 328172) ERC721Test:testTransferFrom() (gas: 574008) @@ -680,13 +680,13 @@ SignatureCheckerTest:testFuzzEOAWithInvalidSignature(bytes,string) (runs: 256, SignatureCheckerTest:testFuzzEOAWithInvalidSigner(string,string) (runs: 256, μ: 20409, ~: 20410) SignatureCheckerTest:testFuzzEOAWithValidSignature(string,string) (runs: 256, μ: 20341, ~: 20342) SignatureCheckerTest:testInitialSetup() (gas: 8356) -TimelockControllerInvariants:statefulFuzzExecutedLessThanOrEqualToScheduled() (runs: 256, calls: 3840, reverts: 1259) -TimelockControllerInvariants:statefulFuzzExecutedProposalCancellation() (runs: 256, calls: 3840, reverts: 1259) -TimelockControllerInvariants:statefulFuzzExecutingCancelledProposal() (runs: 256, calls: 3840, reverts: 1251) -TimelockControllerInvariants:statefulFuzzExecutingNotReadyProposal() (runs: 256, calls: 3840, reverts: 1302) -TimelockControllerInvariants:statefulFuzzOnceProposalExecution() (runs: 256, calls: 3840, reverts: 1295) -TimelockControllerInvariants:statefulFuzzProposalsExecutedMatchCount() (runs: 256, calls: 3840, reverts: 1259) -TimelockControllerInvariants:statefulFuzzSumOfProposals() (runs: 256, calls: 3840, reverts: 1259) +TimelockControllerInvariants:statefulFuzzExecutedLessThanOrEqualToScheduled() (runs: 256, calls: 3840, reverts: 1310) +TimelockControllerInvariants:statefulFuzzExecutedProposalCancellation() (runs: 256, calls: 3840, reverts: 1258) +TimelockControllerInvariants:statefulFuzzExecutingCancelledProposal() (runs: 256, calls: 3840, reverts: 1187) +TimelockControllerInvariants:statefulFuzzExecutingNotReadyProposal() (runs: 256, calls: 3840, reverts: 1282) +TimelockControllerInvariants:statefulFuzzOnceProposalExecution() (runs: 256, calls: 3840, reverts: 1265) +TimelockControllerInvariants:statefulFuzzProposalsExecutedMatchCount() (runs: 256, calls: 3840, reverts: 1311) +TimelockControllerInvariants:statefulFuzzSumOfProposals() (runs: 256, calls: 3840, reverts: 1310) TimelockControllerTest:testAdminCannotBatchExecute() (gas: 750632) TimelockControllerTest:testAdminCannotBatchSchedule() (gas: 748419) TimelockControllerTest:testAdminCannotCancel() (gas: 13369) @@ -729,7 +729,7 @@ TimelockControllerTest:testFuzzHashOperation(address,uint256,bytes,bytes32,bytes TimelockControllerTest:testFuzzHashOperationBatch(address[],uint256[],bytes[],bytes32,bytes32) (runs: 256, μ: 1826836, ~: 1817245) TimelockControllerTest:testFuzzOperationValue(uint256) (runs: 256, μ: 111585, ~: 111394) TimelockControllerTest:testHandleERC1155() (gas: 41560127) -TimelockControllerTest:testHandleERC721() (gas: 7160478) +TimelockControllerTest:testHandleERC721() (gas: 7153837) TimelockControllerTest:testHashOperation() (gas: 12365) TimelockControllerTest:testHashOperationBatch() (gas: 1525338) TimelockControllerTest:testInitialSetup() (gas: 4325125) diff --git a/.gas-snapshot-venom b/.gas-snapshot-venom index 7e52eafd..cbf181ba 100644 --- a/.gas-snapshot-venom +++ b/.gas-snapshot-venom @@ -139,9 +139,9 @@ ECDSATest:testRecoverWithWrongMessage() (gas: 20672) ECDSATest:testRecoverWithWrongVersion() (gas: 14901) EIP712DomainSeparatorTest:testCachedDomainSeparatorV4() (gas: 10558) EIP712DomainSeparatorTest:testDomainSeparatorV4() (gas: 11706) -EIP712DomainSeparatorTest:testEIP712Domain() (gas: 17881) +EIP712DomainSeparatorTest:testEIP712Domain() (gas: 17824) EIP712DomainSeparatorTest:testFuzzDomainSeparatorV4(uint8) (runs: 256, μ: 11852, ~: 11881) -EIP712DomainSeparatorTest:testFuzzEIP712Domain(bytes1,uint8,bytes32,uint256[]) (runs: 256, μ: 21250, ~: 21313) +EIP712DomainSeparatorTest:testFuzzEIP712Domain(bytes1,uint8,bytes32,uint256[]) (runs: 256, μ: 21193, ~: 21244) EIP712DomainSeparatorTest:testFuzzHashTypedDataV4(address,address,uint256,uint256,uint64) (runs: 256, μ: 10566, ~: 10566) EIP712DomainSeparatorTest:testHashTypedDataV4() (gas: 13042) ERC1155Invariants:statefulFuzzOwner() (runs: 256, calls: 3840, reverts: 3480) @@ -272,8 +272,8 @@ ERC1155Test:testUriBaseAndTokenUriNotSet() (gas: 2858390) ERC1155Test:testUriBaseAndTokenUriSet() (gas: 64292) ERC1155Test:testUriNoBaseURI() (gas: 2907948) ERC1155Test:testUriNoTokenUri() (gas: 18861) -ERC20Invariants:statefulFuzzOwner() (runs: 256, calls: 3840, reverts: 3444) -ERC20Invariants:statefulFuzzTotalSupply() (runs: 256, calls: 3840, reverts: 3444) +ERC20Invariants:statefulFuzzOwner() (runs: 256, calls: 3840, reverts: 3443) +ERC20Invariants:statefulFuzzTotalSupply() (runs: 256, calls: 3840, reverts: 3443) ERC20Test:testApproveExceedingBalanceCase1() (gas: 40799) ERC20Test:testApproveExceedingBalanceCase2() (gas: 47783) ERC20Test:testApproveFromZeroAddress() (gas: 12918) @@ -294,30 +294,30 @@ ERC20Test:testBurnSuccessCase1() (gas: 25804) ERC20Test:testBurnSuccessCase2() (gas: 31369) ERC20Test:testCachedDomainSeparator() (gas: 10591) ERC20Test:testDomainSeparator() (gas: 11818) -ERC20Test:testEIP712Domain() (gas: 18043) +ERC20Test:testEIP712Domain() (gas: 17986) ERC20Test:testFuzzApproveSuccess(address,uint256) (runs: 256, μ: 41112, ~: 41190) -ERC20Test:testFuzzBurnFromInsufficientAllowance(address,uint256,uint8) (runs: 256, μ: 205963, ~: 205974) -ERC20Test:testFuzzBurnFromSuccess(address,uint256) (runs: 256, μ: 339745, ~: 339663) +ERC20Test:testFuzzBurnFromInsufficientAllowance(address,uint256,uint8) (runs: 256, μ: 205904, ~: 205974) +ERC20Test:testFuzzBurnFromSuccess(address,uint256) (runs: 256, μ: 339809, ~: 339663) ERC20Test:testFuzzBurnInvalidAmount(address,uint256) (runs: 256, μ: 16385, ~: 16385) -ERC20Test:testFuzzBurnSuccessCase(uint256) (runs: 256, μ: 314427, ~: 314213) -ERC20Test:testFuzzDomainSeparator(uint8) (runs: 256, μ: 12025, ~: 12054) -ERC20Test:testFuzzEIP712Domain(bytes1,uint8,bytes32,uint256[]) (runs: 256, μ: 21544, ~: 21596) +ERC20Test:testFuzzBurnSuccessCase(uint256) (runs: 256, μ: 314426, ~: 314213) +ERC20Test:testFuzzDomainSeparator(uint8) (runs: 256, μ: 12026, ~: 12054) +ERC20Test:testFuzzEIP712Domain(bytes1,uint8,bytes32,uint256[]) (runs: 256, μ: 21488, ~: 21539) ERC20Test:testFuzzMintNonMinter(string,uint256) (runs: 256, μ: 12886, ~: 12879) ERC20Test:testFuzzMintSuccess(string,uint256) (runs: 256, μ: 55299, ~: 55783) ERC20Test:testFuzzPermitInvalid(string,string,uint16) (runs: 256, μ: 44464, ~: 44458) ERC20Test:testFuzzPermitSuccess(string,string,uint16) (runs: 256, μ: 70452, ~: 70453) ERC20Test:testFuzzRenounceOwnershipNonOwner(address) (runs: 256, μ: 13902, ~: 13902) -ERC20Test:testFuzzRenounceOwnershipSuccess(address) (runs: 256, μ: 48658, ~: 48643) +ERC20Test:testFuzzRenounceOwnershipSuccess(address) (runs: 256, μ: 48657, ~: 48643) ERC20Test:testFuzzSetMinterNonOwner(address,string) (runs: 256, μ: 15466, ~: 15467) ERC20Test:testFuzzSetMinterSuccess(string) (runs: 256, μ: 33610, ~: 33617) -ERC20Test:testFuzzTransferFromInsufficientAllowance(address,address,uint256,uint8) (runs: 256, μ: 204602, ~: 204584) -ERC20Test:testFuzzTransferFromSuccess(address,address,uint256) (runs: 256, μ: 233454, ~: 234154) +ERC20Test:testFuzzTransferFromInsufficientAllowance(address,address,uint256,uint8) (runs: 256, μ: 204477, ~: 204584) +ERC20Test:testFuzzTransferFromSuccess(address,address,uint256) (runs: 256, μ: 233578, ~: 234154) ERC20Test:testFuzzTransferInvalidAmount(address,address,uint256) (runs: 256, μ: 16764, ~: 16764) ERC20Test:testFuzzTransferOwnershipNonOwner(address,address) (runs: 256, μ: 13995, ~: 13995) ERC20Test:testFuzzTransferOwnershipSuccess(address,address) (runs: 256, μ: 75665, ~: 75633) ERC20Test:testFuzzTransferSuccess(address,uint256) (runs: 256, μ: 205537, ~: 205593) ERC20Test:testHasOwner() (gas: 12673) -ERC20Test:testInitialSetup() (gas: 1602793) +ERC20Test:testInitialSetup() (gas: 1597570) ERC20Test:testMintNonMinter() (gas: 12425) ERC20Test:testMintOverflow() (gas: 16769) ERC20Test:testMintSuccess() (gas: 51783) @@ -394,25 +394,25 @@ ERC2981Test:testSupportsInterfaceSuccessGasCost() (gas: 9223) ERC2981Test:testTransferOwnershipNonOwner() (gas: 12318) ERC2981Test:testTransferOwnershipSuccess() (gas: 22147) ERC2981Test:testTransferOwnershipToZeroAddress() (gas: 15458) -ERC4626VaultInvariants:statefulFuzzTotalAssets() (runs: 256, calls: 3840, reverts: 3291) -ERC4626VaultInvariants:statefulFuzzTotalSupply() (runs: 256, calls: 3840, reverts: 3291) +ERC4626VaultInvariants:statefulFuzzTotalAssets() (runs: 256, calls: 3840, reverts: 3290) +ERC4626VaultInvariants:statefulFuzzTotalSupply() (runs: 256, calls: 3840, reverts: 3290) ERC4626VaultTest:testCachedDomainSeparator() (gas: 10575) ERC4626VaultTest:testDepositInsufficientAllowance() (gas: 82510) ERC4626VaultTest:testDepositWithNoApproval() (gas: 24341) ERC4626VaultTest:testDepositZero() (gas: 41135) ERC4626VaultTest:testDomainSeparator() (gas: 11912) -ERC4626VaultTest:testEIP712Domain() (gas: 18060) +ERC4626VaultTest:testEIP712Domain() (gas: 18003) ERC4626VaultTest:testEmptyVaultDeposit() (gas: 567436) ERC4626VaultTest:testEmptyVaultMint() (gas: 568025) ERC4626VaultTest:testEmptyVaultRedeem() (gas: 202741) ERC4626VaultTest:testEmptyVaultwithdraw() (gas: 215133) -ERC4626VaultTest:testFail_redeem((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 553484, ~: 555868) -ERC4626VaultTest:testFail_withdraw((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 555246, ~: 557957) +ERC4626VaultTest:testFail_redeem((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 553553, ~: 556289) +ERC4626VaultTest:testFail_withdraw((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 555263, ~: 557976) ERC4626VaultTest:testFuzzDomainSeparator(uint8) (runs: 256, μ: 11921, ~: 11950) -ERC4626VaultTest:testFuzzEIP712Domain(bytes1,uint8,bytes32,uint256[]) (runs: 256, μ: 21583, ~: 21634) +ERC4626VaultTest:testFuzzEIP712Domain(bytes1,uint8,bytes32,uint256[]) (runs: 256, μ: 21526, ~: 21577) ERC4626VaultTest:testFuzzPermitInvalid(string,string,uint16) (runs: 256, μ: 44436, ~: 44430) ERC4626VaultTest:testFuzzPermitSuccess(string,string,uint16) (runs: 256, μ: 70362, ~: 70363) -ERC4626VaultTest:testInitialSetup() (gas: 5997054) +ERC4626VaultTest:testInitialSetup() (gas: 5981326) ERC4626VaultTest:testMintWithNoApproval() (gas: 24349) ERC4626VaultTest:testMintZero() (gas: 41199) ERC4626VaultTest:testMultipleMintDepositRedeemWithdraw() (gas: 377095) @@ -430,30 +430,30 @@ ERC4626VaultTest:testVaultInteractionsForSomeoneElse() (gas: 224045) ERC4626VaultTest:testWithdrawInsufficientAllowance() (gas: 122320) ERC4626VaultTest:testWithdrawInsufficientAssets() (gas: 117753) ERC4626VaultTest:testWithdrawWithNoAssets() (gas: 21231) -ERC4626VaultTest:test_RT_deposit_redeem((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 471467, ~: 473204) -ERC4626VaultTest:test_RT_deposit_withdraw((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 473186, ~: 474373) -ERC4626VaultTest:test_RT_mint_redeem((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 470996, ~: 473264) -ERC4626VaultTest:test_RT_mint_withdraw((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 472816, ~: 474454) -ERC4626VaultTest:test_RT_redeem_deposit((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 472394, ~: 473449) -ERC4626VaultTest:test_RT_redeem_mint((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 472456, ~: 473527) -ERC4626VaultTest:test_RT_withdraw_deposit((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 473305, ~: 474637) -ERC4626VaultTest:test_RT_withdraw_mint((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 473534, ~: 474768) -ERC4626VaultTest:test_asset((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 423870, ~: 426314) -ERC4626VaultTest:test_convertToAssets((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 428977, ~: 430568) -ERC4626VaultTest:test_convertToShares((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 428978, ~: 430587) -ERC4626VaultTest:test_deposit((address[4],uint256[4],uint256[4],int256),uint256,uint256) (runs: 256, μ: 469669, ~: 471123) -ERC4626VaultTest:test_maxDeposit((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 423854, ~: 426298) -ERC4626VaultTest:test_maxMint((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 423897, ~: 426340) -ERC4626VaultTest:test_maxRedeem((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 423994, ~: 426438) -ERC4626VaultTest:test_maxWithdraw((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 425383, ~: 427672) -ERC4626VaultTest:test_mint((address[4],uint256[4],uint256[4],int256),uint256,uint256) (runs: 256, μ: 469705, ~: 471113) -ERC4626VaultTest:test_previewDeposit((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 463928, ~: 465798) -ERC4626VaultTest:test_previewMint((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 463582, ~: 465918) -ERC4626VaultTest:test_previewRedeem((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 466806, ~: 467623) -ERC4626VaultTest:test_previewWithdraw((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 467643, ~: 468580) -ERC4626VaultTest:test_redeem((address[4],uint256[4],uint256[4],int256),uint256,uint256) (runs: 256, μ: 472855, ~: 473850) -ERC4626VaultTest:test_totalAssets((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 424458, ~: 426901) -ERC4626VaultTest:test_withdraw((address[4],uint256[4],uint256[4],int256),uint256,uint256) (runs: 256, μ: 474556, ~: 474978) +ERC4626VaultTest:test_RT_deposit_redeem((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 471847, ~: 473204) +ERC4626VaultTest:test_RT_deposit_withdraw((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 473553, ~: 474371) +ERC4626VaultTest:test_RT_mint_redeem((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 471407, ~: 473266) +ERC4626VaultTest:test_RT_mint_withdraw((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 473217, ~: 474413) +ERC4626VaultTest:test_RT_redeem_deposit((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 472437, ~: 473363) +ERC4626VaultTest:test_RT_redeem_mint((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 472496, ~: 473417) +ERC4626VaultTest:test_RT_withdraw_deposit((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 473457, ~: 474600) +ERC4626VaultTest:test_RT_withdraw_mint((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 473551, ~: 474714) +ERC4626VaultTest:test_asset((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 424060, ~: 426314) +ERC4626VaultTest:test_convertToAssets((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 429028, ~: 430575) +ERC4626VaultTest:test_convertToShares((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 428957, ~: 430588) +ERC4626VaultTest:test_deposit((address[4],uint256[4],uint256[4],int256),uint256,uint256) (runs: 256, μ: 469680, ~: 471118) +ERC4626VaultTest:test_maxDeposit((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 424044, ~: 426298) +ERC4626VaultTest:test_maxMint((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 424086, ~: 426340) +ERC4626VaultTest:test_maxRedeem((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 424184, ~: 426438) +ERC4626VaultTest:test_maxWithdraw((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 425582, ~: 427675) +ERC4626VaultTest:test_mint((address[4],uint256[4],uint256[4],int256),uint256,uint256) (runs: 256, μ: 469691, ~: 471107) +ERC4626VaultTest:test_previewDeposit((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 464246, ~: 465798) +ERC4626VaultTest:test_previewMint((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 463993, ~: 465920) +ERC4626VaultTest:test_previewRedeem((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 467141, ~: 467493) +ERC4626VaultTest:test_previewWithdraw((address[4],uint256[4],uint256[4],int256),uint256) (runs: 256, μ: 468173, ~: 468532) +ERC4626VaultTest:test_redeem((address[4],uint256[4],uint256[4],int256),uint256,uint256) (runs: 256, μ: 472835, ~: 473845) +ERC4626VaultTest:test_totalAssets((address[4],uint256[4],uint256[4],int256)) (runs: 256, μ: 424647, ~: 426901) +ERC4626VaultTest:test_withdraw((address[4],uint256[4],uint256[4],int256),uint256,uint256) (runs: 256, μ: 474539, ~: 474973) ERC721Invariants:statefulFuzzOwner() (runs: 256, calls: 3840, reverts: 3483) ERC721Invariants:statefulFuzzTotalSupply() (runs: 256, calls: 3840, reverts: 3483) ERC721Test:testApproveClearingApprovalWithNoPriorApproval() (gas: 177124) @@ -474,37 +474,37 @@ ERC721Test:testBurnSuccess() (gas: 305748) ERC721Test:testBurnSuccessViaApproveAndSetApprovalForAll() (gas: 371105) ERC721Test:testCachedDomainSeparator() (gas: 10616) ERC721Test:testDomainSeparator() (gas: 11910) -ERC721Test:testEIP712Domain() (gas: 18156) -ERC721Test:testFuzzApproveClearingApprovalWithNoPriorApproval(address,address) (runs: 256, μ: 196794, ~: 196804) -ERC721Test:testFuzzApproveClearingApprovalWithPriorApproval(address,address) (runs: 256, μ: 184444, ~: 184454) +ERC721Test:testEIP712Domain() (gas: 18099) +ERC721Test:testFuzzApproveClearingApprovalWithNoPriorApproval(address,address) (runs: 256, μ: 196804, ~: 196804) +ERC721Test:testFuzzApproveClearingApprovalWithPriorApproval(address,address) (runs: 256, μ: 184454, ~: 184454) ERC721Test:testFuzzApproveFromNonOwner(address) (runs: 256, μ: 172035, ~: 172035) ERC721Test:testFuzzApproveFromOperatorAddress(address,address,address) (runs: 256, μ: 222915, ~: 222915) -ERC721Test:testFuzzApproveWithNoPriorApproval(address,address) (runs: 256, μ: 196794, ~: 196804) -ERC721Test:testFuzzApproveWithPriorApproval(address,address) (runs: 256, μ: 204329, ~: 204339) -ERC721Test:testFuzzBurnSuccess(address) (runs: 256, μ: 305227, ~: 305213) +ERC721Test:testFuzzApproveWithNoPriorApproval(address,address) (runs: 256, μ: 196804, ~: 196804) +ERC721Test:testFuzzApproveWithPriorApproval(address,address) (runs: 256, μ: 204339, ~: 204339) +ERC721Test:testFuzzBurnSuccess(address) (runs: 256, μ: 305220, ~: 305213) ERC721Test:testFuzzDomainSeparator(uint8) (runs: 256, μ: 12028, ~: 12057) -ERC721Test:testFuzzEIP712Domain(bytes1,uint8,bytes32,uint256[]) (runs: 256, μ: 21633, ~: 21685) -ERC721Test:testFuzzGetApprovedApprovedTokenId(address,address) (runs: 256, μ: 194364, ~: 194374) +ERC721Test:testFuzzEIP712Domain(bytes1,uint8,bytes32,uint256[]) (runs: 256, μ: 21578, ~: 21628) +ERC721Test:testFuzzGetApprovedApprovedTokenId(address,address) (runs: 256, μ: 194374, ~: 194374) ERC721Test:testFuzzPermitInvalid(string,string,uint16) (runs: 256, μ: 200504, ~: 200498) ERC721Test:testFuzzPermitSuccess(string,string,uint16) (runs: 256, μ: 227012, ~: 227013) ERC721Test:testFuzzRenounceOwnershipNonOwner(address) (runs: 256, μ: 13949, ~: 13949) ERC721Test:testFuzzRenounceOwnershipSuccess(address) (runs: 256, μ: 48654, ~: 48640) ERC721Test:testFuzzSafeMintNonMinter(address) (runs: 256, μ: 15668, ~: 15668) -ERC721Test:testFuzzSafeMintSuccess(address[]) (runs: 256, μ: 21488891, ~: 21221680) -ERC721Test:testFuzzSafeTransferFromWithData(address,address,address,bytes) (runs: 256, μ: 1433571, ~: 1433779) +ERC721Test:testFuzzSafeMintSuccess(address[]) (runs: 256, μ: 20930647, ~: 20096452) +ERC721Test:testFuzzSafeTransferFromWithData(address,address,address,bytes) (runs: 256, μ: 1433660, ~: 1433786) ERC721Test:testFuzzSetApprovalForAllSuccess(address,address) (runs: 256, μ: 189114, ~: 189114) ERC721Test:testFuzzSetMinterNonOwner(address,string) (runs: 256, μ: 15466, ~: 15467) ERC721Test:testFuzzSetMinterSuccess(string) (runs: 256, μ: 33657, ~: 33664) -ERC721Test:testFuzzTokenByIndex(address,string[]) (runs: 256, μ: 23101857, ~: 22584741) -ERC721Test:testFuzzTotalSupply(address,string[]) (runs: 256, μ: 22904149, ~: 22391085) -ERC721Test:testFuzzTransferFrom(address,address,address) (runs: 256, μ: 564875, ~: 564852) +ERC721Test:testFuzzTokenByIndex(address,string[]) (runs: 256, μ: 23224747, ~: 23502884) +ERC721Test:testFuzzTotalSupply(address,string[]) (runs: 256, μ: 23025987, ~: 23301008) +ERC721Test:testFuzzTransferFrom(address,address,address) (runs: 256, μ: 564876, ~: 564852) ERC721Test:testFuzzTransferOwnershipNonOwner(address,address) (runs: 256, μ: 13995, ~: 13995) -ERC721Test:testFuzzTransferOwnershipSuccess(address,address) (runs: 256, μ: 75748, ~: 75716) +ERC721Test:testFuzzTransferOwnershipSuccess(address,address) (runs: 256, μ: 75747, ~: 75716) ERC721Test:testGetApprovedApprovedTokenId() (gas: 193913) ERC721Test:testGetApprovedInvalidTokenId() (gas: 11052) ERC721Test:testGetApprovedNotApprovedTokenId() (gas: 170360) ERC721Test:testHasOwner() (gas: 12644) -ERC721Test:testInitialSetup() (gas: 2581673) +ERC721Test:testInitialSetup() (gas: 2576439) ERC721Test:testOwnerOf() (gas: 166051) ERC721Test:testOwnerOfInvalidTokenId() (gas: 10968) ERC721Test:testPermitBadChainId() (gas: 199300) @@ -552,7 +552,7 @@ ERC721Test:testTokenOfOwnerByIndexReverts() (gas: 545708) ERC721Test:testTokenURIAfterBurning() (gas: 138452) ERC721Test:testTokenURIDefault() (gas: 168223) ERC721Test:testTokenURIInvalidTokenId() (gas: 13085) -ERC721Test:testTokenURINoBaseURI() (gas: 2701197) +ERC721Test:testTokenURINoBaseURI() (gas: 2695964) ERC721Test:testTokenURINoTokenUri() (gas: 125818) ERC721Test:testTotalSupply() (gas: 328235) ERC721Test:testTransferFrom() (gas: 574101) @@ -681,11 +681,11 @@ SignatureCheckerTest:testFuzzEOAWithInvalidSignature(bytes,string) (runs: 256, SignatureCheckerTest:testFuzzEOAWithInvalidSigner(string,string) (runs: 256, μ: 20329, ~: 20330) SignatureCheckerTest:testFuzzEOAWithValidSignature(string,string) (runs: 256, μ: 20261, ~: 20262) SignatureCheckerTest:testInitialSetup() (gas: 8374) -TimelockControllerInvariants:statefulFuzzExecutedLessThanOrEqualToScheduled() (runs: 256, calls: 3840, reverts: 1216) -TimelockControllerInvariants:statefulFuzzExecutedProposalCancellation() (runs: 256, calls: 3840, reverts: 1187) +TimelockControllerInvariants:statefulFuzzExecutedLessThanOrEqualToScheduled() (runs: 256, calls: 3840, reverts: 1217) +TimelockControllerInvariants:statefulFuzzExecutedProposalCancellation() (runs: 256, calls: 3840, reverts: 1186) TimelockControllerInvariants:statefulFuzzExecutingCancelledProposal() (runs: 256, calls: 3840, reverts: 1268) -TimelockControllerInvariants:statefulFuzzExecutingNotReadyProposal() (runs: 256, calls: 3840, reverts: 1270) -TimelockControllerInvariants:statefulFuzzOnceProposalExecution() (runs: 256, calls: 3840, reverts: 1187) +TimelockControllerInvariants:statefulFuzzExecutingNotReadyProposal() (runs: 256, calls: 3840, reverts: 1271) +TimelockControllerInvariants:statefulFuzzOnceProposalExecution() (runs: 256, calls: 3840, reverts: 1186) TimelockControllerInvariants:statefulFuzzProposalsExecutedMatchCount() (runs: 256, calls: 3840, reverts: 1217) TimelockControllerInvariants:statefulFuzzSumOfProposals() (runs: 256, calls: 3840, reverts: 1217) TimelockControllerTest:testAdminCannotBatchExecute() (gas: 750637) @@ -730,7 +730,7 @@ TimelockControllerTest:testFuzzHashOperation(address,uint256,bytes,bytes32,bytes TimelockControllerTest:testFuzzHashOperationBatch(address[],uint256[],bytes[],bytes32,bytes32) (runs: 256, μ: 1832028, ~: 1821344) TimelockControllerTest:testFuzzOperationValue(uint256) (runs: 256, μ: 111340, ~: 111152) TimelockControllerTest:testHandleERC1155() (gas: 41573015) -TimelockControllerTest:testHandleERC721() (gas: 7231441) +TimelockControllerTest:testHandleERC721() (gas: 7226207) TimelockControllerTest:testHashOperation() (gas: 12322) TimelockControllerTest:testHashOperationBatch() (gas: 1525457) TimelockControllerTest:testInitialSetup() (gas: 4392804) diff --git a/lib/create-util b/lib/create-util index b061af0e..6ebb3152 160000 --- a/lib/create-util +++ b/lib/create-util @@ -1 +1 @@ -Subproject commit b061af0e4818dce8575f14aca6c8925e73061af3 +Subproject commit 6ebb31528ce427c710517a9a4a2d3a4ac32da2a8 diff --git a/lib/forge-std b/lib/forge-std index 1de6eecf..4f57c59f 160000 --- a/lib/forge-std +++ b/lib/forge-std @@ -1 +1 @@ -Subproject commit 1de6eecf821de7fe2c908cc48d3ab3dced20717f +Subproject commit 4f57c59f066a03d13de8c65bb34fca8247f5fcb2 diff --git a/lib/openzeppelin-contracts b/lib/openzeppelin-contracts index 0034c302..72c152dc 160000 --- a/lib/openzeppelin-contracts +++ b/lib/openzeppelin-contracts @@ -1 +1 @@ -Subproject commit 0034c302241c4b1a1685272d4df42ca5d64b8c34 +Subproject commit 72c152dc1c41f23d7c504e175f5b417fccc89426 diff --git a/lib/solady b/lib/solady index 7deab021..ee879db3 160000 --- a/lib/solady +++ b/lib/solady @@ -1 +1 @@ -Subproject commit 7deab021af0426307ae79d091c4d1e26e9e89cf0 +Subproject commit ee879db367f9a2416da9934baf115c1b611dec87