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(rust/cardano-chain-follower): Cleanup updating follower state after getting a new update #250

Merged

Conversation

Mr-Leshiy
Copy link
Contributor

Description

Made a small cleanup of localising applying update for the follower state under one method update_current.

@Mr-Leshiy Mr-Leshiy requested a review from stevenj March 23, 2025 18:15
@Mr-Leshiy Mr-Leshiy self-assigned this Mar 23, 2025
@Mr-Leshiy Mr-Leshiy added the review me PR is ready for review label Mar 23, 2025
Copy link
Contributor

github-actions bot commented Mar 23, 2025

Test Report | ${\color{lightgreen}Pass: 309/309}$ | ${\color{red}Fail: 0/309}$ |

Copy link
Collaborator

@stevenj stevenj left a comment

Choose a reason for hiding this comment

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

I don't have a problem with these changes, however don't merge them until you have validated our theory about the immutable follower failing.

@stevenj stevenj marked this pull request as draft March 24, 2025 14:22
@stevenj stevenj marked this pull request as ready for review March 25, 2025 05:19
@Mr-Leshiy Mr-Leshiy requested a review from stevenj March 25, 2025 09:36
@Mr-Leshiy Mr-Leshiy merged commit cbb929c into fix/immutable-roll-forward Mar 25, 2025
22 checks passed
@Mr-Leshiy Mr-Leshiy deleted the fix/immutable-roll-forward-cleanup branch March 25, 2025 10:45
Mr-Leshiy added a commit that referenced this pull request Mar 25, 2025
…245)

* fix(rust/cardano-chain-follower): fix immutable roll forward event generation

* fix(rust/cardano-chain-follower): remove excessive debug log

* fix(rust/cardano-chain-follower): Properly log and handle Immutable Roll Forwards in the example

* fix(rust/cardano-chain-follower): Add comments and adjust debug log to be more accurate

* fix(rust/cardano-chain-follower): Improve comments and update immutable_tip in the `update_current` function only.

* fix(rust/cardano-chain-follower): Finally fixes reporting of immutable roll forward events.

* chore(rust/cardano-chain-follower): Cleanup updating follower state after getting a new update (#250)

* cleanup update_current method usage

* wip

* add tests

* Update rust/cardano-chain-follower/src/follow.rs

Co-authored-by: Steven Johnson <[email protected]>

* Update rust/cardano-chain-follower/src/follow.rs

Co-authored-by: Steven Johnson <[email protected]>

* wip

* fix spelling

---------

Co-authored-by: Steven Johnson <[email protected]>

---------

Co-authored-by: Alex Pozhylenkov <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review me PR is ready for review
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants