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 DataConsumerWithSequencerCheck.sol #1995

Merged
merged 11 commits into from
Aug 8, 2024

Conversation

aviggiano
Copy link
Contributor

IMPORTANT: Please do not create a Pull Request without creating an issue first.Any change needs to be discussed before proceeding.

Closing issues

Closes #1994

Description

Updates code sample to match documentation

Changes

Copy link

vercel bot commented Jul 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview Aug 8, 2024 3:22pm

@dwightjl
Copy link
Contributor

Thank you for opening this PR. I'm confirming how best to handle situations where startedAt==0. I'm not sure if an invalid round should cause isSequencerUp to be false.

@dwightjl
Copy link
Contributor

My understanding is that correctly handling startedAt == 0 is application-dependent, but it is good to highlight that it is available. I'll get a review on this change.

src/content/data-feeds/l2-sequencer-feeds.mdx Outdated Show resolved Hide resolved
@dwightjl dwightjl added the blocked Waiting for another PR or a release. label Aug 1, 2024
@dwightjl
Copy link
Contributor

dwightjl commented Aug 1, 2024

Still getting confirmation on some changes here.

Co-authored-by: Crystal Gomes <thedriftofwords@users.noreply.github.com>
@dwightjl dwightjl added Chainlink Data Feeds and removed blocked Waiting for another PR or a release. labels Aug 8, 2024
@dwightjl dwightjl merged commit 5f3223c into smartcontractkit:main Aug 8, 2024
2 checks passed
thedriftofwords added a commit to thedriftofwords/documentation that referenced this pull request Aug 14, 2024
* Update DataConsumerWithSequencerCheck.sol

* Add optional code for invalid L2 feed round

* Clarify how to handle startedAt 0

* Update src/content/data-feeds/l2-sequencer-feeds.mdx

Co-authored-by: Crystal Gomes <thedriftofwords@users.noreply.github.com>

* Restore example and update startedAt description

* Edit

---------

Co-authored-by: Dwight Lyle <dwightjl@gmail.com>
Co-authored-by: Crystal Gomes <thedriftofwords@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Enhancement]: L2 Sequencer Uptime Feeds code sample does not match documentation
3 participants