Skip to content

Comments

fix: use blockHash to fetch single block events#371

Merged
Sekhmet merged 2 commits intomasterfrom
sekhmet/starknet-empty-blocks
Jul 22, 2025
Merged

fix: use blockHash to fetch single block events#371
Sekhmet merged 2 commits intomasterfrom
sekhmet/starknet-empty-blocks

Conversation

@Sekhmet
Copy link
Member

@Sekhmet Sekhmet commented Jul 21, 2025

Closes: https://github.com/snapshot-labs/workflow/issues/613
Depends on: #370

Our previous assumption of every block having an event didn't hold: https://sepolia.starkscan.co/block/924016

Instead we use blockHash based event filter which will throw if node doesn't know about given block (as opposed to just returning empty response).

Copy link
Member

@bonustrack bonustrack left a comment

Choose a reason for hiding this comment

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

utACK

Base automatically changed from sekhmet/same-block-events to master July 22, 2025 06:05
Our previous assumption of every block having an event didn't hold:
https://sepolia.starkscan.co/block/924016

Instead we use blockHash based event filter which will throw if node
doesn't know about given block (as opposed to just returning empty
response).
@Sekhmet Sekhmet force-pushed the sekhmet/starknet-empty-blocks branch from 3959286 to 76a2456 Compare July 22, 2025 06:05
@Sekhmet Sekhmet merged commit c277643 into master Jul 22, 2025
1 check passed
@Sekhmet Sekhmet deleted the sekhmet/starknet-empty-blocks branch July 22, 2025 06:08
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.

2 participants