Skip to content

Commit

Permalink
for zksync
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoch05 committed Jan 30, 2024
1 parent a3f0ecd commit 3e76bd5
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 101 deletions.
6 changes: 3 additions & 3 deletions zksync-deployer/deploy/deploy_lnv3_logic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ export default async function (hre: HardhatRuntimeEnvironment) {
const deployer = new Deployer(hre, wallet);
// deploy create2 tool contract
const artifact = await deployer.loadArtifact("HelixLnBridgeV3");
//const contract = await deployer.deploy(artifact, []);
//const contractAddress = contract.target;
const contractAddress = '0x3BbfC2D50E048436c51AF4df1b48E321260962a8';
const contract = await deployer.deploy(artifact, []);
const contractAddress = contract.target;
//const contractAddress = '0x3BbfC2D50E048436c51AF4df1b48E321260962a8';
console.log(`lnv3 bridge logic contract was deployed to ${contractAddress}`);
const verificationId = await hre.run("verify:verify", {
address: contractAddress,
Expand Down
2 changes: 1 addition & 1 deletion zksync-deployer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"chai": "^4.3.7",
"dotenv": "^16.0.3",
"ethers": "^6.7.0",
"hardhat": "^2.12.4",
"hardhat": "^2.19.4",
"mocha": "^10.2.0",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
Expand Down
194 changes: 97 additions & 97 deletions zksync-deployer/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -501,135 +501,135 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"

"@nomicfoundation/[email protected].1":
version "5.0.1"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-block/-/ethereumjs-block-5.0.1.tgz#6f89664f55febbd723195b6d0974773d29ee133d"
integrity sha512-u1Yioemi6Ckj3xspygu/SfFvm8vZEO8/Yx5a1QLzi6nVU0jz3Pg2OmHKJ5w+D9Ogk1vhwRiqEBAqcb0GVhCyHw==
dependencies:
"@nomicfoundation/ethereumjs-common" "4.0.1"
"@nomicfoundation/ethereumjs-rlp" "5.0.1"
"@nomicfoundation/ethereumjs-trie" "6.0.1"
"@nomicfoundation/ethereumjs-tx" "5.0.1"
"@nomicfoundation/ethereumjs-util" "9.0.1"
"@nomicfoundation/[email protected].2":
version "5.0.2"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-block/-/ethereumjs-block-5.0.2.tgz#13a7968f5964f1697da941281b7f7943b0465d04"
integrity sha512-hSe6CuHI4SsSiWWjHDIzWhSiAVpzMUcDRpWYzN0T9l8/Rz7xNn3elwVOJ/tAyS0LqL6vitUD78Uk7lQDXZun7Q==
dependencies:
"@nomicfoundation/ethereumjs-common" "4.0.2"
"@nomicfoundation/ethereumjs-rlp" "5.0.2"
"@nomicfoundation/ethereumjs-trie" "6.0.2"
"@nomicfoundation/ethereumjs-tx" "5.0.2"
"@nomicfoundation/ethereumjs-util" "9.0.2"
ethereum-cryptography "0.1.3"
ethers "^5.7.1"

"@nomicfoundation/[email protected].1":
version "7.0.1"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-blockchain/-/ethereumjs-blockchain-7.0.1.tgz#80e0bd3535bfeb9baa29836b6f25123dab06a726"
integrity sha512-NhzndlGg829XXbqJEYrF1VeZhAwSPgsK/OB7TVrdzft3y918hW5KNd7gIZ85sn6peDZOdjBsAXIpXZ38oBYE5A==
dependencies:
"@nomicfoundation/ethereumjs-block" "5.0.1"
"@nomicfoundation/ethereumjs-common" "4.0.1"
"@nomicfoundation/ethereumjs-ethash" "3.0.1"
"@nomicfoundation/ethereumjs-rlp" "5.0.1"
"@nomicfoundation/ethereumjs-trie" "6.0.1"
"@nomicfoundation/ethereumjs-tx" "5.0.1"
"@nomicfoundation/ethereumjs-util" "9.0.1"
"@nomicfoundation/[email protected].2":
version "7.0.2"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-blockchain/-/ethereumjs-blockchain-7.0.2.tgz#45323b673b3d2fab6b5008535340d1b8fea7d446"
integrity sha512-8UUsSXJs+MFfIIAKdh3cG16iNmWzWC/91P40sazNvrqhhdR/RtGDlFk2iFTGbBAZPs2+klZVzhRX8m2wvuvz3w==
dependencies:
"@nomicfoundation/ethereumjs-block" "5.0.2"
"@nomicfoundation/ethereumjs-common" "4.0.2"
"@nomicfoundation/ethereumjs-ethash" "3.0.2"
"@nomicfoundation/ethereumjs-rlp" "5.0.2"
"@nomicfoundation/ethereumjs-trie" "6.0.2"
"@nomicfoundation/ethereumjs-tx" "5.0.2"
"@nomicfoundation/ethereumjs-util" "9.0.2"
abstract-level "^1.0.3"
debug "^4.3.3"
ethereum-cryptography "0.1.3"
level "^8.0.0"
lru-cache "^5.1.1"
memory-level "^1.0.0"

"@nomicfoundation/[email protected].1":
version "4.0.1"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-common/-/ethereumjs-common-4.0.1.tgz#4702d82df35b07b5407583b54a45bf728e46a2f0"
integrity sha512-OBErlkfp54GpeiE06brBW/TTbtbuBJV5YI5Nz/aB2evTDo+KawyEzPjBlSr84z/8MFfj8wS2wxzQX1o32cev5g==
"@nomicfoundation/[email protected].2":
version "4.0.2"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-common/-/ethereumjs-common-4.0.2.tgz#a15d1651ca36757588fdaf2a7d381a150662a3c3"
integrity sha512-I2WGP3HMGsOoycSdOTSqIaES0ughQTueOsddJ36aYVpI3SN8YSusgRFLwzDJwRFVIYDKx/iJz0sQ5kBHVgdDwg==
dependencies:
"@nomicfoundation/ethereumjs-util" "9.0.1"
"@nomicfoundation/ethereumjs-util" "9.0.2"
crc-32 "^1.2.0"

"@nomicfoundation/[email protected].1":
version "3.0.1"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-ethash/-/ethereumjs-ethash-3.0.1.tgz#65ca494d53e71e8415c9a49ef48bc921c538fc41"
integrity sha512-KDjGIB5igzWOp8Ik5I6QiRH5DH+XgILlplsHR7TEuWANZA759G6krQ6o8bvj+tRUz08YygMQu/sGd9mJ1DYT8w==
"@nomicfoundation/[email protected].2":
version "3.0.2"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-ethash/-/ethereumjs-ethash-3.0.2.tgz#da77147f806401ee996bfddfa6487500118addca"
integrity sha512-8PfoOQCcIcO9Pylq0Buijuq/O73tmMVURK0OqdjhwqcGHYC2PwhbajDh7GZ55ekB0Px197ajK3PQhpKoiI/UPg==
dependencies:
"@nomicfoundation/ethereumjs-block" "5.0.1"
"@nomicfoundation/ethereumjs-rlp" "5.0.1"
"@nomicfoundation/ethereumjs-util" "9.0.1"
"@nomicfoundation/ethereumjs-block" "5.0.2"
"@nomicfoundation/ethereumjs-rlp" "5.0.2"
"@nomicfoundation/ethereumjs-util" "9.0.2"
abstract-level "^1.0.3"
bigint-crypto-utils "^3.0.23"
ethereum-cryptography "0.1.3"

"@nomicfoundation/[email protected].1":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-evm/-/ethereumjs-evm-2.0.1.tgz#f35681e203363f69ce2b3d3bf9f44d4e883ca1f1"
integrity sha512-oL8vJcnk0Bx/onl+TgQOQ1t/534GKFaEG17fZmwtPFeH8S5soiBYPCLUrvANOl4sCp9elYxIMzIiTtMtNNN8EQ==
"@nomicfoundation/[email protected].2":
version "2.0.2"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-evm/-/ethereumjs-evm-2.0.2.tgz#4c2f4b84c056047102a4fa41c127454e3f0cfcf6"
integrity sha512-rBLcUaUfANJxyOx9HIdMX6uXGin6lANCulIm/pjMgRqfiCRMZie3WKYxTSd8ZE/d+qT+zTedBF4+VHTdTSePmQ==
dependencies:
"@ethersproject/providers" "^5.7.1"
"@nomicfoundation/ethereumjs-common" "4.0.1"
"@nomicfoundation/ethereumjs-tx" "5.0.1"
"@nomicfoundation/ethereumjs-util" "9.0.1"
"@nomicfoundation/ethereumjs-common" "4.0.2"
"@nomicfoundation/ethereumjs-tx" "5.0.2"
"@nomicfoundation/ethereumjs-util" "9.0.2"
debug "^4.3.3"
ethereum-cryptography "0.1.3"
mcl-wasm "^0.7.1"
rustbn.js "~0.2.0"

"@nomicfoundation/[email protected].1":
version "5.0.1"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-rlp/-/ethereumjs-rlp-5.0.1.tgz#0b30c1cf77d125d390408e391c4bb5291ef43c28"
integrity sha512-xtxrMGa8kP4zF5ApBQBtjlSbN5E2HI8m8FYgVSYAnO6ssUoY5pVPGy2H8+xdf/bmMa22Ce8nWMH3aEW8CcqMeQ==
"@nomicfoundation/[email protected].2":
version "5.0.2"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-rlp/-/ethereumjs-rlp-5.0.2.tgz#4fee8dc58a53ac6ae87fb1fca7c15dc06c6b5dea"
integrity sha512-QwmemBc+MMsHJ1P1QvPl8R8p2aPvvVcKBbvHnQOKBpBztEo0omN0eaob6FeZS/e3y9NSe+mfu3nNFBHszqkjTA==

"@nomicfoundation/[email protected].1":
version "2.0.1"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-statemanager/-/ethereumjs-statemanager-2.0.1.tgz#8824a97938db4471911e2d2f140f79195def5935"
integrity sha512-B5ApMOnlruVOR7gisBaYwFX+L/AP7i/2oAahatssjPIBVDF6wTX1K7Qpa39E/nzsH8iYuL3krkYeUFIdO3EMUQ==
"@nomicfoundation/[email protected].2":
version "2.0.2"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-statemanager/-/ethereumjs-statemanager-2.0.2.tgz#3ba4253b29b1211cafe4f9265fee5a0d780976e0"
integrity sha512-dlKy5dIXLuDubx8Z74sipciZnJTRSV/uHG48RSijhgm1V7eXYFC567xgKtsKiVZB1ViTP9iFL4B6Je0xD6X2OA==
dependencies:
"@nomicfoundation/ethereumjs-common" "4.0.1"
"@nomicfoundation/ethereumjs-rlp" "5.0.1"
"@nomicfoundation/ethereumjs-common" "4.0.2"
"@nomicfoundation/ethereumjs-rlp" "5.0.2"
debug "^4.3.3"
ethereum-cryptography "0.1.3"
ethers "^5.7.1"
js-sdsl "^4.1.4"

"@nomicfoundation/[email protected].1":
version "6.0.1"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-trie/-/ethereumjs-trie-6.0.1.tgz#662c55f6b50659fd4b22ea9f806a7401cafb7717"
integrity sha512-A64It/IMpDVODzCgxDgAAla8jNjNtsoQZIzZUfIV5AY6Coi4nvn7+VReBn5itlxMiL2yaTlQr9TRWp3CSI6VoA==
"@nomicfoundation/[email protected].2":
version "6.0.2"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-trie/-/ethereumjs-trie-6.0.2.tgz#9a6dbd28482dca1bc162d12b3733acab8cd12835"
integrity sha512-yw8vg9hBeLYk4YNg5MrSJ5H55TLOv2FSWUTROtDtTMMmDGROsAu+0tBjiNGTnKRi400M6cEzoFfa89Fc5k8NTQ==
dependencies:
"@nomicfoundation/ethereumjs-rlp" "5.0.1"
"@nomicfoundation/ethereumjs-util" "9.0.1"
"@nomicfoundation/ethereumjs-rlp" "5.0.2"
"@nomicfoundation/ethereumjs-util" "9.0.2"
"@types/readable-stream" "^2.3.13"
ethereum-cryptography "0.1.3"
readable-stream "^3.6.0"

"@nomicfoundation/[email protected].1":
version "5.0.1"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-tx/-/ethereumjs-tx-5.0.1.tgz#7629dc2036b4a33c34e9f0a592b43227ef4f0c7d"
integrity sha512-0HwxUF2u2hrsIM1fsasjXvlbDOq1ZHFV2dd1yGq8CA+MEYhaxZr8OTScpVkkxqMwBcc5y83FyPl0J9MZn3kY0w==
"@nomicfoundation/[email protected].2":
version "5.0.2"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-tx/-/ethereumjs-tx-5.0.2.tgz#117813b69c0fdc14dd0446698a64be6df71d7e56"
integrity sha512-T+l4/MmTp7VhJeNloMkM+lPU3YMUaXdcXgTGCf8+ZFvV9NYZTRLFekRwlG6/JMmVfIfbrW+dRRJ9A6H5Q/Z64g==
dependencies:
"@chainsafe/ssz" "^0.9.2"
"@ethersproject/providers" "^5.7.2"
"@nomicfoundation/ethereumjs-common" "4.0.1"
"@nomicfoundation/ethereumjs-rlp" "5.0.1"
"@nomicfoundation/ethereumjs-util" "9.0.1"
"@nomicfoundation/ethereumjs-common" "4.0.2"
"@nomicfoundation/ethereumjs-rlp" "5.0.2"
"@nomicfoundation/ethereumjs-util" "9.0.2"
ethereum-cryptography "0.1.3"

"@nomicfoundation/[email protected].1":
version "9.0.1"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-util/-/ethereumjs-util-9.0.1.tgz#530cda8bae33f8b5020a8f199ed1d0a2ce48ec89"
integrity sha512-TwbhOWQ8QoSCFhV/DDfSmyfFIHjPjFBj957219+V3jTZYZ2rf9PmDtNOeZWAE3p3vlp8xb02XGpd0v6nTUPbsA==
"@nomicfoundation/[email protected].2":
version "9.0.2"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-util/-/ethereumjs-util-9.0.2.tgz#16bdc1bb36f333b8a3559bbb4b17dac805ce904d"
integrity sha512-4Wu9D3LykbSBWZo8nJCnzVIYGvGCuyiYLIJa9XXNVt1q1jUzHdB+sJvx95VGCpPkCT+IbLecW6yfzy3E1bQrwQ==
dependencies:
"@chainsafe/ssz" "^0.10.0"
"@nomicfoundation/ethereumjs-rlp" "5.0.1"
"@nomicfoundation/ethereumjs-rlp" "5.0.2"
ethereum-cryptography "0.1.3"

"@nomicfoundation/[email protected].1":
version "7.0.1"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-vm/-/ethereumjs-vm-7.0.1.tgz#7d035e0993bcad10716c8b36e61dfb87fa3ca05f"
integrity sha512-rArhyn0jPsS/D+ApFsz3yVJMQ29+pVzNZ0VJgkzAZ+7FqXSRtThl1C1prhmlVr3YNUlfpZ69Ak+RUT4g7VoOuQ==
dependencies:
"@nomicfoundation/ethereumjs-block" "5.0.1"
"@nomicfoundation/ethereumjs-blockchain" "7.0.1"
"@nomicfoundation/ethereumjs-common" "4.0.1"
"@nomicfoundation/ethereumjs-evm" "2.0.1"
"@nomicfoundation/ethereumjs-rlp" "5.0.1"
"@nomicfoundation/ethereumjs-statemanager" "2.0.1"
"@nomicfoundation/ethereumjs-trie" "6.0.1"
"@nomicfoundation/ethereumjs-tx" "5.0.1"
"@nomicfoundation/ethereumjs-util" "9.0.1"
"@nomicfoundation/[email protected].2":
version "7.0.2"
resolved "https://registry.yarnpkg.com/@nomicfoundation/ethereumjs-vm/-/ethereumjs-vm-7.0.2.tgz#3b0852cb3584df0e18c182d0672a3596c9ca95e6"
integrity sha512-Bj3KZT64j54Tcwr7Qm/0jkeZXJMfdcAtRBedou+Hx0dPOSIgqaIr0vvLwP65TpHbak2DmAq+KJbW2KNtIoFwvA==
dependencies:
"@nomicfoundation/ethereumjs-block" "5.0.2"
"@nomicfoundation/ethereumjs-blockchain" "7.0.2"
"@nomicfoundation/ethereumjs-common" "4.0.2"
"@nomicfoundation/ethereumjs-evm" "2.0.2"
"@nomicfoundation/ethereumjs-rlp" "5.0.2"
"@nomicfoundation/ethereumjs-statemanager" "2.0.2"
"@nomicfoundation/ethereumjs-trie" "6.0.2"
"@nomicfoundation/ethereumjs-tx" "5.0.2"
"@nomicfoundation/ethereumjs-util" "9.0.2"
debug "^4.3.3"
ethereum-cryptography "0.1.3"
mcl-wasm "^0.7.1"
Expand Down Expand Up @@ -1929,23 +1929,23 @@ graceful-fs@^4.1.2, graceful-fs@^4.1.6, graceful-fs@^4.1.9, graceful-fs@^4.2.0,
resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.11.tgz#4183e4e8bf08bb6e05bbb2f7d2e0c8f712ca40e3"
integrity sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==

hardhat@^2.12.4:
version "2.17.1"
resolved "https://registry.yarnpkg.com/hardhat/-/hardhat-2.17.1.tgz#4b6c8c8f624fd23d9f40185a4af24815d05a486a"
integrity sha512-1PxRkfjhEzXs/wDxI5YgzYBxNmvzifBTjYzuopwel+vXpAhCudplusJthN5eig0FTs4qbi828DBIITEDh8x9LA==
hardhat@^2.19.4:
version "2.19.4"
resolved "https://registry.yarnpkg.com/hardhat/-/hardhat-2.19.4.tgz#5112c30295d8be2e18e55d847373c50483ed1902"
integrity sha512-fTQJpqSt3Xo9Mn/WrdblNGAfcANM6XC3tAEi6YogB4s02DmTf93A8QsGb8uR0KR8TFcpcS8lgiW4ugAIYpnbrQ==
dependencies:
"@ethersproject/abi" "^5.1.2"
"@metamask/eth-sig-util" "^4.0.0"
"@nomicfoundation/ethereumjs-block" "5.0.1"
"@nomicfoundation/ethereumjs-blockchain" "7.0.1"
"@nomicfoundation/ethereumjs-common" "4.0.1"
"@nomicfoundation/ethereumjs-evm" "2.0.1"
"@nomicfoundation/ethereumjs-rlp" "5.0.1"
"@nomicfoundation/ethereumjs-statemanager" "2.0.1"
"@nomicfoundation/ethereumjs-trie" "6.0.1"
"@nomicfoundation/ethereumjs-tx" "5.0.1"
"@nomicfoundation/ethereumjs-util" "9.0.1"
"@nomicfoundation/ethereumjs-vm" "7.0.1"
"@nomicfoundation/ethereumjs-block" "5.0.2"
"@nomicfoundation/ethereumjs-blockchain" "7.0.2"
"@nomicfoundation/ethereumjs-common" "4.0.2"
"@nomicfoundation/ethereumjs-evm" "2.0.2"
"@nomicfoundation/ethereumjs-rlp" "5.0.2"
"@nomicfoundation/ethereumjs-statemanager" "2.0.2"
"@nomicfoundation/ethereumjs-trie" "6.0.2"
"@nomicfoundation/ethereumjs-tx" "5.0.2"
"@nomicfoundation/ethereumjs-util" "9.0.2"
"@nomicfoundation/ethereumjs-vm" "7.0.2"
"@nomicfoundation/solidity-analyzer" "^0.1.0"
"@sentry/node" "^5.18.1"
"@types/bn.js" "^5.1.0"
Expand Down

0 comments on commit 3e76bd5

Please sign in to comment.