-
Notifications
You must be signed in to change notification settings - Fork 238
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
Problem: no header hash from fallback historicalInfo #1630
Conversation
and reduce DefaultHeaderHashNum to 256
WalkthroughThe pull request includes significant updates across several files, primarily focusing on the Changes
Possibly related PRs
Suggested reviewers
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 using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1630 +/- ##
===========================================
+ Coverage 17.87% 36.31% +18.43%
===========================================
Files 72 123 +51
Lines 5168 9715 +4547
===========================================
+ Hits 924 3528 +2604
- Misses 4121 5773 +1652
- Partials 123 414 +291 |
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
🧹 Outside diff range and nitpick comments (1)
integration_tests/test_upgrade.py (1)
289-289
: LGTM: Assertion forheader_hash_num
added.The new assertion correctly checks that the
header_hash_num
parameter is set to "256" after the upgrade, which aligns with the PR objective of reducingDefaultHeaderHashNum
to 256.Consider adding a brief comment explaining the significance of this value change for better code documentation:
# Verify that DefaultHeaderHashNum has been reduced to 256 as per the upgrade assert cli.query_params("evm")["header_hash_num"] == "256", p
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (1)
- integration_tests/test_upgrade.py (1 hunks)
🧰 Additional context used
🔇 Additional comments (1)
integration_tests/test_upgrade.py (1)
290-291
:⚠️ Potential issuePlease clarify the removal of the
icaauth
parameter.The test now expects an AssertionError when querying the
icaauth
parameter. This is a significant change in behavior that wasn't explicitly mentioned in the PR objectives or summary.Could you please provide more context on why this parameter has been removed and what implications this has for the system? Additionally, consider adding a comment in the code explaining this change.
To verify the removal of the
icaauth
parameter across the codebase, please run the following script:This will help us understand if the removal of the
icaauth
parameter is consistent across the codebase and if there are any remaining references that need to be addressed.
👮🏻👮🏻👮🏻 !!!! REFERENCE THE PROBLEM YOUR ARE SOLVING IN THE PR TITLE AND DESCRIBE YOUR SOLUTION HERE !!!! DO NOT FORGET !!!! 👮🏻👮🏻👮🏻
and reduce DefaultHeaderHashNum to 256, for more info
PR Checklist:
make
)make test
)go fmt
)golangci-lint run
)go list -json -m all | nancy sleuth
)Thank you for your code, it's appreciated! :)
Summary by CodeRabbit
New Features
iavl 1.2.0
.Improvements
Bug Fixes
Documentation
CHANGELOG.md
to reflect recent changes and improvements.