Skip to content

Comments

feat(rpc-types-eth): add SimulateError::invalid_params constructor#3578

Merged
mattsse merged 2 commits intomainfrom
matt/simulate-error-invalid-params
Jan 22, 2026
Merged

feat(rpc-types-eth): add SimulateError::invalid_params constructor#3578
mattsse merged 2 commits intomainfrom
matt/simulate-error-invalid-params

Conversation

@mattsse
Copy link
Member

@mattsse mattsse commented Jan 22, 2026

Adds a convenience constructor SimulateError::invalid_params() that creates a standard JSON-RPC invalid params error (code -32602).

This aligns with the pattern used in alloy-json-rpc's ErrorPayload::invalid_params().

@github-project-automation github-project-automation bot moved this to Reviewed in Alloy Jan 22, 2026
@mattsse mattsse merged commit 5c42318 into main Jan 22, 2026
30 checks passed
@mattsse mattsse deleted the matt/simulate-error-invalid-params branch January 22, 2026 15:37
@github-project-automation github-project-automation bot moved this from Reviewed to Done in Alloy Jan 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants