Skip to content

Commit

Permalink
👷‍♂️ Update solc
Browse files Browse the repository at this point in the history
  • Loading branch information
transmissions11 committed Jul 21, 2022
1 parent 2979a7a commit d155ee8
Show file tree
Hide file tree
Showing 20 changed files with 48 additions and 48 deletions.
58 changes: 29 additions & 29 deletions .gas-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ AuthTest:testSetOwnerAsOwner() (gas: 15298)
AuthTest:testSetOwnerWithPermissiveAuthority() (gas: 127884)
Bytes32AddressLibTest:testFillLast12Bytes() (gas: 223)
Bytes32AddressLibTest:testFromLast20Bytes() (gas: 191)
CREATE3Test:testDeployERC20() (gas: 852410)
CREATE3Test:testFailDoubleDeployDifferentBytecode() (gas: 9079256848778914164)
CREATE3Test:testDeployERC20() (gas: 853111)
CREATE3Test:testFailDoubleDeployDifferentBytecode() (gas: 9079256848778914174)
CREATE3Test:testFailDoubleDeploySameBytecode() (gas: 9079256848778906218)
DSTestPlusTest:testBound() (gas: 14208)
DSTestPlusTest:testBound() (gas: 14214)
DSTestPlusTest:testBrutalizeMemory() (gas: 823)
DSTestPlusTest:testFailBoundMinBiggerThanMax() (gas: 309)
DSTestPlusTest:testRelApproxEqBothZeroesPasses() (gas: 413)
DSTestPlusTest:testRelApproxEqBothZeroesPasses() (gas: 425)
ERC1155Test:testApproveAll() (gas: 31009)
ERC1155Test:testBatchBalanceOf() (gas: 157631)
ERC1155Test:testBatchBurn() (gas: 151074)
ERC1155Test:testBatchMintToEOA() (gas: 137337)
ERC1155Test:testBatchMintToERC1155Recipient() (gas: 942650)
ERC1155Test:testBatchMintToERC1155Recipient() (gas: 995703)
ERC1155Test:testBurn() (gas: 38598)
ERC1155Test:testFailBalanceOfBatchWithArrayMismatch() (gas: 7933)
ERC1155Test:testFailBatchBurnInsufficientBalance() (gas: 136156)
Expand Down Expand Up @@ -54,12 +54,12 @@ ERC1155Test:testFailSafeTransferFromToRevertingERC1155Recipient() (gas: 287731)
ERC1155Test:testFailSafeTransferFromToWrongReturnDataERC1155Recipient() (gas: 239587)
ERC1155Test:testFailSafeTransferFromToZero() (gas: 62014)
ERC1155Test:testMintToEOA() (gas: 34765)
ERC1155Test:testMintToERC1155Recipient() (gas: 608328)
ERC1155Test:testMintToERC1155Recipient() (gas: 661411)
ERC1155Test:testSafeBatchTransferFromToEOA() (gas: 297822)
ERC1155Test:testSafeBatchTransferFromToERC1155Recipient() (gas: 1122274)
ERC1155Test:testSafeBatchTransferFromToERC1155Recipient() (gas: 1175327)
ERC1155Test:testSafeTransferFromSelf() (gas: 64177)
ERC1155Test:testSafeTransferFromToEOA() (gas: 93167)
ERC1155Test:testSafeTransferFromToERC1155Recipient() (gas: 686500)
ERC1155Test:testSafeTransferFromToERC1155Recipient() (gas: 739583)
ERC20Test:testApprove() (gas: 31058)
ERC20Test:testBurn() (gas: 56970)
ERC20Test:testFailPermitBadDeadline() (gas: 36924)
Expand All @@ -74,19 +74,19 @@ ERC20Test:testMint() (gas: 53746)
ERC20Test:testPermit() (gas: 63193)
ERC20Test:testTransfer() (gas: 60272)
ERC20Test:testTransferFrom() (gas: 83777)
ERC4626Test:testFailDepositWithNoApproval() (gas: 13351)
ERC4626Test:testFailDepositWithNotEnoughApproval() (gas: 86987)
ERC4626Test:testFailDepositZero() (gas: 7774)
ERC4626Test:testFailDepositWithNoApproval() (gas: 13357)
ERC4626Test:testFailDepositWithNotEnoughApproval() (gas: 86993)
ERC4626Test:testFailDepositZero() (gas: 7780)
ERC4626Test:testFailMintWithNoApproval() (gas: 13296)
ERC4626Test:testFailRedeemWithNoShareAmount() (gas: 32339)
ERC4626Test:testFailRedeemWithNotEnoughShareAmount() (gas: 203632)
ERC4626Test:testFailRedeemZero() (gas: 7961)
ERC4626Test:testFailWithdrawWithNoUnderlyingAmount() (gas: 32292)
ERC4626Test:testFailRedeemWithNoShareAmount() (gas: 32342)
ERC4626Test:testFailRedeemWithNotEnoughShareAmount() (gas: 203638)
ERC4626Test:testFailRedeemZero() (gas: 7967)
ERC4626Test:testFailWithdrawWithNoUnderlyingAmount() (gas: 32289)
ERC4626Test:testFailWithdrawWithNotEnoughUnderlyingAmount() (gas: 203615)
ERC4626Test:testMintZero() (gas: 54598)
ERC4626Test:testMintZero() (gas: 54595)
ERC4626Test:testMultipleMintDepositRedeemWithdraw() (gas: 411940)
ERC4626Test:testVaultInteractionsForSomeoneElse() (gas: 286247)
ERC4626Test:testWithdrawZero() (gas: 52465)
ERC4626Test:testWithdrawZero() (gas: 52462)
ERC721Test:testApprove() (gas: 78427)
ERC721Test:testApproveAll() (gas: 31063)
ERC721Test:testApproveBurn() (gas: 65550)
Expand Down Expand Up @@ -117,11 +117,11 @@ ERC721Test:testFailTransferFromUnOwned() (gas: 8000)
ERC721Test:testFailTransferFromWrongFrom() (gas: 53361)
ERC721Test:testMint() (gas: 54336)
ERC721Test:testSafeMintToEOA() (gas: 56993)
ERC721Test:testSafeMintToERC721Recipient() (gas: 381737)
ERC721Test:testSafeMintToERC721RecipientWithData() (gas: 402881)
ERC721Test:testSafeMintToERC721Recipient() (gas: 427035)
ERC721Test:testSafeMintToERC721RecipientWithData() (gas: 448149)
ERC721Test:testSafeTransferFromToEOA() (gas: 95666)
ERC721Test:testSafeTransferFromToERC721Recipient() (gas: 440251)
ERC721Test:testSafeTransferFromToERC721RecipientWithData() (gas: 461049)
ERC721Test:testSafeTransferFromToERC721Recipient() (gas: 485549)
ERC721Test:testSafeTransferFromToERC721RecipientWithData() (gas: 506317)
ERC721Test:testTransferFrom() (gas: 86347)
ERC721Test:testTransferFromApproveAll() (gas: 92898)
ERC721Test:testTransferFromSelf() (gas: 64776)
Expand Down Expand Up @@ -155,9 +155,9 @@ MultiRolesAuthorityTest:testSetTargetCustomAuthority() (gas: 27976)
OwnedTest:testCallFunctionAsNonOwner() (gas: 11311)
OwnedTest:testCallFunctionAsOwner() (gas: 10479)
OwnedTest:testSetOwner() (gas: 13035)
ReentrancyGuardTest:testFailUnprotectedCall() (gas: 46167)
ReentrancyGuardTest:testFailUnprotectedCall() (gas: 46147)
ReentrancyGuardTest:testNoReentrancy() (gas: 7515)
ReentrancyGuardTest:testProtectedCall() (gas: 33470)
ReentrancyGuardTest:testProtectedCall() (gas: 33467)
RolesAuthorityTest:testCanCallPublicCapability() (gas: 33336)
RolesAuthorityTest:testCanCallWithAuthorizedRole() (gas: 79601)
RolesAuthorityTest:testSetPublicCapabilities() (gas: 29183)
Expand Down Expand Up @@ -208,14 +208,14 @@ SafeTransferLibTest:testFailTransferWithReturnsFalse() (gas: 8532)
SafeTransferLibTest:testFailTransferWithReturnsTooLittle() (gas: 8538)
SafeTransferLibTest:testFailTransferWithReverting() (gas: 8494)
SafeTransferLibTest:testTransferETH() (gas: 34592)
SafeTransferLibTest:testTransferFromWithMissingReturn() (gas: 49188)
SafeTransferLibTest:testTransferFromWithMissingReturn() (gas: 49186)
SafeTransferLibTest:testTransferFromWithNonContract() (gas: 3035)
SafeTransferLibTest:testTransferFromWithReturnsTooMuch() (gas: 49812)
SafeTransferLibTest:testTransferFromWithStandardERC20() (gas: 47605)
SafeTransferLibTest:testTransferWithMissingReturn() (gas: 36669)
SafeTransferLibTest:testTransferFromWithReturnsTooMuch() (gas: 49810)
SafeTransferLibTest:testTransferFromWithStandardERC20() (gas: 47603)
SafeTransferLibTest:testTransferWithMissingReturn() (gas: 36666)
SafeTransferLibTest:testTransferWithNonContract() (gas: 3012)
SafeTransferLibTest:testTransferWithReturnsTooMuch() (gas: 37115)
SafeTransferLibTest:testTransferWithStandardERC20() (gas: 36699)
SafeTransferLibTest:testTransferWithReturnsTooMuch() (gas: 37112)
SafeTransferLibTest:testTransferWithStandardERC20() (gas: 36696)
WETHTest:testDeposit() (gas: 63535)
WETHTest:testFallbackDeposit() (gas: 63249)
WETHTest:testPartialWithdraw() (gas: 73281)
Expand Down
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"solidity.packageDefaultDependenciesContractsDirectory": "src",
"solidity.packageDefaultDependenciesDirectory": "lib",
"solidity.compileUsingRemoteVersion": "v0.8.10",
"solidity.compileUsingRemoteVersion": "v0.8.15",
"search.exclude": { "lib": true },
"files.associations": {
".gas-snapshot": "julia"
Expand Down
2 changes: 1 addition & 1 deletion foundry.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[profile.default]
solc = "0.8.10"
solc = "0.8.15"
bytecode_hash = "none"
optimizer_runs = 1000000

Expand Down
2 changes: 1 addition & 1 deletion src/test/Auth.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.10;
pragma solidity 0.8.15;

import {DSTestPlus} from "./utils/DSTestPlus.sol";
import {MockAuthChild} from "./utils/mocks/MockAuthChild.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/test/Bytes32AddressLib.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.10;
pragma solidity 0.8.15;

import {DSTestPlus} from "./utils/DSTestPlus.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/test/CREATE3.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.10;
pragma solidity 0.8.15;

import {WETH} from "../tokens/WETH.sol";
import {DSTestPlus} from "./utils/DSTestPlus.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/test/DSTestPlus.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.10;
pragma solidity 0.8.15;

import {DSTestPlus} from "./utils/DSTestPlus.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/test/ERC1155.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.10;
pragma solidity 0.8.15;

import {DSTestPlus} from "./utils/DSTestPlus.sol";
import {DSInvariantTest} from "./utils/DSInvariantTest.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/test/ERC20.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.10;
pragma solidity 0.8.15;

import {DSTestPlus} from "./utils/DSTestPlus.sol";
import {DSInvariantTest} from "./utils/DSInvariantTest.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/test/ERC4626.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.10;
pragma solidity 0.8.15;

import {DSTestPlus} from "./utils/DSTestPlus.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/test/ERC721.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.10;
pragma solidity 0.8.15;

import {DSTestPlus} from "./utils/DSTestPlus.sol";
import {DSInvariantTest} from "./utils/DSInvariantTest.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/test/FixedPointMathLib.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.10;
pragma solidity 0.8.15;

import {DSTestPlus} from "./utils/DSTestPlus.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/test/MultiRolesAuthority.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.10;
pragma solidity 0.8.15;

import {DSTestPlus} from "./utils/DSTestPlus.sol";
import {MockAuthority} from "./utils/mocks/MockAuthority.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/test/Owned.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.10;
pragma solidity 0.8.15;

import {DSTestPlus} from "./utils/DSTestPlus.sol";
import {MockOwned} from "./utils/mocks/MockOwned.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/test/ReentrancyGuard.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.10;
pragma solidity 0.8.15;

import {DSTestPlus} from "./utils/DSTestPlus.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/test/RolesAuthority.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.10;
pragma solidity 0.8.15;

import {DSTestPlus} from "./utils/DSTestPlus.sol";
import {MockAuthority} from "./utils/mocks/MockAuthority.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/test/SSTORE2.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.10;
pragma solidity 0.8.15;

import {DSTestPlus} from "./utils/DSTestPlus.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/test/SafeCastLib.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.10;
pragma solidity 0.8.15;

import {DSTestPlus} from "./utils/DSTestPlus.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/test/SafeTransferLib.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.10;
pragma solidity 0.8.15;

import {MockERC20} from "./utils/mocks/MockERC20.sol";
import {RevertingToken} from "./utils/weird-tokens/RevertingToken.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/test/WETH.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity 0.8.10;
pragma solidity 0.8.15;

import {DSTestPlus} from "./utils/DSTestPlus.sol";
import {DSInvariantTest} from "./utils/DSInvariantTest.sol";
Expand Down

0 comments on commit d155ee8

Please sign in to comment.