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
b8f5056d
Unverified
Commit
b8f5056d
authored
Sep 16, 2021
by
elenadimitrova
Committed by
Kelvin Fichter
Nov 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Switch pragma to 0.8.4 for all contracts in integration-tests and batch-submitter packages
parent
aabe5168
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
16 additions
and
16 deletions
+16
-16
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
hardhat.config.ts
packages/batch-submitter/hardhat.config.ts
+1
-1
iOVM_L1BlockNumber.sol
.../contracts/contracts/L2/predeploys/iOVM_L1BlockNumber.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
hardhat.config.ts
packages/message-relayer/hardhat.config.ts
+1
-1
MockL2CrossDomainMessenger.sol
...elayer/test/test-contracts/MockL2CrossDomainMessenger.sol
+1
-1
No files found.
integration-tests/contracts/ConstructorReverter.sol
View file @
b8f5056d
// SPDX-License-Identifier: MIT
pragma solidity
>=0.7.0
;
pragma solidity
^0.8.4
;
import { Reverter } from './Reverter.sol';
...
...
integration-tests/contracts/ERC20.sol
View file @
b8f5056d
// SPDX-License-Identifier: MIT
pragma solidity
>=0.7.0 <0.8.0
;
pragma solidity
^0.8.4
;
contract ERC20 {
event Transfer(address indexed _from, address indexed _to, uint256 _value);
...
...
integration-tests/contracts/OVMContextStorage.sol
View file @
b8f5056d
// SPDX-License-Identifier: MIT
pragma solidity
>=0.7.0
;
pragma solidity
^0.8.4
;
// 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 @
b8f5056d
...
...
@@ -18,7 +18,7 @@ copies or substantial portions of the Software.
*/
pragma solidity ^0.
7.0
;
pragma solidity ^0.
8.4
;
pragma experimental ABIEncoderV2;
...
...
integration-tests/contracts/Proxy.sol
View file @
b8f5056d
// SPDX-License-Identifier: MIT
pragma solidity
>=0.6.0 <0.8.0
;
pragma solidity
^0.8.4
;
/**
* @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 @
b8f5056d
// SPDX-License-Identifier: MIT
pragma solidity
>=0.7.0
;
pragma solidity
^0.8.4
;
contract Reverter {
string constant public revertMessage = "This is a simple reversion.";
...
...
integration-tests/contracts/SimpleStorage.sol
View file @
b8f5056d
pragma solidity
>=0.7.0
;
pragma solidity
^0.8.4
;
contract ICrossDomainMessenger {
address public xDomainMessageSender;
...
...
integration-tests/contracts/TestOOG.sol
View file @
b8f5056d
// SPDX-License-Identifier: MIT
pragma solidity
>=0.7.0
;
pragma solidity
^0.8.4
;
contract TestOOG {
function runOutOfGas() public {
...
...
integration-tests/contracts/ValueCalls.sol
View file @
b8f5056d
// SPDX-License-Identifier: MIT
pragma solidity
>=0.7.0
;
pragma solidity
^0.8.4
;
contract ValueContext {
function getSelfBalance() external payable returns(uint256) {
...
...
integration-tests/hardhat.config.ts
View file @
b8f5056d
...
...
@@ -16,7 +16,7 @@ const config: HardhatUserConfig = {
mocha
:
{
timeout
:
50000
,
},
solidity
:
'
0.
7.6
'
,
solidity
:
'
0.
8.4
'
,
gasReporter
:
{
enabled
:
enableGasReport
,
currency
:
'
USD
'
,
...
...
packages/batch-submitter/hardhat.config.ts
View file @
b8f5056d
...
...
@@ -19,7 +19,7 @@ const config: HardhatUserConfig = {
timeout
:
50000
,
},
solidity
:
{
version
:
'
0.
7.0
'
,
version
:
'
0.
8.4
'
,
settings
:
{
optimizer
:
{
enabled
:
true
,
...
...
packages/contracts/contracts/L2/predeploys/iOVM_L1BlockNumber.sol
View file @
b8f5056d
// SPDX-License-Identifier: MIT
pragma solidity
>0.5.0 <0.8.0
;
pragma solidity
^0.8.4
;
/**
* @title iOVM_L1BlockNumber
...
...
packages/contracts/contracts/libraries/constants/Lib_DefaultValues.sol
View file @
b8f5056d
// SPDX-License-Identifier: MIT
pragma solidity
>0.5.0 <0.8.0
;
pragma solidity
^0.8.4
;
/**
* @title Lib_DefaultValues
...
...
packages/contracts/contracts/libraries/constants/Lib_PredeployAddresses.sol
View file @
b8f5056d
...
...
@@ -9,7 +9,7 @@ library Lib_PredeployAddresses {
address internal constant L2_TO_L1_MESSAGE_PASSER = 0x4200000000000000000000000000000000000000;
address internal constant L1_MESSAGE_SENDER = 0x4200000000000000000000000000000000000001;
address internal constant DEPLOYER_WHITELIST = 0x4200000000000000000000000000000000000002;
address payable internal constant OVM_ETH =
0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000
;
address payable internal constant OVM_ETH =
payable(0xDeadDeAddeAddEAddeadDEaDDEAdDeaDDeAD0000)
;
// solhint-disable-next-line max-line-length
address internal constant L2_CROSS_DOMAIN_MESSENGER = 0x4200000000000000000000000000000000000007;
address internal constant LIB_ADDRESS_MANAGER = 0x4200000000000000000000000000000000000008;
...
...
packages/message-relayer/hardhat.config.ts
View file @
b8f5056d
...
...
@@ -8,7 +8,7 @@ const config: HardhatUserConfig = {
sources
:
'
./test/test-contracts
'
,
},
solidity
:
{
version
:
'
0.
7.6
'
,
version
:
'
0.
8.4
'
,
},
}
...
...
packages/message-relayer/test/test-contracts/MockL2CrossDomainMessenger.sol
View file @
b8f5056d
// SPDX-License-Identifier: MIT
pragma solidity
>0.7.0 <0.9.0
;
pragma solidity
^0.8.4
;
pragma experimental ABIEncoderV2;
contract MockL2CrossDomainMessenger {
...
...
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