Skip to content

Add configurable non-idempotent JSON-RPC methods#8

Merged
yermakovsa merged 1 commit into
mainfrom
feat/configurable-non-idempotent-methods
Jun 14, 2026
Merged

Add configurable non-idempotent JSON-RPC methods#8
yermakovsa merged 1 commit into
mainfrom
feat/configurable-non-idempotent-methods

Conversation

@yermakovsa

Copy link
Copy Markdown
Owner

Adds Config.AdditionalNonIdempotentMethods for marking extra JSON-RPC method names as non-idempotent, while keeping the built-in defaults unchanged.

The built-in methods remain eth_sendTransaction and eth_sendRawTransaction. Configured methods are additive and matched exactly. AllowNonIdempotent applies to both built-in and configured methods.

Includes tests for single requests, batch requests, validation, and README updates.

Closes #3

@yermakovsa yermakovsa merged commit c2138d4 into main Jun 14, 2026
1 check passed
@yermakovsa yermakovsa deleted the feat/configurable-non-idempotent-methods branch June 14, 2026 14:17
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.

Configurable non-idempotent JSON-RPC methods

1 participant