-
Notifications
You must be signed in to change notification settings - Fork 240
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: invalid txs_results returned for legacy ABCI responses #1485
Conversation
WalkthroughThis update primarily concerns upgrading the dependency Changes
Poem
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 (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1485 +/- ##
=======================================
Coverage 35.87% 35.87%
=======================================
Files 136 136
Lines 9809 9809
=======================================
Hits 3519 3519
Misses 5894 5894
Partials 396 396 |
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: 2
Outside diff range and nitpick comments (1)
integration_tests/test_upgrade.py (1)
164-164
: Add comments to explain each step for better clarity.The
do_upgrade
function would benefit from additional comments to explain the purpose of each step.def do_upgrade(plan_name, target, mode=None): # Propose the upgrade rsp = cli.gov_propose_legacy( "community", "software-upgrade", { "name": plan_name, "title": "upgrade test", "description": "ditto", "upgrade-height": target, "deposit": "10000basetcro", }, mode=mode, ) assert rsp["code"] == 0, rsp["raw_log"] approve_proposal(c, rsp["logs"][0]["events"]) # Update the CLI chain binary to the new version c.chain_binary = ( Path(c.chain_binary).parent.parent.parent / f"{plan_name}/bin/cronosd" ) # Wait for the block to pass the target height wait_for_block(c.cosmos_cli(), target + 2, timeout=480) wait_for_port(ports.rpc_port(base_port))
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files ignored due to path filters (1)
go.sum
is excluded by!**/*.sum
Files selected for processing (3)
- go.mod (1 hunks)
- gomod2nix.toml (1 hunks)
- integration_tests/test_upgrade.py (9 hunks)
Files skipped from review due to trivial changes (2)
- go.mod
- gomod2nix.toml
For more info
👮🏻👮🏻👮🏻 !!!! REFERENCE THE PROBLEM YOUR ARE SOLVING IN THE PR TITLE AND DESCRIBE YOUR SOLUTION HERE !!!! DO NOT FORGET !!!! 👮🏻👮🏻👮🏻
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
Bug Fixes
Chores
github.com/cometbft/cometbft
dependency to versionv0.38.10-0.20240709120009-0792c8bdda44
.