Skip to content

Commit

Permalink
pin Solidity pragma to 0.8.26
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-carroll committed Aug 5, 2024
1 parent f24e167 commit d1a29b1
Show file tree
Hide file tree
Showing 21 changed files with 62 additions and 62 deletions.
84 changes: 42 additions & 42 deletions .gas-snapshot
Original file line number Diff line number Diff line change
@@ -1,54 +1,54 @@
GnosisSafeTest:test_gnosis_receive() (gas: 15927)
OrderOriginPermit2Test:test_fillPermit2() (gas: 225741)
OrderOriginPermit2Test:test_fillPermit2_multi() (gas: 1019564)
OrderOriginPermit2Test:test_initiatePermit2() (gas: 236222)
OrderOriginPermit2Test:test_initiatePermit2_multi() (gas: 992548)
OrdersTest:test_fill_ERC20() (gas: 72081)
OrdersTest:test_fill_ETH() (gas: 69103)
OrdersTest:test_fill_both() (gas: 168430)
OrdersTest:test_fill_multiETH() (gas: 132837)
OrdersTest:test_fill_underflowETH() (gas: 115826)
OrdersTest:test_initiate_ERC20() (gas: 83154)
OrdersTest:test_initiate_ETH() (gas: 45616)
OrdersTest:test_initiate_both() (gas: 120429)
OrdersTest:test_initiate_multiERC20() (gas: 725208)
OrdersTest:test_initiate_multiETH() (gas: 76004)
OrdersTest:test_orderExpired() (gas: 28394)
OrdersTest:test_sweepERC20() (gas: 61179)
OrdersTest:test_sweepETH() (gas: 83384)
OrdersTest:test_underflowETH() (gas: 63978)
PassagePermit2Test:test_disallowedEnterPermit2() (gas: 699905)
PassagePermit2Test:test_enterTokenPermit2() (gas: 145901)
PassageTest:test_configureEnter() (gas: 130009)
PassageTest:test_disallowedEnter() (gas: 57980)
OrderOriginPermit2Test:test_fillPermit2() (gas: 223464)
OrderOriginPermit2Test:test_fillPermit2_multi() (gas: 1010764)
OrderOriginPermit2Test:test_initiatePermit2() (gas: 233946)
OrderOriginPermit2Test:test_initiatePermit2_multi() (gas: 984506)
OrdersTest:test_fill_ERC20() (gas: 71459)
OrdersTest:test_fill_ETH() (gas: 69090)
OrdersTest:test_fill_both() (gas: 167814)
OrdersTest:test_fill_multiETH() (gas: 132830)
OrdersTest:test_fill_underflowETH() (gas: 115817)
OrdersTest:test_initiate_ERC20() (gas: 82526)
OrdersTest:test_initiate_ETH() (gas: 45597)
OrdersTest:test_initiate_both() (gas: 119816)
OrdersTest:test_initiate_multiERC20() (gas: 719353)
OrdersTest:test_initiate_multiETH() (gas: 76000)
OrdersTest:test_orderExpired() (gas: 28383)
OrdersTest:test_sweepERC20() (gas: 60698)
OrdersTest:test_sweepETH() (gas: 83379)
OrdersTest:test_underflowETH() (gas: 63976)
PassagePermit2Test:test_disallowedEnterPermit2() (gas: 691528)
PassagePermit2Test:test_enterTokenPermit2() (gas: 144090)
PassageTest:test_configureEnter() (gas: 128735)
PassageTest:test_disallowedEnter() (gas: 57503)
PassageTest:test_enter() (gas: 25519)
PassageTest:test_enterToken() (gas: 65935)
PassageTest:test_enterToken_defaultChain() (gas: 64517)
PassageTest:test_enterToken() (gas: 65326)
PassageTest:test_enterToken_defaultChain() (gas: 63912)
PassageTest:test_enter_defaultChain() (gas: 24055)
PassageTest:test_fallback() (gas: 22170)
PassageTest:test_onlyTokenAdmin() (gas: 17169)
PassageTest:test_fallback() (gas: 22093)
PassageTest:test_onlyTokenAdmin() (gas: 17173)
PassageTest:test_receive() (gas: 21487)
PassageTest:test_setUp() (gas: 17000)
PassageTest:test_withdraw() (gas: 60649)
RollupPassagePermit2Test:test_exitTokenPermit2() (gas: 129854)
PassageTest:test_withdraw() (gas: 60168)
RollupPassagePermit2Test:test_exitTokenPermit2() (gas: 127878)
RollupPassageTest:test_exit() (gas: 22403)
RollupPassageTest:test_exitToken() (gas: 51444)
RollupPassageTest:test_fallback() (gas: 20586)
RollupPassageTest:test_exitToken() (gas: 50824)
RollupPassageTest:test_fallback() (gas: 20509)
RollupPassageTest:test_receive() (gas: 19948)
TransactTest:test_configureGas() (gas: 22828)
TransactTest:test_enterTransact() (gas: 103973)
TransactTest:test_enterTransact() (gas: 103979)
TransactTest:test_onlyGasAdmin() (gas: 8810)
TransactTest:test_setUp() (gas: 17494)
TransactTest:test_transact() (gas: 101443)
TransactTest:test_transact_defaultChain() (gas: 100556)
TransactTest:test_transact_globalGasLimit() (gas: 105063)
TransactTest:test_transact_perTransactGasLimit() (gas: 32774)
ZenithTest:test_addSequencer() (gas: 88121)
ZenithTest:test_badSignature() (gas: 37241)
ZenithTest:test_incorrectHostBlock() (gas: 35086)
ZenithTest:test_notSequencer() (gas: 34076)
TransactTest:test_transact() (gas: 101449)
TransactTest:test_transact_defaultChain() (gas: 100562)
TransactTest:test_transact_globalGasLimit() (gas: 104972)
TransactTest:test_transact_perTransactGasLimit() (gas: 32776)
ZenithTest:test_addSequencer() (gas: 88101)
ZenithTest:test_badSignature() (gas: 37061)
ZenithTest:test_incorrectHostBlock() (gas: 35075)
ZenithTest:test_notSequencer() (gas: 33887)
ZenithTest:test_notSequencerAdmin() (gas: 10125)
ZenithTest:test_onePerBlock() (gas: 68193)
ZenithTest:test_removeSequencer() (gas: 39665)
ZenithTest:test_onePerBlock() (gas: 68153)
ZenithTest:test_removeSequencer() (gas: 39476)
ZenithTest:test_setUp() (gas: 8366)
ZenithTest:test_submitBlock() (gas: 63333)
ZenithTest:test_submitBlock() (gas: 63313)
2 changes: 1 addition & 1 deletion script/Zenith.s.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.24;
pragma solidity 0.8.26;

// deploy contracts
import {Zenith} from "../src/Zenith.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/Transact.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.24;
pragma solidity 0.8.26;

import {Passage} from "./passage/Passage.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/UsesPermit2.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.24;
pragma solidity 0.8.26;

import {IOrders} from "./orders/IOrders.sol";
import {ISignatureTransfer} from "permit2/src/interfaces/ISignatureTransfer.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/Zenith.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.24;
pragma solidity 0.8.26;

contract Zenith {
/// @notice The address that is allowed to set/remove sequencers.
Expand Down
2 changes: 1 addition & 1 deletion src/orders/IOrders.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.24;
pragma solidity 0.8.26;

interface IOrders {
/// @notice Tokens sent by the swapper as inputs to the order
Expand Down
2 changes: 1 addition & 1 deletion src/orders/OrderDestination.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.24;
pragma solidity 0.8.26;

import {OrdersPermit2} from "./OrdersPermit2.sol";
import {IOrders} from "./IOrders.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/orders/OrderOrigin.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.24;
pragma solidity 0.8.26;

import {OrdersPermit2} from "./OrdersPermit2.sol";
import {IOrders} from "./IOrders.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/orders/Orders.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.24;
pragma solidity 0.8.26;

import {OrderDestination} from "./OrderDestination.sol";
import {OrderOrigin} from "./OrderOrigin.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/orders/OrdersPermit2.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.24;
pragma solidity 0.8.26;

import {IOrders} from "./IOrders.sol";
import {UsesPermit2} from "../UsesPermit2.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/passage/Passage.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.24;
pragma solidity 0.8.26;

import {PassagePermit2} from "./PassagePermit2.sol";
import {UsesPermit2} from "../UsesPermit2.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/passage/PassagePermit2.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.24;
pragma solidity 0.8.26;

import {UsesPermit2} from "../UsesPermit2.sol";
import {ISignatureTransfer} from "permit2/src/interfaces/ISignatureTransfer.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/passage/RollupPassage.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.24;
pragma solidity 0.8.26;

import {PassagePermit2} from "./PassagePermit2.sol";
import {UsesPermit2} from "../UsesPermit2.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/Helpers.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.24;
pragma solidity 0.8.26;

// system contracts
import {Zenith} from "../src/Zenith.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/Orders.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.24;
pragma solidity 0.8.26;

// test contracts
import {IOrders} from "../src/orders/IOrders.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/Passage.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.24;
pragma solidity 0.8.26;

// test contracts
import {Passage} from "../src/passage/Passage.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/Permit2Orders.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.24;
pragma solidity 0.8.26;

// test contracts
import {RollupOrders} from "../src/orders/Orders.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/Permit2Passage.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.24;
pragma solidity 0.8.26;

// test contracts
import {Passage} from "../src/passage/Passage.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/Safe.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.24;
pragma solidity 0.8.26;

// utils
import {Test, console2} from "forge-std/Test.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/Transact.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.24;
pragma solidity 0.8.26;

// test contracts
import {Transactor} from "../src/Transact.sol";
Expand Down
2 changes: 1 addition & 1 deletion test/Zenith.t.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT OR Apache-2.0
pragma solidity ^0.8.24;
pragma solidity 0.8.26;

// test contracts
import {Zenith} from "../src/Zenith.sol";
Expand Down

0 comments on commit d1a29b1

Please sign in to comment.