Skip to content

Description of proof module doesn't match what we have in code #339

@MarekM25

Description

@MarekM25

https://docs.nethermind.io/interacting/json-rpc-ns/proof

it doesn't follow what we have here: https://github.com/NethermindEth/nethermind/blob/master/src/Nethermind/Nethermind.JsonRpc/Modules/Proof/IProofRpcModule.cs

For example for proof_getTransactionReceipt
This function should return the same result as eth_call and also proofs of all used accounts and their storages and serialized block headers.

but in the code for the same method we have: Returns the same data as eth_getTransactionReceipt plus Merkle-Patricia proofs of the transaction's inclusion in the block's transactionsRoot and of the receipt's inclusion in the block's receiptsRoot. When includeHeader is true, the RLP-encoded block header is also returned, allowing proofs to be verified against the block's roots.

Code is correct

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions