diff --git a/.gas-snapshot b/.gas-snapshot index e9e2302..f5c9275 100644 --- a/.gas-snapshot +++ b/.gas-snapshot @@ -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) \ No newline at end of file +ZenithTest:test_submitBlock() (gas: 63313) \ No newline at end of file diff --git a/script/Zenith.s.sol b/script/Zenith.s.sol index 4fc2141..e0c927a 100644 --- a/script/Zenith.s.sol +++ b/script/Zenith.s.sol @@ -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"; diff --git a/src/Transact.sol b/src/Transact.sol index c5ff86a..e6f2431 100644 --- a/src/Transact.sol +++ b/src/Transact.sol @@ -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"; diff --git a/src/UsesPermit2.sol b/src/UsesPermit2.sol index 218c0bf..81ef6de 100644 --- a/src/UsesPermit2.sol +++ b/src/UsesPermit2.sol @@ -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"; diff --git a/src/Zenith.sol b/src/Zenith.sol index 6513335..50316c6 100644 --- a/src/Zenith.sol +++ b/src/Zenith.sol @@ -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. diff --git a/src/orders/IOrders.sol b/src/orders/IOrders.sol index 713fef2..a4769b8 100644 --- a/src/orders/IOrders.sol +++ b/src/orders/IOrders.sol @@ -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 diff --git a/src/orders/OrderDestination.sol b/src/orders/OrderDestination.sol index 444eb43..6241e01 100644 --- a/src/orders/OrderDestination.sol +++ b/src/orders/OrderDestination.sol @@ -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"; diff --git a/src/orders/OrderOrigin.sol b/src/orders/OrderOrigin.sol index 9772969..6741989 100644 --- a/src/orders/OrderOrigin.sol +++ b/src/orders/OrderOrigin.sol @@ -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"; diff --git a/src/orders/Orders.sol b/src/orders/Orders.sol index 4461aee..0176f48 100644 --- a/src/orders/Orders.sol +++ b/src/orders/Orders.sol @@ -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"; diff --git a/src/orders/OrdersPermit2.sol b/src/orders/OrdersPermit2.sol index 7e72fa6..d214950 100644 --- a/src/orders/OrdersPermit2.sol +++ b/src/orders/OrdersPermit2.sol @@ -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"; diff --git a/src/passage/Passage.sol b/src/passage/Passage.sol index 8ddc95f..e8d6465 100644 --- a/src/passage/Passage.sol +++ b/src/passage/Passage.sol @@ -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"; diff --git a/src/passage/PassagePermit2.sol b/src/passage/PassagePermit2.sol index d19306c..074c3bb 100644 --- a/src/passage/PassagePermit2.sol +++ b/src/passage/PassagePermit2.sol @@ -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"; diff --git a/src/passage/RollupPassage.sol b/src/passage/RollupPassage.sol index 037271f..d1bb1ea 100644 --- a/src/passage/RollupPassage.sol +++ b/src/passage/RollupPassage.sol @@ -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"; diff --git a/test/Helpers.t.sol b/test/Helpers.t.sol index e694bc5..a2bb7f8 100644 --- a/test/Helpers.t.sol +++ b/test/Helpers.t.sol @@ -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"; diff --git a/test/Orders.t.sol b/test/Orders.t.sol index e648155..ec478b4 100644 --- a/test/Orders.t.sol +++ b/test/Orders.t.sol @@ -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"; diff --git a/test/Passage.t.sol b/test/Passage.t.sol index 8a430ab..e49a231 100644 --- a/test/Passage.t.sol +++ b/test/Passage.t.sol @@ -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"; diff --git a/test/Permit2Orders.t.sol b/test/Permit2Orders.t.sol index 962b8f0..bac0fbe 100644 --- a/test/Permit2Orders.t.sol +++ b/test/Permit2Orders.t.sol @@ -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"; diff --git a/test/Permit2Passage.t.sol b/test/Permit2Passage.t.sol index 43c478d..15f42c1 100644 --- a/test/Permit2Passage.t.sol +++ b/test/Permit2Passage.t.sol @@ -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"; diff --git a/test/Safe.t.sol b/test/Safe.t.sol index 37a985e..50eea0a 100644 --- a/test/Safe.t.sol +++ b/test/Safe.t.sol @@ -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"; diff --git a/test/Transact.t.sol b/test/Transact.t.sol index ed0469c..cb35111 100644 --- a/test/Transact.t.sol +++ b/test/Transact.t.sol @@ -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"; diff --git a/test/Zenith.t.sol b/test/Zenith.t.sol index 002e4ff..98d9d2a 100644 --- a/test/Zenith.t.sol +++ b/test/Zenith.t.sol @@ -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";