Skip to content

test: eth_subscribe #135

Merged
StephenButtolph merged 12 commits intomainfrom
JonathanOppenheimer/subscription-tests
Feb 10, 2026
Merged

test: eth_subscribe #135
StephenButtolph merged 12 commits intomainfrom
JonathanOppenheimer/subscription-tests

Conversation

@JonathanOppenheimer
Copy link
Member

@JonathanOppenheimer JonathanOppenheimer commented Feb 2, 2026

More free wins with testing -- I added coverage for newPendingTransactions event types (head was the single test prior). I also clarified that the three other types for subscription were intentionally no-ops.

I added the supported RPCs to the list in rpc.go

@JonathanOppenheimer JonathanOppenheimer self-assigned this Feb 2, 2026
@JonathanOppenheimer JonathanOppenheimer added the testing Related to testing efforts label Feb 2, 2026
@JonathanOppenheimer JonathanOppenheimer changed the title test: rigorify subscription tests test: support eth_subscribe Feb 2, 2026
@ARR4N ARR4N changed the title test: support eth_subscribe test: eth_subscribe Feb 4, 2026
ARR4N
ARR4N previously requested changes Feb 4, 2026
JonathanOppenheimer and others added 4 commits February 4, 2026 13:07
Co-authored-by: Arran Schlosberg <519948+ARR4N@users.noreply.github.com>
Signed-off-by: Jonathan Oppenheimer <147infiniti@gmail.com>
@JonathanOppenheimer JonathanOppenheimer marked this pull request as draft February 5, 2026 04:40
@JonathanOppenheimer JonathanOppenheimer marked this pull request as ready for review February 5, 2026 05:56
I mainly thought it was weird that:
1. We used subtests but they were all completely independent. I felt
like we should either split them into separate top level tests, or merge
them into the same test. Since all the tests are really a subset of the
logs test, I decided to just merge them together.
2. The logs test didn't fully verify the expected log result, I expanded
the log check to verify the full log.
3. We now test that we never get any pending logs
@StephenButtolph StephenButtolph merged commit 58fd556 into main Feb 10, 2026
18 checks passed
@StephenButtolph StephenButtolph deleted the JonathanOppenheimer/subscription-tests branch February 10, 2026 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Related to testing efforts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants