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

core/services/relay/evm: start RequestRoundTracker; report full health #11643

Merged
merged 4 commits into from
Dec 21, 2023

Conversation

jmank88
Copy link
Contributor

@jmank88 jmank88 commented Dec 20, 2023

Copy link
Contributor

I see that you haven't updated any CHANGELOG files. Would it make sense to do so?

Copy link
Contributor

I see that you haven't updated any README files. Would it make sense to do so?

nolag
nolag previously approved these changes Dec 21, 2023
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(),
Copy link
Contributor

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.

Copy link
Collaborator

@kalverra kalverra Dec 21, 2023

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.

@cl-sonarqube-production
Copy link

@jmank88 jmank88 marked this pull request as ready for review December 21, 2023 20:31
@jmank88 jmank88 requested a review from a team as a code owner December 21, 2023 20:31
@jmank88 jmank88 added this pull request to the merge queue Dec 21, 2023
Merged via the queue into develop with commit 7236361 Dec 21, 2023
80 checks passed
@jmank88 jmank88 deleted the BCF-2860-ocr2-median-request-round-tracker branch December 21, 2023 20:57
jmank88 added a commit that referenced this pull request Jan 3, 2024
#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)
github-merge-queue bot pushed a commit that referenced this pull request Jan 25, 2024
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants