Skip to content

Commit efe3cbe

Browse files
committed
adds to openrpc
Signed-off-by: Konstantina Blazhukova <konstantina.blajukova@gmail.com>
1 parent 5ea2dc2 commit efe3cbe

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

docs/openrpc.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1105,6 +1105,14 @@
11051105
},
11061106
"description": "The trace object containing detailed information about the transaction execution, encapsulated in a call frame."
11071107
}
1108+
},
1109+
{
1110+
"name": "eth_getProof",
1111+
"summary": "Always returns UNSUPPORTED_METHOD error.",
1112+
"params": [],
1113+
"result": {
1114+
"$ref": "#/components/schemas/unsupportedError"
1115+
}
11081116
}
11091117
],
11101118
"components": {

packages/relay/tests/lib/openrpc.spec.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -546,6 +546,12 @@ describe('Open RPC Specification', function () {
546546
validateResponseSchema(methodsResponseSchema.eth_syncing, response);
547547
});
548548

549+
it('should execute "eth_getProof"', async function () {
550+
const response = ethImpl.getProof(requestDetails);
551+
552+
validateResponseSchema(methodsResponseSchema.eth_getProof, response);
553+
});
554+
549555
it('should execute "net_listening"', function () {
550556
const response = relay.net().listening();
551557

0 commit comments

Comments
 (0)