-
Notifications
You must be signed in to change notification settings - Fork 385
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
fix: MajorUpgradeToV2 e2e test #3345
fix: MajorUpgradeToV2 e2e test #3345
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the error was caused by me updating DefaultConsensusParams version to v2 while working on minfee module
Warning Rate Limit Exceeded@ninabarbakadze has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 17 minutes and 36 seconds before requesting another review. How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. WalkthroughThe changes entail updates to function parameters and method signatures, introducing new functionalities, and refactoring existing code to support versioning and upgrade logic. These modifications aim to enhance the application's ability to manage different versions and upgrades effectively, ensuring compatibility and robustness in network operations. Changes
Assessment against linked issues
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought I fixed this problem beforehand. I guess this got lost when we refactored this to a binary.
I think you just need to add the line
testnet.SetConsensusParams(app.DefaultInitialConsensusParams())
in MajorUpgradeToV2 and it should work
d9b793b
to
8b288f5
Compare
8b288f5
to
5417a07
Compare
Co-authored-by: Rootul P <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! though I'll defer it to Callum for final approval.
77875c3
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Out of diff range and nitpick comments (2)
test/e2e/check_upgrades.go (2)
Line range hint
22-102
: Consider refactoringMinorVersionCompatibility
to improve readability and maintainability. Breaking down the function into smaller, more focused helper functions can make the code easier to understand and test.
145-145
: The file should adhere to Go formatting standards. Consider runninggofumpt
to format the file according to Go's more stringent style guidelines.
Overview
fixes #3321