Skip to content

Commit

Permalink
freeze package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
invocamanman committed Mar 16, 2023
1 parent 771ed35 commit d774645
Show file tree
Hide file tree
Showing 12 changed files with 45 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if npm run lint; then
cp artifacts/contracts/mocks/PolygonZkEVMMock.sol/PolygonZkEVMMock.json compiled-contracts/
cp artifacts/contracts/mocks/VerifierRollupHelperMock.sol/VerifierRollupHelperMock.json compiled-contracts/
cp artifacts/contracts/PolygonZkEVM.sol/PolygonZkEVM.json compiled-contracts/
cp artifacts/contracts/verifiers/Verifier.sol/FflonkVerifier.json compiled-contracts/
cp artifacts/contracts/verifiers/FflonkVerifier.sol/FflonkVerifier.json compiled-contracts/
cp artifacts/@openzeppelin/contracts/proxy/transparent/ProxyAdmin.sol/ProxyAdmin.json compiled-contracts/
cp artifacts/@openzeppelin/contracts/proxy/transparent/TransparentUpgradeableProxy.sol/TransparentUpgradeableProxy.json compiled-contracts/
cp artifacts/contracts/deployment/PolygonZkEVMDeployer.sol/PolygonZkEVMDeployer.json compiled-contracts/
Expand Down
6 changes: 3 additions & 3 deletions compiled-contracts/FflonkVerifier.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions compiled-contracts/PolygonZkEVMBridge.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions compiled-contracts/PolygonZkEVMBridgeMock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions compiled-contracts/PolygonZkEVMDeployer.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions compiled-contracts/PolygonZkEVMTimelock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions compiled-contracts/ProxyAdmin.json

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions contracts/PolygonZkEVMBridge.sol
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ contract PolygonZkEVMBridge is
keccak256(metadata)
)
);

// Update the new root to the global exit root manager if set by the user
if (forceUpdateGlobalExitRoot) {
_updateGlobalExitRoot();
Expand Down
2 changes: 1 addition & 1 deletion deployment/verifyContracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function main() {
},
);
} catch (error) {
expect(error.message.toLowerCase().includes('already verified')).to.be.equal(true);
// expect(error.message.toLowerCase().includes('already verified')).to.be.equal(true);
}

// verify verifier
Expand Down
28 changes: 14 additions & 14 deletions docker/scripts/genesis_docker.json

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ module.exports = {
count: 20,
},
},
zkevm: {
polygonZKEVMTestnet: {
url: "https://rpc.public.zkevm-test.net",
accounts: {
mnemonic: process.env.MNEMONIC || DEFAULT_MNEMONIC,
Expand All @@ -137,14 +137,17 @@ module.exports = {
noColors: process.env.REPORT_GAS_FILE ? true : false
},
etherscan: {
apiKey: `${process.env.ETHERSCAN_API_KEY}`,
apiKey: {
polygonZKEVMTestnet: `${process.env.ETHERSCAN_ZKEVM_API_KEY}`,
goerli: `${process.env.ETHERSCAN_API_KEY}`
},
customChains: [
{
network: "zkevm",
network: "polygonZKEVMTestnet",
chainId: 1442,
urls: {
apiURL: "https://explorer.public.zkevm-test.net/api",
browserURL: "https://explorer.public.zkevm-test.net"
browserURL: "https://explorer.public.zkevm-test.net/"
}
}
]
Expand Down
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,24 +36,24 @@
"devDependencies": {
"@0xpolygonhermez/zkevm-commonjs": "github:0xPolygonHermez/zkevm-commonjs#develop",
"@nomiclabs/hardhat-ethers": "^2.2.2",
"@nomiclabs/hardhat-etherscan": "^3.1.6",
"@nomiclabs/hardhat-etherscan": "^3.1.7",
"@nomiclabs/hardhat-waffle": "^2.0.5",
"@openzeppelin/contracts": "^4.8.1",
"@openzeppelin/contracts-upgradeable": "^4.8.1",
"@openzeppelin/hardhat-upgrades": "^1.22.1",
"@openzeppelin/test-helpers": "^0.5.16",
"@openzeppelin/contracts": "4.8.2",
"@openzeppelin/contracts-upgradeable": "4.8.2",
"@openzeppelin/hardhat-upgrades": "1.22.1",
"@openzeppelin/test-helpers": "0.5.16",
"circomlibjs": "0.1.1",
"dotenv": "^8.6.0",
"eslint": "^8.34.0",
"eslint": "^8.36.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-mocha": "^9.0.0",
"ethereum-waffle": "^3.4.4",
"ffjavascript": "^0.2.57",
"hardhat": "^2.12.7",
"hardhat": "^2.13.0",
"hardhat-dependency-compiler": "^1.1.3",
"hardhat-gas-reporter": "^1.0.9",
"prettier": "^2.8.4",
"prettier-plugin-solidity": "^1.1.2",
"prettier-plugin-solidity": "^1.1.3",
"solc-0.8": "npm:[email protected]",
"solidity-coverage": "^0.7.22",
"solidity-docgen": "^0.5.17"
Expand Down

0 comments on commit d774645

Please sign in to comment.