-
Notifications
You must be signed in to change notification settings - Fork 39
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
Enhance Cardano transactions rollbacks #1917
Enhance Cardano transactions rollbacks #1917
Conversation
Test Results 4 files ±0 53 suites ±0 9m 17s ⏱️ -9s Results for commit 9eae92d. ± Comparison against base commit aff35a8. This pull request removes 1 and adds 3 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
f330e1a
to
733fc67
Compare
733fc67
to
88fdac2
Compare
88fdac2
to
f4a7779
Compare
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.
just some comments on the form in the tests
internal/mithril-persistence/src/database/repository/cardano_transaction_repository.rs
Show resolved
Hide resolved
internal/mithril-persistence/src/database/query/cardano_transaction/get_cardano_transaction.rs
Show resolved
Hide resolved
internal/mithril-persistence/src/database/repository/cardano_transaction_repository.rs
Show resolved
Hide resolved
f4a7779
to
1f2b0b6
Compare
1f2b0b6
to
87a56a9
Compare
87a56a9
to
a9b3324
Compare
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
internal/mithril-persistence/src/database/query/cardano_transaction/get_cardano_transaction.rs
Show resolved
Hide resolved
…dano transaction repository
internal/mithril-persistence/src/database/repository/cardano_transaction_repository.rs
Show resolved
Hide resolved
internal/mithril-persistence/src/database/query/cardano_transaction/get_cardano_transaction.rs
Show resolved
Hide resolved
Does not trigger an error when no block exists above the slot number, also find the closest block above the slot number if rolled back block does not have transaction.
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.
Just two minor comments but LGTM 👍 . I'm waiting for the modification of the SQL condition before approving.
- 'mithril-persistence' from '0.2.25' to '0.2.26' - 'mithril-aggregator' from '0.5.61' to '0.5.62' - 'mithril-common' from '0.4.50' to '0.4.51' - 'mithril-signer' from '0.2.180' to '0.2.181'.
a9b3324
to
9eae92d
Compare
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 🚀
Content
This PR includes some enhancements to the handling of Cardano transactions rollbacks:
Pre-submit checklist
Issue(s)
Relates to #1840
Closes #1929