Skip to content

Conversation

brimigs
Copy link
Contributor

@brimigs brimigs commented Aug 31, 2023

The incentive contract inherits the version of the workspace in red-bank:Cargo.toml. During initialization, the version is indeed set correctly. However, during migration, the contract version is not updated in red-bank:contracts/incentives/src/contract.rs:767-769.
This could lead to confusion during future migrations as it will not be possible to be certain which version of the contract is deployed in production.

@brimigs brimigs changed the base branch from master to release/mars-v2 August 31, 2023 01:48
@brimigs brimigs requested a review from piobab August 31, 2023 01:49
@piobab piobab changed the title Contract version update MP-3299, Oak no. 8, contract version update. MP-3310, Oak no. 19, provide whitelist count. Aug 31, 2023
@piobab
Copy link
Collaborator

piobab commented Aug 31, 2023

I am closing this PR. It is incomplete -> incentives state changed and it requires more state migration. It will be handled in separate PR. Fix for whitelist extracted here #316

@piobab piobab closed this Aug 31, 2023
@piobab piobab deleted the contract-version-update branch September 14, 2023 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants