Skip to content

Conversation

swirlds-automation
Copy link
Contributor

OpenRPC JSON Update

This PR updates the OpenRPC JSON specification with the latest changes from Ethereum JSON-RPC specification.

Comparison Report


Methods present in the original document but missing from the modified document:

┌─────────┬────────────────────────────────────────────┬───────────────────┐
│ (index) │ missingMethod                              │ status            │
├─────────┼────────────────────────────────────────────┼───────────────────┤
│ 0       │ 'debug_getBadBlocks'                       │ 'not implemented' │
│ 1       │ 'debug_getRawBlock'                        │ 'not implemented' │
│ 2       │ 'debug_getRawHeader'                       │ 'not implemented' │
│ 3       │ 'debug_getRawReceipts'                     │ 'not implemented' │
│ 4       │ 'debug_getRawTransaction'                  │ 'not implemented' │
│ 5       │ 'eth_coinbase'                             │ 'not implemented' │
│ 6       │ 'eth_blobBaseFee'                          │ 'not implemented' │
│ 7       │ 'eth_syncing'                              │ 'not implemented' │
│ 8       │ 'eth_getProof'                             │ 'not implemented' │
│ 9       │ 'engine_exchangeCapabilities'              │ 'discarded'       │
│ 10      │ 'engine_exchangeTransitionConfigurationV1' │ 'discarded'       │
│ 11      │ 'engine_forkchoiceUpdatedV1'               │ 'discarded'       │
│ 12      │ 'engine_forkchoiceUpdatedV2'               │ 'discarded'       │
│ 13      │ 'engine_forkchoiceUpdatedV3'               │ 'discarded'       │
│ 14      │ 'engine_getPayloadBodiesByHashV1'          │ 'discarded'       │
│ 15      │ 'engine_getPayloadBodiesByRangeV1'         │ 'discarded'       │
│ 16      │ 'engine_getPayloadV1'                      │ 'discarded'       │
│ 17      │ 'engine_getPayloadV2'                      │ 'discarded'       │
│ 18      │ 'engine_getPayloadV3'                      │ 'discarded'       │
│ 19      │ 'engine_getPayloadV4'                      │ 'discarded'       │
│ 20      │ 'engine_newPayloadV1'                      │ 'discarded'       │
│ 21      │ 'engine_newPayloadV2'                      │ 'discarded'       │
│ 22      │ 'engine_newPayloadV3'                      │ 'discarded'       │
│ 23      │ 'engine_newPayloadV4'                      │ 'discarded'       │
└─────────┴────────────────────────────────────────────┴───────────────────┘

Status explanation:
- (discarded): Methods that have been intentionally removed
- (not implemented): Methods that have not been implemented yet

Methods with differences between documents:

┌─────────┬───────────────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────────┐
│ (index) │ method                                    │ valueDiscrepancies                                                              │
├─────────┼───────────────────────────────────────────┼─────────────────────────────────────────────────────────────────────────────────┤
│ 0       │ 'eth_accounts'                            │ 'result.schema.title, result.schema.items'                                      │
│ 1       │ 'eth_call'                                │ 'summary, params.1.schema.$ref, params.0.schema.$ref'                           │
│ 2       │ 'eth_createAccessList'                    │ 'summary, params, params, result'                                               │
│ 3       │ 'eth_estimateGas'                         │ 'params.0.schema.$ref'                                                          │
│ 4       │ 'eth_feeHistory'                          │ 'result.schema (6 diffs), summary, description'                                 │
│ 5       │ 'eth_gasPrice'                            │ 'summary'                                                                       │
│ 6       │ 'eth_getBalance'                          │ 'params.1.required, params.1.schema.$ref'                                       │
│ 7       │ 'eth_getBlockByHash'                      │ 'result.schema.oneOf'                                                           │
│ 8       │ 'eth_getBlockByNumber'                    │ 'result.schema.oneOf'                                                           │
│ 9       │ 'eth_getBlockTransactionCountByHash'      │ 'result.name, result.schema.oneOf'                                              │
│ 10      │ 'eth_getBlockTransactionCountByNumber'    │ 'result.name, result.schema.oneOf'                                              │
│ 11      │ 'eth_getCode'                             │ 'params.1.required, params.1.schema.$ref'                                       │
│ 12      │ 'eth_getFilterChanges'                    │ 'summary, params.0.name, params.0.schema.$ref, result.name, result.schema.$ref' │
│ 13      │ 'eth_getFilterLogs'                       │ 'params.0.name, params.0.schema.$ref, result.name'                              │
│ 14      │ 'eth_getLogs'                             │ 'summary'                                                                       │
│ 15      │ 'eth_getStorageAt'                        │ 'params (3 diffs), summary, result.name, result.schema.$ref'                    │
│ 16      │ 'eth_getTransactionByBlockHashAndIndex'   │ 'result.schema.oneOf'                                                           │
│ 17      │ 'eth_getTransactionByBlockNumberAndIndex' │ 'result.schema.oneOf'                                                           │
│ 18      │ 'eth_getTransactionByHash'                │ 'result.schema.oneOf'                                                           │
│ 19      │ 'eth_getTransactionCount'                 │ 'params.1.required, params.1.schema.$ref'                                       │
│ 20      │ 'eth_getTransactionReceipt'               │ 'result.name, result.schema.oneOf'                                              │
│ 21      │ 'eth_getUncleCountByBlockHash'            │ 'result.name, result.schema.oneOf'                                              │
│ 22      │ 'eth_getUncleCountByBlockNumber'          │ 'result.name, result.schema.oneOf'                                              │
│ 23      │ 'eth_maxPriorityFeePerGas'                │ 'result (3 diffs), summary'                                                     │
│ 24      │ 'eth_newBlockFilter'                      │ 'summary, result.name, result.schema.$ref'                                      │
│ 25      │ 'eth_newFilter'                           │ 'params.0.name, params.0.schema.$ref, result.name, result.schema.$ref'          │
│ 26      │ 'eth_newPendingTransactionFilter'         │ 'summary, result'                                                               │
│ 27      │ 'eth_sendRawTransaction'                  │ 'summary'                                                                       │
│ 28      │ 'eth_sendTransaction'                     │ 'summary, params, result'                                                       │
│ 29      │ 'eth_sign'                                │ 'summary, params, params, result'                                               │
│ 30      │ 'eth_signTransaction'                     │ 'summary, params, result'                                                       │
│ 31      │ 'eth_uninstallFilter'                     │ 'params.0.name, params.0.schema.$ref, result.name'                              │
└─────────┴───────────────────────────────────────────┴─────────────────────────────────────────────────────────────────────────────────┘

Explanation:
- valueDiscrepancies: Fields that exist in both documents but have different values
- Entries with format "path (N diffs)" indicate N differences within that path

Copy link

Test Results

 20 files  + 19  265 suites  +243   34m 17s ⏱️ + 32m 32s
724 tests +684  716 ✅ +676  5 💤 +5  3 ❌ +3 
740 runs  +700  732 ✅ +692  5 💤 +5  3 ❌ +3 

For more details on these failures, see this check.

Results for commit 46fc3e1. ± Comparison against base commit 1b137ae.

@quiet-node quiet-node closed this Sep 3, 2025
Copy link

codecov bot commented Sep 3, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

@@            Coverage Diff             @@
##             main    #4324      +/-   ##
==========================================
- Coverage   95.61%   94.90%   -0.71%     
==========================================
  Files         121      121              
  Lines       19936    19936              
  Branches     1732     1680      -52     
==========================================
- Hits        19061    18920     -141     
- Misses        850      990     +140     
- Partials       25       26       +1     
Flag Coverage Δ
config-service 98.80% <ø> (ø)
relay 90.66% <ø> (ø)
server ?
ws-server ?

Flags with carried forward coverage won't be shown. Click here to find out more.
see 8 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@quiet-node
Copy link
Contributor

closed due to openrpc task is not finalized yet

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.

2 participants