Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoch05 committed Nov 5, 2024
1 parent 14e08af commit 324f8ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
"description": "Generate Helix conf",
"scripts": {
"codegen": "zx scripts/generate/index.mjs",
"build:ts": "npm run codegen -- --language=ts --verbose && cd generated/typescript && npm i && npm run build",
"build:ts": "npm run codegen -- --language=ts --verbose && npm run patch && cd generated/typescript && npm i && npm run build",
"patch": "cp patch/constants.js generated/typescript/node_modules/ethers-multicall-provider/lib/constants.js",
"test:ts": "npm run build:ts && npm run patch && cd generated/typescript && npm run test",
"test:ts:ci": "npm run build:ts && npm run patch && cd generated/typescript && npm run test:ci"
"test:ts": "npm run build:ts && cd generated/typescript && npm run test",
"test:ts:ci": "npm run build:ts && cd generated/typescript && npm run test:ci"
},
"author": "",
"license": "MIT",
Expand Down
4 changes: 3 additions & 1 deletion patch/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,18 @@ exports.multicall2Address = "0x5BA1e12693Dc8F9c48aAD8770482f4739bEeD696";
// same address on all networks: https://www.multicall3.com/deployments
exports.multicall3Address = "0xcA11bde05977b3631167028862bE2a173976CA11";
exports.multicall3ZkSyncAddress = "0xF9cda624FBC7e059355ce98a31693d299FACd963";
exports.multicall3MorphAddress = "0x876A4f6eCF13EEb101F9E75FCeF58f19Ff383eEB";
exports.multicallAddresses = new Set([
exports.multicall2Address.toLowerCase(),
exports.multicall3Address.toLowerCase(),
exports.multicall3ZkSyncAddress.toLowerCase(),
exports.multicall3MorphAddress.toLowerCase(),
]);
exports.multicall3ChainAddress = {
280: exports.multicall3ZkSyncAddress, // zkSync Era Goerli
300: exports.multicall3ZkSyncAddress, // zkSync Era Sepolia
324: exports.multicall3ZkSyncAddress, // zkSync Era
2818: "0x876A4f6eCF13EEb101F9E75FCeF58f19Ff383eEB",
2818: exports.multicall3MorphAddress,
};
exports.multicall3DeploymentBlockNumbers = {
1: 14353601, // Mainnet
Expand Down

0 comments on commit 324f8ea

Please sign in to comment.