Migrate from rise_subscribe to eth_subscribe#3
Merged
hazelnutcloud merged 12 commits intomainfrom Jul 7, 2025
Merged
Conversation
Replace custom shred event actions with standard Viem event watching. Document that watchEvent/watchContractEvent automatically use shreds on RISE Chain, providing faster updates while maintaining compatibility with standard Ethereum APIs. Add eth_subscribe documentation for new "shred" subscription type and enhanced "logs" subscription behavior.
Add blockTimestamp and startingLogIndex fields to both Shred and RpcShred types, and update the formatShred function to properly map these new fields. These fields provide additional context about when the shred was created and where its logs begin in the block's log sequence.
- Update @sxzz/eslint-config from 7.0.3 to 7.0.4 - Update @sxzz/prettier-config from 2.2.1 to 2.2.3 - Update @types/node from 24.0.3 to 24.0.10 - Update eslint from 9.29.0 to 9.30.1 - Update prettier from 3.5.3 to 3.6.2 - Update tsdown from 0.12.8 to 0.12.9 - Update viem peer dependency from 2.31.6 to 2.31.7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.