Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: pin pragma #258

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/bridge/AbsBridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.4;
pragma solidity 0.8.9;

import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/bridge/AbsInbox.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.4;
pragma solidity 0.8.9;

import {
DataTooLarge,
Expand Down
2 changes: 1 addition & 1 deletion src/bridge/AbsOutbox.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.4;
pragma solidity 0.8.9;

import {
AlreadyInit,
Expand Down
2 changes: 1 addition & 1 deletion src/bridge/Bridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.4;
pragma solidity 0.8.9;

import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/bridge/ERC20Bridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.4;
pragma solidity 0.8.9;

import "./AbsBridge.sol";
import "./IERC20Bridge.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/bridge/ERC20Inbox.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.4;
pragma solidity 0.8.9;

import "./AbsInbox.sol";
import "./IERC20Inbox.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/bridge/ERC20Outbox.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.4;
pragma solidity 0.8.9;

import "./AbsOutbox.sol";
import {IERC20Bridge} from "./IERC20Bridge.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/bridge/GasRefunder.sol
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* limitations under the License.
*/

pragma solidity ^0.8.7;
pragma solidity 0.8.9;

import "../libraries/IGasRefunder.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/bridge/Inbox.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.4;
pragma solidity 0.8.9;

import {
NotOrigin,
Expand Down
2 changes: 1 addition & 1 deletion src/bridge/Messages.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

library Messages {
function messageHash(
Expand Down
2 changes: 1 addition & 1 deletion src/bridge/Outbox.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.4;
pragma solidity 0.8.9;

import "./AbsOutbox.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/bridge/SequencerInbox.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import {
AlreadyInit,
Expand Down
2 changes: 1 addition & 1 deletion src/chain/CacheManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import "../precompiles/ArbOwnerPublic.sol";
import "../precompiles/ArbWasm.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/challenge/ChallengeLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import "../state/Machine.sol";
import "../state/GlobalState.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/challenge/ChallengeManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import "../libraries/DelegateCallAware.sol";
import "../osp/IOneStepProofEntry.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/challenge/IChallengeManager.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import "../state/Machine.sol";
import "../bridge/IBridge.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/challenge/IChallengeResultReceiver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

interface IChallengeResultReceiver {
function completeChallenge(
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/AddressAliasHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

library AddressAliasHelper {
uint160 internal constant OFFSET = uint160(0x1111000000000000000000000000000000001111);
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/AdminFallbackProxy.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import "@openzeppelin/contracts/proxy/Proxy.sol";
import "@openzeppelin/contracts/proxy/ERC1967/ERC1967Upgrade.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/ArbitrumChecker.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import "../precompiles/ArbSys.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/libraries/Constants.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.4;
pragma solidity 0.8.9;

uint64 constant NO_CHAL_INDEX = 0;

Expand Down
2 changes: 1 addition & 1 deletion src/libraries/CryptographyPrimitives.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

/// This algorithm has been extracted from the implementation of smart pool (https://github.com/smartpool)
library CryptographyPrimitives {
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/DecimalsConverterHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/libraries/DelegateCallAware.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import {NotOwner} from "./Error.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/libraries/DoubleLogicUUPSUpgradeable.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import {DoubleLogicERC1967Upgrade} from "./AdminFallbackProxy.sol";
import "@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/Error.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.4;
pragma solidity 0.8.9;

/// @dev Init was already called
error AlreadyInit();
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/GasRefundEnabled.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// SPDX-License-Identifier: BUSL-1.1

// solhint-disable-next-line compiler-version
pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import "./IReader4844.sol";
import "./IGasRefunder.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/MerkleLib.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.4;
pragma solidity 0.8.9;

import {MerkleProofTooLong} from "./Error.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/libraries/MessageTypes.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.4;
pragma solidity 0.8.9;

uint8 constant L2_MSG = 3;
uint8 constant L1MessageType_L2FundedByL1 = 7;
Expand Down
2 changes: 1 addition & 1 deletion src/libraries/UUPSNotUpgradeable.sol
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (proxy/utils/UUPSUpgradeable.sol)

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import "@openzeppelin/contracts/interfaces/draft-IERC1822.sol";
import {DoubleLogicERC1967Upgrade} from "./AdminFallbackProxy.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/mocks/HostioTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.24;
pragma solidity 0.8.24;

/*
* HostioTest is a test contract used to compare EVM with Stylus.
Expand Down
2 changes: 1 addition & 1 deletion src/osp/HashProofHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import "../libraries/CryptographyPrimitives.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/osp/IOneStepProofEntry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import "./IOneStepProver.sol";

Expand Down
2 changes: 1 addition & 1 deletion src/osp/IOneStepProver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import "../state/Machine.sol";
import "../state/Module.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/osp/OneStepProofEntry.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import "../state/Deserialize.sol";
import "../state/Machine.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/osp/OneStepProver0.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import "../state/Value.sol";
import "../state/Machine.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/osp/OneStepProverHostIo.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import "../state/Value.sol";
import "../state/Machine.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/osp/OneStepProverMath.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import "../state/Value.sol";
import "../state/Machine.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/osp/OneStepProverMemory.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import "../state/Value.sol";
import "../state/Machine.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/rollup/AbsRollupEventInbox.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import "./IRollupEventInbox.sol";
import "../bridge/IBridge.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/rollup/BridgeCreator.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import "../bridge/Bridge.sol";
import "../bridge/SequencerInbox.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/rollup/Config.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import "../state/GlobalState.sol";
import "../state/Machine.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/rollup/DeployHelper.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/OffchainLabs/nitro-contracts/blob/main/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import {IInbox} from "../bridge/IInbox.sol";
import {IInboxBase} from "../bridge/IInboxBase.sol";
Expand Down
2 changes: 1 addition & 1 deletion src/rollup/ERC20RollupEventInbox.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// For license information, see https://github.com/nitro/blob/master/LICENSE
// SPDX-License-Identifier: BUSL-1.1

pragma solidity ^0.8.0;
pragma solidity 0.8.9;

import "./AbsRollupEventInbox.sol";
import "../bridge/IERC20Bridge.sol";
Expand Down
Loading
Loading