Closed yihuang closed 2 weeks ago
The pull request modifies the configuration of validators in integration_tests/configs/rollback.jsonnet
, replacing the 'fullnode' validator with 'rollback-test-memiavl' and introducing a new 'rollback-test-iavl' validator. Additionally, it updates the test logic in integration_tests/test_rollback.py
by renaming the update_node2_cmd
function to update_node_cmd
for improved scalability and generalization, allowing it to handle multiple nodes. The test logic is further enhanced to dynamically manage commands for both nodes 2 and 3.
File | Change Summary |
---|---|
integration_tests/configs/rollback.jsonnet | - Replaced validator 'fullnode' with 'rollback-test-memiavl' (enabled memiavl ).- Added new validator 'rollback-test-iavl' (disabled memiavl ). |
integration_tests/test_rollback.py | - Renamed function update_node2_cmd to update_node_cmd for handling multiple nodes.- Updated test_rollback logic to support dynamic handling of nodes 2 and 3. |
memiavl/db.go
regarding the handling of change sets may relate to the memiavl
feature mentioned in the main PR, as both involve modifications to the memiavl
functionality.iavl
dependency, which is relevant to the changes in validator configurations in the main PR that involve memiavl
and iavl
features.In the meadow, changes bloom,
Validators shift, dispelling gloom.
From 'fullnode' to 'rollback-test',
New commands for nodes, we do our best!
With each update, our code takes flight,
Hopping forward, all feels right! ๐โจ
[!WARNING]
Rate limit exceeded
@yihuang has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 15 minutes and 13 seconds before requesting another review.
โ How to resolve this issue?
After the wait time has elapsed, a review can be triggered using the `@coderabbitai review` command as a PR comment. Alternatively, push new commits to this PR. 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. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our [FAQ](https://coderabbit.ai/docs/faq) for further information.๐ฅ Commits
Reviewing files that changed from the base of the PR and between 3e109f43a7886eb1ac40d45b9e84303cfcac1c86 and b355ad443cee6a9207ed010fcc443ee53b42d9ec.
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?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 11.63%. Comparing base (
6dc645a
) to head (b355ad4
). Report is 1 commits behind head on main.:exclamation: There is a different number of reports uploaded between BASE (6dc645a) and HEAD (b355ad4). Click for more details.
HEAD has 21 uploads less than BASE
| Flag | BASE (6dc645a) | HEAD (b355ad4) | |------|------|------| ||2|0| |integration_tests|20|1|
๐ฎ๐ป๐ฎ๐ป๐ฎ๐ป !!!! 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
Refactor