Skip to content

Fix pollOneoff#2092

Open
miro-cl wants to merge 3 commits into
mainfrom
miro/sleep
Open

Fix pollOneoff#2092
miro-cl wants to merge 3 commits into
mainfrom
miro/sleep

Conversation

@miro-cl
Copy link
Copy Markdown

@miro-cl miro-cl commented May 26, 2026

Fixes pollOneoff by correcting eventTypeClock value, which should be zero.

Requires

Supports

Copilot AI review requested due to automatic review settings May 26, 2026 18:57
@miro-cl miro-cl requested a review from a team as a code owner May 26, 2026 18:57
@miro-cl miro-cl changed the title Miro/sleep Fix pollOneoff May 26, 2026
@github-actions
Copy link
Copy Markdown

👋 miro-cl, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Fixes pollOneoff event dispatch by ensuring the WASI eventTypeClock constant has the correct value (0), aligning with the WASI preview1 spec.

Changes:

  • Split the constant declarations so iota for eventType* starts at 0.
  • Preserve existing subscriptionLen / eventsLen constants while correcting event type numbering.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 26, 2026

📊 API Diff Results

No changes detected for module github.com/smartcontractkit/chainlink-common

View full report

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