-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
publish to npm linea-state-verifier and linea-ccip-gateway packages (#…
…231) * feat: publish to npm linea-state-verifier and linea-ccip-gateway * chore: update pnpm lock
- Loading branch information
1 parent
1b896c9
commit 3d38c2b
Showing
8 changed files
with
507 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
import {LineaSparseProofVerifier} from "linea-state-verifier/contracts/LineaSparseProofVerifier.sol"; | ||
import {LineaSparseProofVerifier} from "@consensys/linea-state-verifier/contracts/LineaSparseProofVerifier.sol"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
import "@nomicfoundation/hardhat-toolbox"; | ||
import { HardhatUserConfig } from "hardhat/config"; | ||
import "solidity-coverage"; | ||
import "hardhat-deploy"; | ||
import * as dotenv from "dotenv"; | ||
|
||
dotenv.config(); | ||
|
||
const deployer = | ||
process.env.DEPLOYER_PRIVATE_KEY || | ||
"ac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80"; | ||
|
||
const config: HardhatUserConfig = { | ||
solidity: { | ||
compilers: [ | ||
{ | ||
version: "0.8.25", | ||
settings: { | ||
optimizer: { | ||
enabled: true, | ||
runs: 200, | ||
}, | ||
viaIR: true, | ||
}, | ||
}, | ||
], | ||
}, | ||
networks: { | ||
sepolia: { | ||
url: `https://sepolia.infura.io/v3/${process.env.INFURA_API_KEY}`, | ||
chainId: 11155111, | ||
accounts: [deployer], | ||
}, | ||
mainnet: { | ||
url: `https://mainnet.infura.io/v3/${process.env.INFURA_API_KEY}`, | ||
chainId: 1, | ||
accounts: [deployer], | ||
}, | ||
}, | ||
namedAccounts: { | ||
deployer: { | ||
default: 0, | ||
}, | ||
}, | ||
etherscan: { | ||
apiKey: { | ||
sepolia: process.env.ETHERSCAN_API_KEY ?? "", | ||
mainnet: process.env.ETHERSCAN_API_KEY ?? "", | ||
}, | ||
}, | ||
}; | ||
|
||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,39 @@ | ||
{ | ||
"name": "linea-state-verifier", | ||
"version": "1.0.0", | ||
"description": "", | ||
"main": "index.js", | ||
"name": "@consensys/linea-state-verifier", | ||
"version": "1.0.1", | ||
"description": "This library is intended to be used specifacilly to resolve any Linea storage state on L1", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
"compile": "hardhat compile", | ||
"clean": "rm -fr artifacts cache node_modules typechain-types" | ||
}, | ||
"keywords": [], | ||
"author": "Consensys", | ||
"license": "Apache-2.0", | ||
"dependencies": { | ||
"@nomicfoundation/hardhat-toolbox": "^5.0.0", | ||
"@openzeppelin/contracts": "^4.9.3", | ||
"chai": "^4.2.0", | ||
"dotenv": "^16.0.3", | ||
"ethers": "^6.13.1", | ||
"hardhat": "^2.17.4" | ||
"hardhat": "^2.17.4", | ||
"hardhat-deploy": "^0.11.12", | ||
"solidity-coverage": "^0.8.12" | ||
}, | ||
"devDependencies": { | ||
"@nomicfoundation/hardhat-chai-matchers": "^2.0.0", | ||
"@nomicfoundation/hardhat-ethers": "^3.0.0", | ||
"@nomicfoundation/hardhat-ignition": "^0.15.5", | ||
"@nomicfoundation/hardhat-ignition-ethers": "^0.15.0", | ||
"@nomicfoundation/hardhat-network-helpers": "^1.0.0", | ||
"@nomicfoundation/hardhat-verify": "^2.0.0", | ||
"@nomicfoundation/ignition-core": "^0.15.5", | ||
"@typechain/ethers-v6": "^0.5.0", | ||
"@typechain/hardhat": "^9.0.0", | ||
"@types/chai": "^4.2.0", | ||
"@types/mocha": ">=9.1.0", | ||
"hardhat-gas-reporter": "^1.0.8", | ||
"ts-node": "^10.9.2", | ||
"typechain": "^8.3.0", | ||
"typescript": "^5.5.4" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"include": ["test"], | ||
"compilerOptions": { | ||
"module": "esnext", | ||
"lib": ["dom", "esnext"], | ||
"importHelpers": true, | ||
"declaration": true, | ||
"sourceMap": true, | ||
"rootDir": "./test", | ||
"noUnusedParameters": true, | ||
"moduleResolution": "node", | ||
"jsx": "react", | ||
"esModuleInterop": true, | ||
"skipLibCheck": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"noEmit": true, | ||
"resolveJsonModule": true | ||
}, | ||
"ts-node": { | ||
"compilerOptions": { | ||
"module": "commonjs" | ||
} | ||
} | ||
} |
Oops, something went wrong.