Skip to content

SyncChainMmr block range start is exclusive #2044

@TomasArrachea

Description

@TomasArrachea

The SyncChainMMr block range start is treated as exclusive, but the proto docs are confusing:

node/proto/proto/rpc.proto

Lines 510 to 513 in 39f19f1

message SyncChainMmrRequest {
// Block number from which to synchronize (inclusive). Set this to the last block
// already present in the caller's MMR so the delta begins at the next block.
fixed32 block_from = 1;

We should change the implementation so it's effectively inclusive, and aligned with the rest of the endpoints.

Metadata

Metadata

Assignees

Labels

rpcRelated to the RPC component

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions