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

chore: Fix flunky TestValidateParsedMessageAgainstTheParams #252

Merged

Conversation

gitferry
Copy link
Member

@gitferry gitferry commented Nov 6, 2024

Closes #251. The flunky is caused due to the fact that the test uses uint16 type for the stakingTimeBlocks which is generated in a range of min and max staking time (0, 100000). However, the max value of uint16 is 65535. This PR changes the value of max staking time to 10000 to avoid overflow.

@gitferry gitferry changed the title fix flunky chore: Fix flunky TestValidateParsedMessageAgainstTheParams Nov 6, 2024
@gitferry gitferry marked this pull request as ready for review November 6, 2024 01:57
@gitferry gitferry requested a review from a team as a code owner November 6, 2024 01:57
@gitferry gitferry requested review from KonradStaniec and RafilxTenfen and removed request for a team November 6, 2024 01:57
Copy link
Contributor

@RafilxTenfen RafilxTenfen left a comment

Choose a reason for hiding this comment

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

LGTM

@gitferry gitferry merged commit 232f604 into main Nov 6, 2024
19 checks passed
@gitferry gitferry deleted the gai/fix-flunky-TestValidateParsedMessageAgainstTheParams branch November 6, 2024 02:36
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.

Flunky TestValidateParsedMessageAgainstTheParams
2 participants