Skip to content

Commit

Permalink
try to fix storage II
Browse files Browse the repository at this point in the history
  • Loading branch information
martinvol committed Oct 6, 2024
1 parent 1642a97 commit b825e9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/protocol/contracts/common/FeeHandler.sol
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ contract FeeHandler is
}

struct Beneficiary {
// uint256 fraction;
FixidityLib.Fraction fraction;
string name;
bool exists;
Expand All @@ -66,7 +65,7 @@ contract FeeHandler is
uint256 public constant MIN_BURN = 200;

// last day the daily limits were updated
uint256 private _lastLimitDay; // deprecated
uint256 public _dprecated_lastLimitDay; // deprecated

// TODO try to make this private if it doesn't break storage
// reason it's inverse it's because it used to be burnFraction and was migrated
Expand All @@ -83,8 +82,9 @@ contract FeeHandler is

// Celo not included in this list
EnumerableSet.AddressSet private activeTokens;

// does not include carbon fund
FixidityLib.Fraction private totalFractionOfOtherBeneficiaries; // TODO this can be a function, withou the carbon fund, TODO add getter
FixidityLib.Fraction private totalFractionOfOtherBeneficiaries;

mapping(address => Beneficiary) private otherBeneficiaries;
EnumerableSet.AddressSet private otherBeneficiariesAddresses;
Expand Down

0 comments on commit b825e9e

Please sign in to comment.