Skip to content

Commit

Permalink
0.9.16, treasury builder only
Browse files Browse the repository at this point in the history
  • Loading branch information
jac18281828 committed Jul 7, 2023
1 parent a9e2a6a commit 5c842d3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/testnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,8 @@ jobs:
run: |
forge create --json --contracts contracts/Constant.sol --rpc-url ${RPC_URL} --private-key ${PRIVATE_KEY} Constant | tee Constant.sol.json
- name: Deploy Collective Governance to Testnet
run: |
export DEPLOYED_LIBRARY=$(bin/library.py Constant.sol.json)
echo "Using library ${DEPLOYED_LIBRARY}"
BUILDER_ADDRESS=0xa36e161361A16D75534d565480e62cE474BaC9f3 forge script ./script/DeployCommunityBuilder.sol --sig 'upgrade()' --libraries ${DEPLOYED_LIBRARY} --slow --broadcast --rpc-url ${RPC_URL} --private-key ${PRIVATE_KEY}
BUILDER_ADDRESS=0x9fB5a925E61c31617129B5D030808939DADA99f7 forge script ./script/DeployCollective.sol --sig 'upgrade()' --libraries ${DEPLOYED_LIBRARY} --slow --broadcast --rpc-url ${RPC_URL} --private-key ${PRIVATE_KEY}
- name: Deploy to Treasury Builder to Testnet
run: |
export DEPLOYED_LIBRARY=$(bin/library.py Constant.sol.json)
echo "Using library ${DEPLOYED_LIBRARY}"
ECDSA_LIB_ADDRESS=0xe9e21aaEaEad9c57C1F4c622915fFB54f9Ebe338 forge script ./script/DeployTreasuryBuilder.sol --sig 'upgrade()' --libraries ./lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol:ECDSA:${ECDSA_LIB_ADDRESS} --libraries contracts/Constant.sol:Constant:${DEPLOYED_LIBRARY} --slow --broadcast --rpc-url ${RPC_URL} --private-key ${PRIVATE_KEY}
ECDSA_LIB_ADDRESS=0xe9e21aaEaEad9c57C1F4c622915fFB54f9Ebe338 forge script ./script/DeployTreasuryBuilder.sol --sig 'deploy()' --libraries ./lib/openzeppelin-contracts/contracts/utils/cryptography/ECDSA.sol:ECDSA:${ECDSA_LIB_ADDRESS} --libraries contracts/Constant.sol:Constant:${DEPLOYED_LIBRARY} --slow --broadcast --rpc-url ${RPC_URL} --private-key ${PRIVATE_KEY}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.9.16 (2023-07-07)

- treasury builder only deployment

# 0.9.15 (2023-07-07)

- fix for flickering test
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "collective-governance-v1",
"version": "0.9.15",
"version": "0.9.16",
"description": "Open Source Community Governance Smart Contract",
"main": "index.js",
"directories": {
Expand Down

0 comments on commit 5c842d3

Please sign in to comment.