• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

hyperledger / fabric-x-committer / 26504157642
92%

Build:
DEFAULT BRANCH: main
Ran 27 May 2026 09:59AM UTC
Jobs 0
Files 0
Run time –
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
26504157642

push

github

web-flow
[sidecar] Fix empty ledger newest delivery seek (#601)

#### Type of change

- Bug fix

#### Description

When SeekPosition_Newest is used on an empty ledger (height=0),
FileLedger.Iterator(Newest) computes Height()-1, underflowing to
math.MaxUint64. Similarly, Stop=Newest computes height-1, also
underflowing. Additionally, for BLOCK_UNTIL_READY behavior, the cursor
was created before waiting for block zero, which could fail on
FileLedger since the block-zero index does not exist yet.

- Move WaitForCondition (height > 0) before cursor creation for
BLOCK_UNTIL_READY
- In getCursor, replace Start=Newest with Specified{Number:0} when
height is 0
- Guard Stop=Newest against zero height, returning 0 instead of height-1

#### Related issues

 - resolves #600

---------

Signed-off-by: Senthilnathan <cendhu@gmail.com>
Source Files on build 26504157642
Detailed source file information is not available for this build.
  • Back to Repo
  • 6c81c1c9 on github
  • Prev Build on main (#26434640677)
  • Next Build on main (#26507289326)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc