Skip to content

[BUG] GetBlocks pageParams adds 1 additional item #197

@andrewnguyen22

Description

@andrewnguyen22

Describe the bug

The page params for getBlocks adds 1 additional item due to the metadata collection design for the final block.

Ex. PerPage=10

Result: perPage=11

Steps to reproduce

Steps to reproduce the behavior:

  1. Query getBlocks via rpc or cli
  2. Set perPage
  3. Witness an additional item over perPage

Expected behavior

PerPage should remain unchanged

Environment

  • Software Version: alpha-0.0.1

Required Tags

  • Priority: Low
  • Module: Store

Metadata

Metadata

Assignees

No one assigned

    Labels

    Low PriorityLow priority issueRPCPlugin or 3rd party chain moduleStorePersistence moduleX-Small Shirt< 1 week worth of work

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions