From 243ff623f4efe84b84cb1912a1300b2ab518e818 Mon Sep 17 00:00:00 2001 From: John Cairns Date: Thu, 6 Jul 2023 16:23:31 -0500 Subject: [PATCH] 0.9.13, v6 contract --- .github/workflows/testnet.yml | 5 +++++ CHANGELOG.md | 4 ++++ contracts/Constant.sol | 2 +- package.json | 4 ++-- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/testnet.yml b/.github/workflows/testnet.yml index 7144150..cc23736 100644 --- a/.github/workflows/testnet.yml +++ b/.github/workflows/testnet.yml @@ -64,4 +64,9 @@ jobs: 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 + 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 '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} diff --git a/CHANGELOG.md b/CHANGELOG.md index 85ce851..1596a66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 0.9.13 (2023-07-06) + +- v6 contract version + # 0.9.12 (2023-07-06) - fix deployment for treasury builder diff --git a/contracts/Constant.sol b/contracts/Constant.sol index be59190..00dcfdf 100644 --- a/contracts/Constant.sol +++ b/contracts/Constant.sol @@ -98,7 +98,7 @@ library Constant { uint256 public constant MAXIMUM_REBATE_BASE_FEE = 200 gwei; /// software versions - uint32 public constant CURRENT_VERSION = 5; + uint32 public constant CURRENT_VERSION = 6; /// @notice Compute the length of any string in solidity /// @dev This method is expensive and is used only for validating diff --git a/package.json b/package.json index ec13dd4..352724c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "collective-governance-v1", - "version": "0.9.12", + "version": "0.9.13", "description": "Open Source Community Governance Smart Contract", "main": "index.js", "directories": { @@ -36,4 +36,4 @@ "url": "https://github.com/collectivexyz/collective-governance-v1/issues" }, "homepage": "https://collectivexyz.github.io/collective-governance-v1" -} +} \ No newline at end of file