Skip to content

Commit

Permalink
Merge pull request #36 from VenusProtocol/feat/VEN-2741
Browse files Browse the repository at this point in the history
[VEN-2741][VEN-2742]: XVS & XVS bridge deployment on zksync
  • Loading branch information
GitGuru7 authored Sep 2, 2024
2 parents bdc6396 + 40dd5bd commit fe0472e
Show file tree
Hide file tree
Showing 16 changed files with 9,920 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ DEPLOYER_PRIVATE_KEY=
#ARCHIVE_NODE_opbnbmainnet=https://opbnb-mainnet.nodereal.io/v1/<YOUR_KEY_HERE>
#ARCHIVE_NODE_arbitrumsepolia="https://sepolia-rollup.arbitrum.io/rpc"
#ARCHIVE_NODE_arbitrumone="https://open-platform.nodereal.io/<YOUR_KEY_HERE>/arbitrum-nitro/"
#ARCHIVE_NODE_zksyncsepolia=https://zksync-sepolia.g.alchemy.com/v2/<YOUR_KEY_HERE>
#ARCHIVE_NODE_zksyncsepolia=https://zksync-sepolia.g.alchemy.com/v2/<YOUR_KEY_HERE>
#ARCHIVE_NODE_zksyncmainnet=https://open-platform.nodereal.io/<YOUR_KEY_HERE>/zksync
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ jobs:
EXPORT=true yarn hardhat export --network ${NETWORK} --export ./deployments/${NETWORK}.json
jq -M '{name, chainId, addresses: .contracts | map_values(.address)}' ./deployments/${NETWORK}.json > ./deployments/${NETWORK}_addresses.json
done
for NETWORK in zksyncsepolia; do
for NETWORK in zksyncsepolia zksyncmainnet; do
EXPORT=true yarn hardhat export --network ${NETWORK} --export ./deployments/${NETWORK}.json --config hardhat.config.zksync.ts
jq -M '{name, chainId, addresses: .contracts | map_values(.address)}' ./deployments/${NETWORK}.json > ./deployments/${NETWORK}_addresses.json
done
Expand Down
2 changes: 1 addition & 1 deletion deploy/002-xvs-bridge-remote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
const XVSProxyOFTDest = await deploy("XVSProxyOFTDest", {
from: deployer,
contract: "XVSProxyOFTDest",
args: [XVS.address, 8, preconfiguredAddresses.LzEndpoint, resilientOracle],
args: [XVS.address, 8, preconfiguredAddresses.LzEndpoint, resilientOracle.address],
autoMine: true,
log: true,
skipIfAlreadyDeployed: true,
Expand Down
Loading

0 comments on commit fe0472e

Please sign in to comment.