Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: L2 deployment, hardhat and other packages update #126

Merged
merged 4 commits into from
Mar 8, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hardhat.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ require("hardhat-contract-sizer");
require("hardhat-deploy");
require("hardhat-deploy-ethers");
require("hardhat-gas-reporter");
require("hardhat-tracer");
require("@nomicfoundation/hardhat-chai-matchers");
require("@nomiclabs/hardhat-ethers");
require("@nomiclabs/hardhat-etherscan");
require("@nomicfoundation/hardhat-toolbox");
//require("hardhat-tracer");
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not currently used an not compatible with the latest Hardhat version for now.


const ALCHEMY_API_KEY_MAINNET = process.env.ALCHEMY_API_KEY_MAINNET;
const ALCHEMY_API_KEY_MATIC = process.env.ALCHEMY_API_KEY_MATIC;
Expand Down
25 changes: 13 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,23 +21,25 @@
"devDependencies": {
"@gnosis.pm/safe-contracts": "^1.3.0",
"@nomicfoundation/hardhat-chai-matchers": "^1.0.6",
"@nomicfoundation/hardhat-network-helpers": "^1.0.9",
"@nomicfoundation/hardhat-network-helpers": "^1.0.10",
"@nomicfoundation/hardhat-toolbox": "^2.0.2",
"@nomicfoundation/hardhat-ethers": "^3.0.5",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@nomiclabs/hardhat-etherscan": "^3.1.7",
"@typechain/ethers-v5": "^11.1.2",
"hardhat": "^2.21.0",
"@typechain/hardhat": "^9.1.0",
"@types/mocha": "^10.0.3",
"chai": "^4.3.10",
"eslint": "^8.52.0",
"ethers": "^5.7.2",
"hardhat": "^2.18.2",
"@typechain/ethers-v5": "^11.1.2",
"@types/mocha": "^10.0.6",
"chai": "^4.3.7",
"eslint": "^8.57.0",
"solhint": "^4.1.1",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-deploy": "^0.11.43",
"hardhat-deploy-ethers": "^0.3.0-beta.13",
"hardhat-gas-reporter": "^1.0.9",
"hardhat-tracer": "^2.6.0",
"solidity-coverage": "^0.8.5"
"hardhat-deploy": "^0.12.1",
"hardhat-deploy-ethers": "^0.4.1",
"hardhat-gas-reporter": "^1.0.10",
"hardhat-tracer": "^2.8.1",
"solidity-coverage": "^0.8.10"
},
"dependencies": {
"@openzeppelin/contracts": "=4.8.3",
Expand All @@ -48,7 +50,6 @@
"@ethersproject/wallet": "^5.7.0",
"eth-permit": "^0.2.3",
"ethereum-sources-downloader": "^0.1.21",
"solhint": "^3.6.2",
"fx-portal": "^1.0.3"
}
}
2 changes: 1 addition & 1 deletion scripts/deployment/bridges/wormhole/test/globals_celo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"contractVerification":true,"useLedger":false,"derivationPath":"m/44'/60'/2'/0/0","providerName":"celoAlfajores","gasPriceInGwei":"10","networkURL":"https://alfajores-forno.celo-testnet.org","sourceGovernorChainId":"10002","L1WormholeRelayerAddress":"0x7B1bD7a6b4E61c2a123AC6BC2cbfC614437D0470","timelockAddress":"0x00000000000000000000000014CF2e543AB75B321bcf84C3AcC88d570Ccf9106","L2WormholeRelayerAddress":"0x306B68267Deb7c5DfCDa3619E22E9Ca39C374f84","wormholeMessengerAddress":"0x118173028162C1b7c6Bf8488bd5dA2abd7c30F9D","childMockERC20Address":"0x34235f9D447f9F54167e2Ac7A0F4283cB3fAD669"}
{"contractVerification":true,"useLedger":false,"derivationPath":"m/44'/60'/2'/0/0","providerName":"celoAlfajores","gasPriceInGwei":"10","networkURL":"https://alfajores-forno.celo-testnet.org","sourceGovernorChainId":"10002","L1WormholeRelayerAddress":"0x7B1bD7a6b4E61c2a123AC6BC2cbfC614437D0470","timelockAddress":"0x00000000000000000000000014CF2e543AB75B321bcf84C3AcC88d570Ccf9106","L2WormholeRelayerAddress":"0x306B68267Deb7c5DfCDa3619E22E9Ca39C374f84","wormholeMessengerAddress":"0x118173028162C1b7c6Bf8488bd5dA2abd7c30F9D","childMockERC20Address":"0xE16adc7777B7C2a0d35033bd3504C028AB28EE8b"}
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ async function main() {
const mockTimelock = new ethers.Contract(mockTimelockAddress, mockTimelockABI, sepoliaProvider);

// ChildMockERC20 address on celoAlfajores
const mockChildERC20Address = "0x34235f9D447f9F54167e2Ac7A0F4283cB3fAD669";
const mockChildERC20Address = "0xE16adc7777B7C2a0d35033bd3504C028AB28EE8b";
const mockChildERC20JSON = "artifacts/contracts/bridges/test/ChildMockERC20.sol/ChildMockERC20.json";
contractFromJSON = fs.readFileSync(mockChildERC20JSON, "utf8");
parsedFile = JSON.parse(contractFromJSON);
Expand Down
Loading
Loading