-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Remove 'new parent hash' assert #5313
Conversation
This assert is known to occasionally trigger, without causing errors downstream. Replace it with a log message.
Thank you for taking care of this nagging issue. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #5313 +/- ##
=========================================
- Coverage 78.2% 78.2% -0.0%
=========================================
Files 790 790
Lines 67738 67739 +1
Branches 8177 8178 +1
=========================================
- Hits 52962 52954 -8
- Misses 14776 14785 +9
|
Out of curiosity, in what situations would this assert trigger? When the parent ledger hash is unchanged, then the ledger has not advanced, right? Why would the same ledger be processed again? If it is expected behavior (when?) then we could consider having the log at |
This assert is known to occasionally trigger, without causing errors downstream. It is replaced with a log message.
This assert is known to occasionally trigger, without causing errors downstream. Replace it with a log message.
High Level Overview of Change
Remove
assert
which is known to occasionally fail, without causing any problems.Type of Change
.gitignore
, formatting, dropping support for older tooling)API Impact
libxrpl
change (any change that may affectlibxrpl
or dependents oflibxrpl
)