Skip to content

expand client configuration validation coverage - #23

Merged
karagozemin merged 1 commit into
Sub-Rosa-Issue:mainfrom
emirykl:issue/19-sdk-configuration-validation-tests
Jun 26, 2026
Merged

expand client configuration validation coverage#23
karagozemin merged 1 commit into
Sub-Rosa-Issue:mainfrom
emirykl:issue/19-sdk-configuration-validation-tests

Conversation

@emirykl

@emirykl emirykl commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add focused tests for SubRosaClient configuration behavior
  • return SubRosaClientConfigError for unsafe HTTP RPC URLs unless allowHttp is enabled
  • cover confirmTimeout and pollInterval boundaries and non-finite values
  • verify missing operator and bidder source failures use typed errors
  • verify external submitter options and SubRosaSubmitError cause wrapping
  • keep all tests deterministic without live RPC or wall-clock sleeps

Verification

  • pnpm sdk:test — 35 tests passed
  • pnpm sdk:typecheck
  • clean pnpm install --frozen-lockfile
  • verified with Node 22 and pnpm 10.13.1

Closes #19

@drips-wave

drips-wave Bot commented Jun 24, 2026

Copy link
Copy Markdown

@emirykl Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@karagozemin
karagozemin merged commit fee6ea0 into Sub-Rosa-Issue:main Jun 26, 2026
VeronicDev pushed a commit to VeronicDev/sub-rosa-drips that referenced this pull request Jul 1, 2026
…-Issue#8, Sub-Rosa-Issue#23)

Merge PR Sub-Rosa-Issue#23 with conflict fix in ethereum-listener (async order path from
Sub-Rosa-Issue#19 + listenerLastBlock metrics). Closes Sub-Rosa-Issue#8.

Co-authored-by: Windowlight <abioladonald757@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
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.

Add SDK configuration validation tests for network, contract, and submitter options

2 participants