Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[VEN-2212]: Fix for MAX_PERCENT in PSR #47

Merged
merged 1 commit into from
Dec 11, 2023
Merged

[VEN-2212]: Fix for MAX_PERCENT in PSR #47

merged 1 commit into from
Dec 11, 2023

Conversation

Debugger022
Copy link
Contributor

Description

This PR contains fix regarding MAX_PERCENT used when executing addOrUpdateDistributionConfigs() for defining the percentage to transfer amounts to destinations.

Resolves #VEN-2212

Copy link
Member

@chechu chechu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The function getPercentageDistribution returns the percentage, but typed as a uint256. I understand we don't need to change anything, and it's not a breaking change, because the legacy uint8 was casted to uint256 and the new uint16 will be casted also to uint256

@Debugger022 Debugger022 merged commit ca04b4c into develop Dec 11, 2023
4 checks passed
@coreyar coreyar deleted the VEN-2212 branch December 22, 2023 13:00
@chechu chechu mentioned this pull request Dec 27, 2023
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