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

update head data to be optional #898

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

ettec
Copy link
Contributor

@ettec ettec commented Oct 29, 2024

The underlying head tracker returns a pointer to head data, this updates the GetLatestValueWithHeadData to do the same. Also, implements the loop logic for the GetLatestValueWithHeadData API method.

@ettec ettec requested a review from a team as a code owner October 29, 2024 11:25
@ettec ettec requested review from vyzaldysanchez and removed request for a team October 29, 2024 11:25
ilija42
ilija42 previously approved these changes Oct 29, 2024
Copy link
Contributor

@ilija42 ilija42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look at TestGetLatestValue in pkg/loop/internal/relayer/pluginprovider/contractreader/contract_reader_test.go, this method should have similar tests

Copy link
Contributor

@ilija42 ilija42 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there is a test failure

@ettec ettec force-pushed the update-contract-reader-interface branch from d9445ab to 6effcf1 Compare October 31, 2024 09:42
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.

3 participants