Skip to content

Commit

Permalink
add: package json mainnet ZKSYNC anvil support
Browse files Browse the repository at this point in the history
  • Loading branch information
Debugger022 committed Feb 20, 2025
1 parent 5ddaf21 commit a26fe28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion hardhat.config.zksync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ const config: HardhatUserConfig = {
},
zksynctestnode: {
url: process.env.ZKSYNC_ERA_LOCAL_TEST_NODE || "http://localhost:8011",
chainId: 300, // change it to 324 for zksyncmainnet
chainId: 324, // change it to 324 for zksyncmainnet
accounts: DEPLOYER_PRIVATE_KEY ? [`0x${DEPLOYER_PRIVATE_KEY}`] : [],
blockGasLimit: BLOCK_GAS_LIMIT_PER_NETWORK.zksyncsepolia,
timeout: 2000000000,
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"clean": "hardhat clean && hardhat clean --config hardhat.config.zksync.ts",
"local-test-node:zksyncmainnet": "hardhat node-zksync --fork https://mainnet.era.zksync.io --config hardhat.config.zksync.ts --tag 0.1.0-alpha.31",
"local-test-node:zksyncsepolia": "hardhat node-zksync --fork https://sepolia.era.zksync.dev --config hardhat.config.zksync.ts --tag 0.1.0-alpha.31",
"local-anvil-node:zksyncsepolia": "anvil-zksync --gas-price 2000000000 fork --fork-url sepolia-testnet"
"local-anvil-node:zksyncsepolia": "anvil-zksync --gas-price 2000000000 fork --fork-url sepolia-testnet",
"local-anvil-node:zksyncmainnet": "anvil-zksync --gas-price 3000000000 fork --fork-url mainnet"
},
"dependencies": {
"@morpho-labs/gnosis-tx-builder": "^1.3.1",
Expand Down

0 comments on commit a26fe28

Please sign in to comment.