Skip to content

Commit

Permalink
Merge pull request #11 from VenusProtocol/chore/VEN-2191
Browse files Browse the repository at this point in the history
[VEN-2191]: add opbnbtestnet and opbnbmainnet to the ci step to extract addresses
  • Loading branch information
chechu authored Dec 18, 2023
2 parents 3c55e8f + db0c067 commit 07f0d87
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:

- name: Export deployments
run: |
for NETWORK in bsctestnet bscmainnet ethereum sepolia; do
for NETWORK in bsctestnet bscmainnet ethereum sepolia opbnbtestnet opbnbmainnet; do
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
Expand Down
5 changes: 5 additions & 0 deletions deployments/opbnbmainnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "opbnbmainnet",
"chainId": "204",
"contracts": {}
}
5 changes: 5 additions & 0 deletions deployments/opbnbmainnet_addresses.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "opbnbmainnet",
"chainId": "204",
"addresses": {}
}
7 changes: 7 additions & 0 deletions deployments/opbnbtestnet_addresses.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "opbnbtestnet",
"chainId": "5611",
"addresses": {
"XVS": "0x3d0e20D4caD958bc848B045e1da19Fe378f86f03"
}
}

0 comments on commit 07f0d87

Please sign in to comment.