Uh oh!
There was an error while loading. Please reload this page.
fraud proof processing using go-fraud package - #928
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@## main #928 +/- ##
==========================================
+ Coverage 55.28% 56.21% +0.92%
==========================================
Files 68 68 Lines 10954 10940 -14 ==========================================
+ Hits 6056 6150 +94 + Misses 4017 3906 -111 - Partials 881 884 +3
☔ View full report in Codecov by Sentry. |
a4912c7 to
5174b47ComparePlease fix failing CI/CD tests. For example, |
Manav-Aggarwal
left a comment
There was a problem hiding this comment.
Looks good, left some comments, mostly related to refactoring/consolidation of code.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Manav-Aggarwal
commented
May 18, 2023
Thanks for addressing the comments! Currently, the fraud-proof generating full node proceeds to verify the fraud-proof it generates. Can we avoid that so that after generating a fraud-proof, the full node stops (previously was done in |
gupadhyaya
commented
May 19, 2023
functionality wise, the full node after generating the fraud proof will not sync any further blocks (since SyncLoop returns) and ProcessFraudProof loop eventually cancels the context. I agree that the process might not be fully stopped, but this can be fixed by simply catching the context cancel call and stopping the node gracefully. i tried to cancel the context upon receiving |
gupadhyaya
commented
May 19, 2023
@Wondertan any suggestions for this? ideally, we want full nodes to broadcast the fraud proof and gracefully shutdown. However, currently canceling the context stops the broadcast for some reason. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…o use proof service
…s enabled in the header
…ght after storing the validators
Update existing fraud proof processing logic to use ProofService from go-fraud package. Also, removes the old fraud proof gossip logic.
Fixes#895 & #945