From c1307cc931b88761a3b7947e20cc1b090017c92c Mon Sep 17 00:00:00 2001 From: Dan Rusnac Date: Mon, 21 Oct 2024 13:19:00 +0200 Subject: [PATCH] chore: add changelog --- CONTRACTS_CHANGELOG.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/CONTRACTS_CHANGELOG.md b/CONTRACTS_CHANGELOG.md index 4e8f236..7aeb917 100644 --- a/CONTRACTS_CHANGELOG.md +++ b/CONTRACTS_CHANGELOG.md @@ -6,6 +6,7 @@ This document provides a detailed log of upgrades to the smart contract suite, e | Date | Contract(s) | Summary | | ------------------- | --------------------------------------------------------- | ----------------------------------------------------------- | +| 21th October 2024 | `VeBetterPassport` version `2` | Check if the entity is a delegatee when request is created | | 11th October 2024 | `XAllocationVoting` version `2` | Check isPerson when casting vote & fixed weight during vote | | 11th October 2024 | `B3TRGovernor` version `4` | Check isPerson when casting vote | | 11th October 2024 | `X2EarnRewardsPool` version `3` | Register action in VeBetter Passport contract | @@ -17,6 +18,30 @@ This document provides a detailed log of upgrades to the smart contract suite, e --- +## Upgrade `VeBetterPassport` to Version 2 + +Added check to ensure entity is not a delegatee or pending delegatee when making entity link request. + +### Changes 🚀 + +- **Upgraded Contract(s):** + - `VeBetterPassport.sol` to version `2` + +### Storage Changes 📦 + +- None. + +### New Features 🚀 + +- None. + +### Bug Fixes 🐛 + +- **`VeBetterPassport.sol`**: + - Added check to ensure entity is not a delegatee or pending delegatee when making entity link request. + +--- + ## Upgrade `XAllocationVoting` to Version 2, `B3TRGovernor` to version 4, and `X2EarnRewardsPool` to version 3 (9th October 2024) This upgrade ensures that the `isPerson` check is performed when casting a vote in the `XAllocationVoting` and `B3TRGovernor` contracts. Additionally, the `X2EarnRewardsPool` contract now registers actions in the `VeBetter Passport` contract.