Fix variable sort order in contract
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Release Drafter / Update release notes draft (pull_request) Successful in 4s

New variables have to be added at the end, because otherwise the
existing slots would be mixed up.

Co-authored-by: Michael Bumann <hello@michaelbumann.com>
This commit is contained in:
Râu Cao 2023-04-27 11:04:19 +02:00
parent b49d1130a9
commit 2692613b9a
Signed by: raucao
GPG Key ID: 15E65F399D084BA9

View File

@ -13,7 +13,6 @@ interface IContributionBalance {
contract Contributor is Initializable {
address public deployer;
address public profileManager;
IContributionBalance public contributionContract;
IToken public tokenContract;
@ -30,6 +29,8 @@ contract Contributor is Initializable {
mapping (uint32 => Contributor) public contributors;
uint32 public contributorsCount;
address public profileManager;
event ContributorProfileUpdated(uint32 id, bytes32 oldHashDigest, bytes32 newHashDigest); // what should be logged
event ContributorAccountUpdated(uint32 id, address oldAccount, address newAccount);
event ContributorAdded(uint32 id, address account);