mirror of
https://github.com/vacp2p/linea-monorepo.git
synced 2026-01-09 04:08:01 -05:00
[Chore] Bumping Hardhat and Solidity to latest (#995)
* bumping Hardhat and Solidity to latest * bump coverage plugin * add coverage var to command execute * revert test * update build script to use 0.8.28
This commit is contained in:
@@ -36,14 +36,14 @@ const config: HardhatUserConfig = {
|
||||
// NB: double check the autoupdate shell script version complies to the latest solidity version if you add a new one.
|
||||
compilers: [
|
||||
{
|
||||
version: "0.8.28",
|
||||
version: "0.8.30",
|
||||
settings: {
|
||||
viaIR: useViaIR,
|
||||
optimizer: {
|
||||
enabled: true,
|
||||
runs: 10_000,
|
||||
},
|
||||
evmVersion: "cancun",
|
||||
evmVersion: "prague",
|
||||
},
|
||||
},
|
||||
/**
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
"dotenv": "16.4.5",
|
||||
"edit-json-file": "1.8.0",
|
||||
"ethers": "6.12.0",
|
||||
"hardhat": "2.23.0",
|
||||
"hardhat": "2.24.0",
|
||||
"hardhat-deploy": "0.12.4",
|
||||
"hardhat-storage-layout": "0.1.7",
|
||||
"hardhat-tracer": "2.8.2",
|
||||
@@ -54,6 +54,7 @@
|
||||
"yargs": "17.7.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"solidity-coverage": "0.8.16",
|
||||
"solidity-docgen": "0.6.0-beta.36"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
import { IPlonkVerifier } from "../../verifiers/interfaces/IPlonkVerifier.sol";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
import { IPlonkVerifier } from "../../../verifiers/interfaces/IPlonkVerifier.sol";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
import { IMessageService } from "../../../messaging/interfaces/IMessageService.sol";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
contract TestL1RevertContract {
|
||||
function errorWithMessage() external pure {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
import { IMessageService } from "../../../messaging/interfaces/IMessageService.sol";
|
||||
import { IGenericErrors } from "../../../interfaces/IGenericErrors.sol";
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
interface ITestExternalCalls {
|
||||
function revertWithError() external pure;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
import { EfficientLeftRightKeccak } from "../../../libraries/EfficientLeftRightKeccak.sol";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
import { L1MessageManager } from "../../../messaging/l1/L1MessageManager.sol";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
import { L1MessageService } from "../../../messaging/l1/L1MessageService.sol";
|
||||
import { TestSetPauseTypeRoles } from "../security/TestSetPauseTypeRoles.sol";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
import { L1MessageService } from "../../../messaging/l1/L1MessageService.sol";
|
||||
import { IL1MessageService } from "../../../messaging/l1/interfaces/IL1MessageService.sol";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
import { MessageServiceBase } from "../../../messaging/MessageServiceBase.sol";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
import { SparseMerkleTreeVerifier } from "../../../messaging/libraries/SparseMerkleTreeVerifier.sol";
|
||||
import { EfficientLeftRightKeccak } from "../../../libraries/EfficientLeftRightKeccak.sol";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
import { LineaRollup } from "../../../rollup/LineaRollup.sol";
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
// Code generated by gnark DO NOT EDIT
|
||||
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
contract TestPlonkVerifierForDataAggregation {
|
||||
uint256 private constant R_MOD = 21888242871839275222246405745257275088548364400416034343698204186575808495617;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
/**
|
||||
* @title Contract to forward calls to an underlying contract.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
import { AccessControlUpgradeable } from "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol";
|
||||
import { IGenericErrors } from "../interfaces/IGenericErrors.sol";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
import { AccessControlUpgradeable } from "@openzeppelin/contracts-upgradeable/access/AccessControlUpgradeable.sol";
|
||||
import { L1MessageService } from "../messaging/l1/L1MessageService.sol";
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
// Code generated by gnark DO NOT EDIT
|
||||
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
contract PlonkVerifierDev {
|
||||
uint256 private constant R_MOD = 21888242871839275222246405745257275088548364400416034343698204186575808495617;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
// Code generated by gnark DO NOT EDIT
|
||||
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
contract PlonkVerifierForDataAggregation {
|
||||
uint256 private constant R_MOD = 21888242871839275222246405745257275088548364400416034343698204186575808495617;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
// Code generated by gnark DO NOT EDIT
|
||||
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
contract PlonkVerifierForMultiTypeDataAggregation {
|
||||
uint256 private constant R_MOD = 21888242871839275222246405745257275088548364400416034343698204186575808495617;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
// Code generated by gnark DO NOT EDIT
|
||||
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
contract PlonkVerifierMainnetFull {
|
||||
uint256 private constant R_MOD = 21888242871839275222246405745257275088548364400416034343698204186575808495617;
|
||||
@@ -53,21 +53,21 @@ contract PlonkVerifierMainnetFull {
|
||||
uint256 private constant VK_QO_COM_Y = 11663278532712784593989622026161493805298382402342305264603337558265085421392;
|
||||
uint256 private constant VK_QK_COM_X = 21544117489243114508976994357104276445865936964460835218289822182809574259347;
|
||||
uint256 private constant VK_QK_COM_Y = 16099525972751353512827910298795837779966478757167964357688560266722970909995;
|
||||
|
||||
|
||||
uint256 private constant VK_S1_COM_X = 17908311428460199492590388039829063852878010071334545129594028234377672983820;
|
||||
uint256 private constant VK_S1_COM_Y = 10103954308412520729697582995254223647125533280505646768640456923233032025547;
|
||||
|
||||
|
||||
uint256 private constant VK_S2_COM_X = 12866105337297597904597049017273016292761285097880812243024788656739840139515;
|
||||
uint256 private constant VK_S2_COM_Y = 20599250613846035633202356428996750914987720427398215234715506893022862458023;
|
||||
|
||||
|
||||
uint256 private constant VK_S3_COM_X = 13307442681122525480630104759544119339845938219103784786642372773456371926253;
|
||||
uint256 private constant VK_S3_COM_Y = 50594248840254746757473639804224481189760085670009668062319144215804614333;
|
||||
|
||||
uint256 private constant VK_COSET_SHIFT = 5;
|
||||
|
||||
|
||||
uint256 private constant VK_COSET_SHIFT = 5;
|
||||
|
||||
uint256 private constant VK_QCP_0_X = 5422475623920098124263885207962814853820529823128844521562879788393274458288;
|
||||
uint256 private constant VK_QCP_0_Y = 8659836707667766389541194141097455574165699707943735466972591014628520691103;
|
||||
|
||||
|
||||
uint256 private constant VK_INDEX_COMMIT_API_0 = 9131137;
|
||||
uint256 private constant VK_NB_CUSTOM_GATES = 1;
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
// Code generated by gnark DO NOT EDIT
|
||||
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
contract PlonkVerifierSepoliaFull {
|
||||
uint256 private constant R_MOD = 21888242871839275222246405745257275088548364400416034343698204186575808495617;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: UNLICENSED
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
import "forge-std/Test.sol";
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// SPDX-License-Identifier: AGPL-3.0
|
||||
pragma solidity 0.8.28;
|
||||
pragma solidity 0.8.30;
|
||||
|
||||
import "forge-std/Test.sol";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user