Skip to content

Commit

Permalink
refactor: soften solc version to ^0.8.10 (#64) (#65)
Browse files Browse the repository at this point in the history
* refactor: soften solc version to

* fix: revert changes

* fix: revert changes here as well

Co-authored-by: Lukas <[email protected]>
  • Loading branch information
miguelmtzinf and sakulstra authored Oct 11, 2022
1 parent 5640af3 commit 46522cd
Show file tree
Hide file tree
Showing 39 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion certora/harness/ArbitrumHarness.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {AddressAliasHelper} from '../../contracts/dependencies/arbitrum/AddressAliasHelper.sol';
import {L2BridgeExecutorHarness} from './L2BridgeExecutorHarness.sol';
Expand Down
2 changes: 1 addition & 1 deletion certora/harness/DummyERC20A.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: agpl-3.0
pragma solidity ^0.8.0;
pragma solidity ^0.8.10;
import "./DummyERC20Impl.sol";

contract DummyERC20A is DummyERC20Impl {}
2 changes: 1 addition & 1 deletion certora/harness/DummyERC20B.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: agpl-3.0
pragma solidity ^0.8.0;
pragma solidity ^0.8.10;
import "./DummyERC20Impl.sol";

contract DummyERC20B is DummyERC20Impl {}
2 changes: 1 addition & 1 deletion certora/harness/DummyERC20Impl.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: agpl-3.0
pragma solidity ^0.8.0;
pragma solidity ^0.8.10;

// with mint
contract DummyERC20Impl {
Expand Down
2 changes: 1 addition & 1 deletion certora/harness/L2BridgeExecutorHarness.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {L2BridgeExecutor} from '../munged/bridges/L2BridgeExecutor.sol';

Expand Down
2 changes: 1 addition & 1 deletion certora/harness/OptimismHarness.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {ICrossDomainMessenger} from '../munged/dependencies/optimism/interfaces/ICrossDomainMessenger.sol';
import {L2BridgeExecutorHarness} from './L2BridgeExecutorHarness.sol';
Expand Down
2 changes: 1 addition & 1 deletion certora/harness/PolygonHarness.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {PolygonBridgeExecutor} from '../munged/bridges/PolygonBridgeExecutor.sol';
import {mockTargetPoly} from './mockTargetPoly.sol';
Expand Down
2 changes: 1 addition & 1 deletion certora/harness/mockTarget.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: agpl-3.0
pragma solidity ^0.8.0;
pragma solidity ^0.8.10;
import {OptimismHarness} from './OptimismHarness.sol';
import {DummyERC20Impl} from './DummyERC20Impl.sol';

Expand Down
2 changes: 1 addition & 1 deletion certora/harness/mockTargetPoly.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: agpl-3.0
pragma solidity ^0.8.0;
pragma solidity ^0.8.10;
import {PolygonHarness} from './PolygonHarness.sol';
import {DummyERC20Impl} from './DummyERC20Impl.sol';

Expand Down
2 changes: 1 addition & 1 deletion certora/munged/bridges/ArbitrumBridgeExecutor.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {AddressAliasHelper} from '../dependencies/arbitrum/AddressAliasHelper.sol';
import {L2BridgeExecutor} from './L2BridgeExecutor.sol';
Expand Down
2 changes: 1 addition & 1 deletion certora/munged/bridges/BridgeExecutorBase.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {IExecutorBase} from '../interfaces/IExecutorBase.sol';

Expand Down
2 changes: 1 addition & 1 deletion certora/munged/bridges/L2BridgeExecutor.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {IL2BridgeExecutor} from '../interfaces/IL2BridgeExecutor.sol';
import {BridgeExecutorBase} from './BridgeExecutorBase.sol';
Expand Down
2 changes: 1 addition & 1 deletion certora/munged/bridges/OptimismBridgeExecutor.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {ICrossDomainMessenger} from '../dependencies/optimism/interfaces/ICrossDomainMessenger.sol';
import {L2BridgeExecutor} from './L2BridgeExecutor.sol';
Expand Down
2 changes: 1 addition & 1 deletion certora/munged/bridges/PolygonBridgeExecutor.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {IFxMessageProcessor} from '../dependencies/polygon/fxportal/interfaces/IFxMessageProcessor.sol';
import {BridgeExecutorBase} from './BridgeExecutorBase.sol';
Expand Down
2 changes: 1 addition & 1 deletion certora/munged/dependencies/polygon/fxportal/FxChild.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.7.3;
pragma solidity ^0.8.10;

// IStateReceiver represents interface to receive state
interface IStateReceiver {
Expand Down
2 changes: 1 addition & 1 deletion certora/munged/dependencies/polygon/fxportal/FxRoot.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.7.3;
pragma solidity ^0.8.10;

interface IStateSender {
function syncState(address receiver, bytes calldata data) external;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/**
* @title IFxMessageProcessor
Expand Down
2 changes: 1 addition & 1 deletion certora/munged/interfaces/IExecutorBase.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/**
* @title IExecutorBase
Expand Down
2 changes: 1 addition & 1 deletion certora/munged/interfaces/IL2BridgeExecutor.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/**
* @title IL2BridgeExecutorBase
Expand Down
2 changes: 1 addition & 1 deletion contracts/bridges/ArbitrumBridgeExecutor.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {AddressAliasHelper} from '../dependencies/arbitrum/AddressAliasHelper.sol';
import {L2BridgeExecutor} from './L2BridgeExecutor.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/bridges/BridgeExecutorBase.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {IExecutorBase} from '../interfaces/IExecutorBase.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/bridges/L2BridgeExecutor.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {IL2BridgeExecutor} from '../interfaces/IL2BridgeExecutor.sol';
import {BridgeExecutorBase} from './BridgeExecutorBase.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/bridges/OptimismBridgeExecutor.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {ICrossDomainMessenger} from '../dependencies/optimism/interfaces/ICrossDomainMessenger.sol';
import {L2BridgeExecutor} from './L2BridgeExecutor.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/bridges/PolygonBridgeExecutor.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {IFxMessageProcessor} from '../dependencies/polygon/fxportal/interfaces/IFxMessageProcessor.sol';
import {BridgeExecutorBase} from './BridgeExecutorBase.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/polygon/fxportal/FxChild.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.7.3;
pragma solidity ^0.8.10;

// IStateReceiver represents interface to receive state
interface IStateReceiver {
Expand Down
2 changes: 1 addition & 1 deletion contracts/dependencies/polygon/fxportal/FxRoot.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

// SPDX-License-Identifier: MIT
pragma solidity 0.7.3;
pragma solidity ^0.8.10;

interface IStateSender {
function syncState(address receiver, bytes calldata data) external;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/**
* @title IFxMessageProcessor
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IExecutorBase.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/**
* @title IExecutorBase
Expand Down
2 changes: 1 addition & 1 deletion contracts/interfaces/IL2BridgeExecutor.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

/**
* @title IL2BridgeExecutorBase
Expand Down
2 changes: 1 addition & 1 deletion contracts/mocks/ArbGreeter.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//SPDX-License-Identifier: Unlicense
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {AddressAliasHelper} from './../dependencies/arbitrum/AddressAliasHelper.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/mocks/Greeter.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//SPDX-License-Identifier: Unlicense
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

contract Greeter {
event MessageUpdated(string newMessage);
Expand Down
2 changes: 1 addition & 1 deletion contracts/mocks/GreeterPayload.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//SPDX-License-Identifier: Unlicense
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {Greeter} from './Greeter.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/mocks/MockInbox.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//SPDX-License-Identifier: Unlicense
pragma solidity >=0.7.0;
pragma solidity ^0.8.10;

import {IInbox} from '../dependencies/arbitrum/interfaces/IInbox.sol';
import {AddressAliasHelper} from '../dependencies/arbitrum/AddressAliasHelper.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/mocks/MockOvmL1CrossDomainMessenger.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//SPDX-License-Identifier: Unlicense
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {ICrossDomainMessenger} from '../dependencies/optimism/interfaces/ICrossDomainMessenger.sol';
import {MockOvmL2CrossDomainMessenger} from './MockOvmL2CrossDomainMessenger.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/mocks/MockOvmL2CrossDomainMessenger.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//SPDX-License-Identifier: Unlicense
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {ICrossDomainMessenger} from '../dependencies/optimism/interfaces/ICrossDomainMessenger.sol';
import {MockOvmL1CrossDomainMessenger} from './MockOvmL1CrossDomainMessenger.sol';
Expand Down
2 changes: 1 addition & 1 deletion contracts/mocks/PolygonMarketUpdate.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//SPDX-License-Identifier: Unlicense
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

contract PolygonMarketUpdate {
event UpdateExecuted(uint256 counter, uint256 testInt, address testAddress, uint256 fee);
Expand Down
2 changes: 1 addition & 1 deletion contracts/mocks/Selfdestructor.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
//SPDX-License-Identifier: Unlicense
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

contract Selfdestructor {
function oops() external {
Expand Down
2 changes: 1 addition & 1 deletion contracts/mocks/SimpleBridgeExecutor.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {BridgeExecutorBase} from '../bridges/BridgeExecutorBase.sol';

Expand Down
2 changes: 1 addition & 1 deletion contracts/mocks/SimpleL2BridgeExecutor.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;
pragma solidity ^0.8.10;

import {L2BridgeExecutor} from '../bridges/L2BridgeExecutor.sol';

Expand Down

0 comments on commit 46522cd

Please sign in to comment.