-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
core/services/relay/evm: start RequestRoundTracker; report full health #11643
Conversation
I see that you haven't updated any CHANGELOG files. Would it make sense to do so? |
I see that you haven't updated any README files. Would it make sense to do so? |
require.NoError(t, err, "Error starting new OCR2 round") | ||
roundData, err := aggregatorContracts[0].GetRound(testcontext.Get(t), big.NewInt(int64(round))) | ||
require.NoError(t, err, "Getting latest answer from OCR contract shouldn't fail") | ||
require.Equal(t, int64(5), roundData.Answer.Int64(), |
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.
Seems like we should also assert that roundData.RoundId
is the correct round, right?
As a side note, I just noticed there is a roundData.AnsweredInRound
field--probably moot now, but I wonder if that could have helped determine whether we were getting an answer from the current round or the previous round.
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.
We're kind of implicitly doing that already. We only stop waiting when round number round
appears, then we grab data from specifically that round.
SonarQube Quality Gate |
* Revert "make streams lookup modular (#11368)" (#11482) This reverts commit fa0f16a. * core/services/relay/evm: start RequestRoundTracker; report full health (#11643) * core/services/relay/evm: start RequestRoundTracker; report full health * Tests round requests and implicit changes separately * Add test to CI * Fixes other OCR2 checks --------- Co-authored-by: Adam Hamrick <adam.hamrick@smartcontract.com> (cherry picked from commit 7236361) * Document metrics renaming * Hotfix attempt for Canary : v2.8.0-rc0 upgrade fails on Polygon. (#11828) (#11839) * Remove start lock + add logging * Add loggs * Update tracker.go * Update tracker.go * Update common/txmgr/txmgr.go Co-authored-by: Jordan Krage <jmank88@gmail.com> * Update logging --------- Co-authored-by: Jordan Krage <jmank88@gmail.com> (cherry picked from commit 6133df8) * Temporarily disable tracker (#11857) * Disable tracker * Remove all tracker calls (cherry picked from commit 5057899) * Update CHANGELOG.md * Update docs/CHANGELOG.md Co-authored-by: Jordan Krage <jmank88@gmail.com> * Finalize date on changelog for 2.8.0 (#11881) --------- Co-authored-by: Lei <lei.shi@smartcontract.com> Co-authored-by: Jordan Krage <jmank88@gmail.com> Co-authored-by: Dmytro Haidashenko <dmytro.haidashenko@smartcontract.com> Co-authored-by: Dylan Tinianov <dylantinianov@gmail.com> Co-authored-by: Dylan Tinianov <dylan.tinianov@smartcontract.com>
https://smartcontract-it.atlassian.net/browse/BCF-2860