diff --git a/.gas-snapshot b/.gas-snapshot index 3cc1f2b..2cf77c0 100644 --- a/.gas-snapshot +++ b/.gas-snapshot @@ -199,13 +199,13 @@ DN69OnlyERC20Test:test__codesize() (gas: 27994) DN69Test:testERC1155Methods(uint256) (runs: 256, μ: 4388365, ~: 4634593) DN69Test:testERC1155MethodsSelfTransfers(uint256) (runs: 256, μ: 2422105, ~: 2084157) DN69Test:testFindOwnedIds() (gas: 2670950) -DN69Test:testMintToNonERC155RecipientReverts(uint256) (runs: 256, μ: 850934, ~: 803572) -DN69Test:testMintToRevertingERC155RecipientReverts(uint256) (runs: 256, μ: 1378783, ~: 985963) +DN69Test:testMintToNonERC155RecipientReverts(uint256) (runs: 256, μ: 846323, ~: 803074) +DN69Test:testMintToRevertingERC155RecipientReverts(uint256) (runs: 256, μ: 1335022, ~: 985963) DN69Test:testMintToZeroReverts(uint256) (runs: 256, μ: 729341, ~: 670037) DN69Test:testMixed(uint256) (runs: 256, μ: 10296828, ~: 6470473) -DN69Test:testSafeBatchTransferFromToERC1155Recipient(uint256) (runs: 256, μ: 2258849, ~: 2193940) -DN69Test:testSafeTransferFromToERC1155Recipient(uint256) (runs: 256, μ: 1748629, ~: 1482110) -DN69Test:testTransferFromToERC1155Recipient(uint256) (runs: 256, μ: 2892990, ~: 2878593) +DN69Test:testSafeBatchTransferFromToERC1155Recipient(uint256) (runs: 256, μ: 2228084, ~: 2193940) +DN69Test:testSafeTransferFromToERC1155Recipient(uint256) (runs: 256, μ: 1711733, ~: 1481796) +DN69Test:testTransferFromToERC1155Recipient(uint256) (runs: 256, μ: 2891052, ~: 2878551) DN69Test:testTransferMixedReverts(uint256) (runs: 256, μ: 4732973, ~: 3894173) DN69Test:test__codesize() (gas: 66685) MappingsTest:testAddressPairMapSetAndGet(address[2],address[2],uint256,uint256) (runs: 256, μ: 45753, ~: 47075) diff --git a/test/DN69.t.sol b/test/DN69.t.sol index 51be728..02bcb3b 100644 --- a/test/DN69.t.sol +++ b/test/DN69.t.sol @@ -633,9 +633,7 @@ contract DN69Test is SoladyTest { } if (_random() % 8 == 0) { - t.nftBalanceSum; unchecked { - t.balanceSum; for (uint256 i; i != 3; ++i) { address a = addresses[i]; t.balance = dn.balanceOf(a);