-
Notifications
You must be signed in to change notification settings - Fork 3
feat: add HTTP subscription support via polling #32
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
Merged
0xNeshi
merged 39 commits into
OpenZeppelin:main
from
smartprogrammer93:feat/http-subscription
Mar 5, 2026
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
e9870c9
feat: add HTTP subscription support via polling
smartprogrammer93 4fea1ad
test: add integration tests for HTTP subscription feature
smartprogrammer93 8b29a12
test: improve test coverage and fix weak tests
smartprogrammer93 bb6fe13
Add RPC failover integration tests
smartprogrammer93 b6001af
fix: HTTP subscription config propagation and reconnect validation
smartprogrammer93 66cc162
refactor: use Alloy's watch_blocks() for HTTP polling
PoulavBhowmick03 e4d249d
fix tests, add buffer and implement is_empty method
PoulavBhowmick03 606840f
feat: add HTTP subscription support via polling
smartprogrammer93 c2da7b1
test: add integration tests for HTTP subscription feature
smartprogrammer93 4957dfe
test: improve test coverage and fix weak tests
smartprogrammer93 22aab71
Add RPC failover integration tests
smartprogrammer93 429666a
fix: HTTP subscription config propagation and reconnect validation
smartprogrammer93 e3d7833
refactor: use Alloy's watch_blocks() for HTTP polling
PoulavBhowmick03 d9e14e4
fix tests, add buffer and implement is_empty method
PoulavBhowmick03 06a94ff
fix: add http-subscription feature fields to test_provider helper
smartprogrammer93 36a967b
Merge origin/main into pr-32
smartprogrammer93 3ecdb0f
fix: address maintainer PR comments
smartprogrammer93 ec651ad
fix: address remaining maintainer comments
smartprogrammer93 d90dd00
fix: convert magic numbers to pub const values
smartprogrammer93 e8a5513
Merge remote-tracking branch 'upstream/main' into feat/http-subscription
PoulavBhowmick03 57f59e7
Merge remote-tracking branch 'smartprogrammer93/feat/http-subscriptio…
PoulavBhowmick03 3d66811
suggestions and use RobustProvider for block fetching
PoulavBhowmick03 7f25889
fmt
PoulavBhowmick03 f39546c
remove duplicate timeout and sync buffer sizes
PoulavBhowmick03 2872bb7
Merge remote-tracking branch 'upstream/main' into feat/http-subscription
PoulavBhowmick03 e628e21
fixes and suggestions
PoulavBhowmick03 47ab9c5
refactor
0xNeshi 5eab3ee
add test_mixed_chain_skips_http_until_ws_is_found
0xNeshi c89615c
add test-log crate
0xNeshi 4beb33d
add additional tests
0xNeshi 34e3deb
Merge pull request #1 from 0xNeshi/feat/http-subscription
PoulavBhowmick03 abc1ef9
Apply suggestion from @0xNeshi
0xNeshi b9bbc55
refactor stream creation when building SubscriptionBackend::HttpPolling
0xNeshi 6690229
explain the subscribe_blocks logic in a comment
0xNeshi 14d3d2a
remove mentions of require_pubsub
0xNeshi 6ce15ab
update doc wording in builder.rs
0xNeshi eeef439
update readme to mention http subscriptions
0xNeshi a6272cd
Merge pull request #2 from 0xNeshi/feat/http-subscription
PoulavBhowmick03 9d48ad7
Merge branch 'main' into feat/http-subscription
PoulavBhowmick03 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| { | ||
| "rust-analyzer.rustfmt.extraArgs": ["+nightly"] | ||
| "rust-analyzer.rustfmt.extraArgs": ["+nightly"], | ||
| "rust-analyzer.cargo.features": ["http-subscription"] | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.