Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
b70ee70c
Unverified
Commit
b70ee70c
authored
Sep 30, 2021
by
rajivpoc
Committed by
Kelvin Fichter
Nov 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
solidity 0.8.9 support
parent
b56dd079
Changes
67
Hide whitespace changes
Inline
Side-by-side
Showing
67 changed files
with
81 additions
and
67 deletions
+81
-67
modern-hounds-dance.md
.changeset/modern-hounds-dance.md
+14
-0
ConstructorReverter.sol
integration-tests/contracts/ConstructorReverter.sol
+1
-1
ERC20.sol
integration-tests/contracts/ERC20.sol
+1
-1
OVMContextStorage.sol
integration-tests/contracts/OVMContextStorage.sol
+1
-1
OVMMulticall.sol
integration-tests/contracts/OVMMulticall.sol
+1
-1
Proxy.sol
integration-tests/contracts/Proxy.sol
+1
-1
Reverter.sol
integration-tests/contracts/Reverter.sol
+1
-1
SimpleStorage.sol
integration-tests/contracts/SimpleStorage.sol
+1
-1
TestOOG.sol
integration-tests/contracts/TestOOG.sol
+1
-1
ValueCalls.sol
integration-tests/contracts/ValueCalls.sol
+1
-1
hardhat.config.ts
integration-tests/hardhat.config.ts
+1
-1
whitelist.spec.ts
integration-tests/test/whitelist.spec.ts
+1
-1
Dockerfile.monorepo
ops/docker/Dockerfile.monorepo
+2
-2
IL1CrossDomainMessenger.sol
...tracts/contracts/L1/messaging/IL1CrossDomainMessenger.sol
+1
-1
L1CrossDomainMessenger.sol
...ntracts/contracts/L1/messaging/L1CrossDomainMessenger.sol
+1
-1
L1StandardBridge.sol
...ges/contracts/contracts/L1/messaging/L1StandardBridge.sol
+1
-1
CanonicalTransactionChain.sol
...ntracts/contracts/L1/rollup/CanonicalTransactionChain.sol
+1
-1
ChainStorageContainer.sol
...s/contracts/contracts/L1/rollup/ChainStorageContainer.sol
+1
-1
StateCommitmentChain.sol
...es/contracts/contracts/L1/rollup/StateCommitmentChain.sol
+1
-1
BondManager.sol
packages/contracts/contracts/L1/verification/BondManager.sol
+1
-1
IBondManager.sol
...ages/contracts/contracts/L1/verification/IBondManager.sol
+1
-1
IL2CrossDomainMessenger.sol
...tracts/contracts/L2/messaging/IL2CrossDomainMessenger.sol
+1
-1
IL2ERC20Bridge.sol
packages/contracts/contracts/L2/messaging/IL2ERC20Bridge.sol
+1
-1
L2CrossDomainMessenger.sol
...ntracts/contracts/L2/messaging/L2CrossDomainMessenger.sol
+1
-1
L2StandardBridge.sol
...ges/contracts/contracts/L2/messaging/L2StandardBridge.sol
+1
-1
L2StandardTokenFactory.sol
...ntracts/contracts/L2/messaging/L2StandardTokenFactory.sol
+1
-1
OVM_DeployerWhitelist.sol
...ntracts/contracts/L2/predeploys/OVM_DeployerWhitelist.sol
+1
-1
OVM_ETH.sol
packages/contracts/contracts/L2/predeploys/OVM_ETH.sol
+1
-1
OVM_GasPriceOracle.sol
.../contracts/contracts/L2/predeploys/OVM_GasPriceOracle.sol
+1
-1
OVM_L2ToL1MessagePasser.sol
...racts/contracts/L2/predeploys/OVM_L2ToL1MessagePasser.sol
+1
-1
OVM_SequencerFeeVault.sol
...ntracts/contracts/L2/predeploys/OVM_SequencerFeeVault.sol
+1
-1
iOVM_L1BlockNumber.sol
.../contracts/contracts/L2/predeploys/iOVM_L1BlockNumber.sol
+1
-1
iOVM_L2ToL1MessagePasser.sol
...acts/contracts/L2/predeploys/iOVM_L2ToL1MessagePasser.sol
+1
-1
L1ChugSplashProxy.sol
...ages/contracts/contracts/chugsplash/L1ChugSplashProxy.sol
+1
-1
iL1ChugSplashDeployer.sol
...contracts/chugsplash/interfaces/iL1ChugSplashDeployer.sol
+1
-1
Lib_CrossDomainUtils.sol
...racts/contracts/libraries/bridge/Lib_CrossDomainUtils.sol
+1
-1
Lib_OVMCodec.sol
...ages/contracts/contracts/libraries/codec/Lib_OVMCodec.sol
+1
-1
Lib_DefaultValues.sol
...racts/contracts/libraries/constants/Lib_DefaultValues.sol
+1
-1
Lib_PredeployAddresses.sol
.../contracts/libraries/constants/Lib_PredeployAddresses.sol
+1
-1
Lib_AddressManager.sol
...racts/contracts/libraries/resolver/Lib_AddressManager.sol
+1
-1
Lib_AddressResolver.sol
...acts/contracts/libraries/resolver/Lib_AddressResolver.sol
+1
-1
Lib_ResolvedDelegateProxy.sol
...ontracts/libraries/resolver/Lib_ResolvedDelegateProxy.sol
+1
-1
Lib_RLPReader.sol
packages/contracts/contracts/libraries/rlp/Lib_RLPReader.sol
+1
-1
Lib_RLPWriter.sol
packages/contracts/contracts/libraries/rlp/Lib_RLPWriter.sol
+1
-1
Lib_MerkleTrie.sol
...ges/contracts/contracts/libraries/trie/Lib_MerkleTrie.sol
+1
-1
Lib_SecureMerkleTrie.sol
...ntracts/contracts/libraries/trie/Lib_SecureMerkleTrie.sol
+1
-1
Lib_Buffer.sol
packages/contracts/contracts/libraries/utils/Lib_Buffer.sol
+1
-1
Lib_Bytes32Utils.sol
.../contracts/contracts/libraries/utils/Lib_Bytes32Utils.sol
+1
-1
Lib_BytesUtils.sol
...es/contracts/contracts/libraries/utils/Lib_BytesUtils.sol
+1
-1
Lib_MerkleTree.sol
...es/contracts/contracts/libraries/utils/Lib_MerkleTree.sol
+1
-1
IL2StandardERC20.sol
packages/contracts/contracts/standards/IL2StandardERC20.sol
+1
-1
L2StandardERC20.sol
packages/contracts/contracts/standards/L2StandardERC20.sol
+1
-1
Helper_GasMeasurer.sol
...s/contracts/contracts/test-helpers/Helper_GasMeasurer.sol
+1
-1
Helper_SimpleProxy.sol
...s/contracts/contracts/test-helpers/Helper_SimpleProxy.sol
+1
-1
TestERC20.sol
packages/contracts/contracts/test-helpers/TestERC20.sol
+1
-1
TestLib_OVMCodec.sol
...racts/contracts/test-libraries/codec/TestLib_OVMCodec.sol
+1
-1
TestLib_RLPReader.sol
...tracts/contracts/test-libraries/rlp/TestLib_RLPReader.sol
+1
-1
TestLib_RLPWriter.sol
...tracts/contracts/test-libraries/rlp/TestLib_RLPWriter.sol
+1
-1
TestLib_MerkleTrie.sol
...acts/contracts/test-libraries/trie/TestLib_MerkleTrie.sol
+1
-1
TestLib_SecureMerkleTrie.sol
...ontracts/test-libraries/trie/TestLib_SecureMerkleTrie.sol
+1
-1
TestLib_Buffer.sol
...ntracts/contracts/test-libraries/utils/TestLib_Buffer.sol
+1
-1
TestLib_Bytes32Utils.sol
...s/contracts/test-libraries/utils/TestLib_Bytes32Utils.sol
+1
-1
TestLib_BytesUtils.sol
...cts/contracts/test-libraries/utils/TestLib_BytesUtils.sol
+1
-1
TestLib_MerkleTree.sol
...cts/contracts/test-libraries/utils/TestLib_MerkleTree.sol
+1
-1
hardhat.config.ts
packages/contracts/hardhat.config.ts
+1
-1
hardhat.config.ts
packages/message-relayer/hardhat.config.ts
+1
-1
MockL2CrossDomainMessenger.sol
...elayer/test/test-contracts/MockL2CrossDomainMessenger.sol
+1
-1
No files found.
.changeset/modern-hounds-dance.md
0 → 100644
View file @
b70ee70c
---
'
@eth-optimism/gas-oracle'
:
patch
'
@eth-optimism/integration-tests'
:
patch
'
@eth-optimism/l2geth'
:
patch
'
@eth-optimism/batch-submitter'
:
patch
'
@eth-optimism/contracts'
:
patch
'
@eth-optimism/core-utils'
:
patch
'
@eth-optimism/data-transport-layer'
:
patch
'
@eth-optimism/message-relayer'
:
patch
'
@eth-optimism/regenesis-surgery'
:
patch
'
@eth-optimism/specs'
:
patch
---
upgraded to solidity 0.8.9
integration-tests/contracts/ConstructorReverter.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
import { Reverter } from './Reverter.sol';
...
...
integration-tests/contracts/ERC20.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
contract ERC20 {
event Transfer(address indexed _from, address indexed _to, uint256 _value);
...
...
integration-tests/contracts/OVMContextStorage.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
// Can't do this until the package is published.
//import { iOVM_L1BlockNumber } from "@eth-optimism/contracts/iOVM_L1BlockNumber";
...
...
integration-tests/contracts/OVMMulticall.sol
View file @
b70ee70c
...
...
@@ -18,7 +18,7 @@ copies or substantial portions of the Software.
*/
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
// Can't do this until the package is published.
//import { iOVM_L1BlockNumber } from "@eth-optimism/contracts/iOVM_L1BlockNumber";
...
...
integration-tests/contracts/Proxy.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/**
* @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
...
...
integration-tests/contracts/Reverter.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
contract Reverter {
string constant public revertMessage = "This is a simple reversion.";
...
...
integration-tests/contracts/SimpleStorage.sol
View file @
b70ee70c
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
contract ICrossDomainMessenger {
address public xDomainMessageSender;
...
...
integration-tests/contracts/TestOOG.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
contract TestOOG {
function runOutOfGas() public {
...
...
integration-tests/contracts/ValueCalls.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
contract ValueContext {
function getSelfBalance() external payable returns(uint256) {
...
...
integration-tests/hardhat.config.ts
View file @
b70ee70c
...
...
@@ -17,7 +17,7 @@ const config: HardhatUserConfig = {
timeout
:
50000
,
},
solidity
:
{
version
:
'
0.8.
8
'
,
version
:
'
0.8.
9
'
,
settings
:
{
optimizer
:
{
enabled
:
true
,
runs
:
200
},
metadata
:
{
...
...
integration-tests/test/whitelist.spec.ts
View file @
b70ee70c
...
...
@@ -98,7 +98,7 @@ describe('Whitelist', async () => {
[
'
0x0000000000000000000000000000000000000000000000000000000000000000
'
]:
'
0x0000000000000000000000000000000000000000000000000000000000000001
'
,
// See https://docs.soliditylang.org/en/v0.8.
8
/internals/layout_in_storage.html for
// See https://docs.soliditylang.org/en/v0.8.
9
/internals/layout_in_storage.html for
// reference on how the correct storage slot should be set.
// Whitelist mapping is located at storage slot 1.
// whitelist[address] will be located at:
...
...
ops/docker/Dockerfile.monorepo
View file @
b70ee70c
...
...
@@ -10,8 +10,8 @@ RUN apt-get update -y && apt-get install -y git
# Pre-download the compilers so that they do not need to be downloaded inside
# the image when building
FROM alpine as downloader
ARG VERSION=v0.8.
8
ARG SOLC_VERSION=${VERSION}+commit.
dddeac2f
ARG VERSION=v0.8.
9
ARG SOLC_VERSION=${VERSION}+commit.
e5eed63a
ARG SOLC_UPSTREAM=https://github.com/ethereum/solc-bin/raw/gh-pages/linux-amd64/solc-linux-amd64-${SOLC_VERSION}
ADD $SOLC_UPSTREAM ./solc
...
...
packages/contracts/contracts/L1/messaging/IL1CrossDomainMessenger.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { Lib_OVMCodec } from "../../libraries/codec/Lib_OVMCodec.sol";
...
...
packages/contracts/contracts/L1/messaging/L1CrossDomainMessenger.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { AddressAliasHelper } from "../../standards/AddressAliasHelper.sol";
...
...
packages/contracts/contracts/L1/messaging/L1StandardBridge.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Interface Imports */
import { IL1StandardBridge } from "./IL1StandardBridge.sol";
...
...
packages/contracts/contracts/L1/rollup/CanonicalTransactionChain.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { AddressAliasHelper } from "../../standards/AddressAliasHelper.sol";
...
...
packages/contracts/contracts/L1/rollup/ChainStorageContainer.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { Lib_Buffer } from "../../libraries/utils/Lib_Buffer.sol";
...
...
packages/contracts/contracts/L1/rollup/StateCommitmentChain.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { Lib_OVMCodec } from "../../libraries/codec/Lib_OVMCodec.sol";
...
...
packages/contracts/contracts/L1/verification/BondManager.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Interface Imports */
import { IBondManager } from "./IBondManager.sol";
...
...
packages/contracts/contracts/L1/verification/IBondManager.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/**
* @title IBondManager
...
...
packages/contracts/contracts/L2/messaging/IL2CrossDomainMessenger.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Interface Imports */
import { ICrossDomainMessenger } from "../../libraries/bridge/ICrossDomainMessenger.sol";
...
...
packages/contracts/contracts/L2/messaging/IL2ERC20Bridge.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/**
* @title IL2ERC20Bridge
...
...
packages/contracts/contracts/L2/messaging/L2CrossDomainMessenger.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { AddressAliasHelper } from "../../standards/AddressAliasHelper.sol";
...
...
packages/contracts/contracts/L2/messaging/L2StandardBridge.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Interface Imports */
import { IL1StandardBridge } from "../../L1/messaging/IL1StandardBridge.sol";
...
...
packages/contracts/contracts/L2/messaging/L2StandardTokenFactory.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Contract Imports */
import { L2StandardERC20 } from "../../standards/L2StandardERC20.sol";
...
...
packages/contracts/contracts/L2/predeploys/OVM_DeployerWhitelist.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/**
* @title OVM_DeployerWhitelist
...
...
packages/contracts/contracts/L2/predeploys/OVM_ETH.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { Lib_PredeployAddresses } from "../../libraries/constants/Lib_PredeployAddresses.sol";
...
...
packages/contracts/contracts/L2/predeploys/OVM_GasPriceOracle.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* External Imports */
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
...
...
packages/contracts/contracts/L2/predeploys/OVM_L2ToL1MessagePasser.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Interface Imports */
import { iOVM_L2ToL1MessagePasser } from "./iOVM_L2ToL1MessagePasser.sol";
...
...
packages/contracts/contracts/L2/predeploys/OVM_SequencerFeeVault.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { Lib_PredeployAddresses } from "../../libraries/constants/Lib_PredeployAddresses.sol";
...
...
packages/contracts/contracts/L2/predeploys/iOVM_L1BlockNumber.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/**
* @title iOVM_L1BlockNumber
...
...
packages/contracts/contracts/L2/predeploys/iOVM_L2ToL1MessagePasser.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/**
* @title iOVM_L2ToL1MessagePasser
...
...
packages/contracts/contracts/chugsplash/L1ChugSplashProxy.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
import { iL1ChugSplashDeployer } from "./interfaces/iL1ChugSplashDeployer.sol";
...
...
packages/contracts/contracts/chugsplash/interfaces/iL1ChugSplashDeployer.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/**
* @title iL1ChugSplashDeployer
...
...
packages/contracts/contracts/libraries/bridge/Lib_CrossDomainUtils.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { Lib_RLPReader } from "../rlp/Lib_RLPReader.sol";
...
...
packages/contracts/contracts/libraries/codec/Lib_OVMCodec.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { Lib_RLPReader } from "../rlp/Lib_RLPReader.sol";
...
...
packages/contracts/contracts/libraries/constants/Lib_DefaultValues.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/**
* @title Lib_DefaultValues
...
...
packages/contracts/contracts/libraries/constants/Lib_PredeployAddresses.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/**
* @title Lib_PredeployAddresses
...
...
packages/contracts/contracts/libraries/resolver/Lib_AddressManager.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* External Imports */
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
...
...
packages/contracts/contracts/libraries/resolver/Lib_AddressResolver.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { Lib_AddressManager } from "./Lib_AddressManager.sol";
...
...
packages/contracts/contracts/libraries/resolver/Lib_ResolvedDelegateProxy.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { Lib_AddressManager } from "./Lib_AddressManager.sol";
...
...
packages/contracts/contracts/libraries/rlp/Lib_RLPReader.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/**
* @title Lib_RLPReader
...
...
packages/contracts/contracts/libraries/rlp/Lib_RLPWriter.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/**
* @title Lib_RLPWriter
...
...
packages/contracts/contracts/libraries/trie/Lib_MerkleTrie.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { Lib_BytesUtils } from "../utils/Lib_BytesUtils.sol";
...
...
packages/contracts/contracts/libraries/trie/Lib_SecureMerkleTrie.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { Lib_MerkleTrie } from "./Lib_MerkleTrie.sol";
...
...
packages/contracts/contracts/libraries/utils/Lib_Buffer.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/**
* @title Lib_Buffer
...
...
packages/contracts/contracts/libraries/utils/Lib_Bytes32Utils.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/**
* @title Lib_Byte32Utils
...
...
packages/contracts/contracts/libraries/utils/Lib_BytesUtils.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/**
* @title Lib_BytesUtils
...
...
packages/contracts/contracts/libraries/utils/Lib_MerkleTree.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/**
* @title Lib_MerkleTree
...
...
packages/contracts/contracts/standards/IL2StandardERC20.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import { IERC165 } from "@openzeppelin/contracts/utils/introspection/IERC165.sol";
...
...
packages/contracts/contracts/standards/L2StandardERC20.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
import { ERC20 } from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./IL2StandardERC20.sol";
...
...
packages/contracts/contracts/test-helpers/Helper_GasMeasurer.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
contract Helper_GasMeasurer {
function measureCallGas(
...
...
packages/contracts/contracts/test-helpers/Helper_SimpleProxy.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
contract Helper_SimpleProxy {
address internal owner;
...
...
packages/contracts/contracts/test-helpers/TestERC20.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
// a test ERC20 token with an open mint function
contract TestERC20 {
...
...
packages/contracts/contracts/test-libraries/codec/TestLib_OVMCodec.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { Lib_OVMCodec } from "../../libraries/codec/Lib_OVMCodec.sol";
...
...
packages/contracts/contracts/test-libraries/rlp/TestLib_RLPReader.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { Lib_RLPReader } from "../../libraries/rlp/Lib_RLPReader.sol";
...
...
packages/contracts/contracts/test-libraries/rlp/TestLib_RLPWriter.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { Lib_RLPWriter } from "../../libraries/rlp/Lib_RLPWriter.sol";
...
...
packages/contracts/contracts/test-libraries/trie/TestLib_MerkleTrie.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { Lib_MerkleTrie } from "../../libraries/trie/Lib_MerkleTrie.sol";
...
...
packages/contracts/contracts/test-libraries/trie/TestLib_SecureMerkleTrie.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { Lib_SecureMerkleTrie } from "../../libraries/trie/Lib_SecureMerkleTrie.sol";
...
...
packages/contracts/contracts/test-libraries/utils/TestLib_Buffer.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { Lib_Buffer } from "../../libraries/utils/Lib_Buffer.sol";
...
...
packages/contracts/contracts/test-libraries/utils/TestLib_Bytes32Utils.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { Lib_Bytes32Utils } from "../../libraries/utils/Lib_Bytes32Utils.sol";
...
...
packages/contracts/contracts/test-libraries/utils/TestLib_BytesUtils.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { Lib_BytesUtils } from "../../libraries/utils/Lib_BytesUtils.sol";
...
...
packages/contracts/contracts/test-libraries/utils/TestLib_MerkleTree.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
/* Library Imports */
import { Lib_MerkleTree } from "../../libraries/utils/Lib_MerkleTree.sol";
...
...
packages/contracts/hardhat.config.ts
View file @
b70ee70c
...
...
@@ -59,7 +59,7 @@ const config: HardhatUserConfig = {
solidity
:
{
compilers
:
[
{
version
:
'
0.8.
8
'
,
version
:
'
0.8.
9
'
,
settings
:
{
optimizer
:
{
enabled
:
true
,
runs
:
10
_000
},
metadata
:
{
...
...
packages/message-relayer/hardhat.config.ts
View file @
b70ee70c
...
...
@@ -8,7 +8,7 @@ const config: HardhatUserConfig = {
sources
:
'
./test/test-contracts
'
,
},
solidity
:
{
version
:
'
0.8.
8
'
,
version
:
'
0.8.
9
'
,
settings
:
{
optimizer
:
{
enabled
:
true
,
runs
:
200
},
metadata
:
{
...
...
packages/message-relayer/test/test-contracts/MockL2CrossDomainMessenger.sol
View file @
b70ee70c
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.
8
;
pragma solidity ^0.8.
9
;
contract MockL2CrossDomainMessenger {
struct MessageData {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment