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

LFDT-Panurus / panurus / 37409936228
85%

Build:
DEFAULT BRANCH: main
Ran 06 Oct 2026 04:02AM 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
37409936228

push

github

AkramBitar
fix(fabricx): read the PP version from the ledger, not a local counter

VersionKeeper modelled the public-parameters version as an in-process
counter: the first UpdateVersion() call was swallowed as "initialization"
and every later notification incremented it. The value it returned was
therefore V_now - V_at_process_start.

Every token transaction a FabricX endorser translates attaches a versioned
read of the setup hash key, so once the on-chain public parameters have
been updated at least once, any endorser that (re)starts afterwards
attaches a stale version and the committer rejects every transaction it
endorses with ABORTED_MVCC_CONFLICT, with no operational recovery.

Make the version an absolute read of the on-chain row version of the setup
hash key, obtained through the query service:

- pp.PublicParametersService gains FetchSetupHashVersion, which returns the
  row version of CreateSetupHashKey() and whether the key exists at all;
- VersionKeeper synchronizes lazily on first use and re-reads on every
  update notification, so a restart, a missed notification or a version
  that jumps by more than one cannot desynchronize it. A failed read leaves
  it unsynchronized so the next call retries;
- endorsement/esp.go propagates the read error, so an unknown version fails
  the endorsement loudly instead of producing a transaction that is
  silently rejected later.

TestPublicParamsUpdate takes optional node names to restart once the update
has propagated; the FabricX fungible specs pass the endorser, which fails
with an MVCC conflict under the old keeper.

Fixes #2255

Signed-off-by: AkramBitar <akram@il.ibm.com>
Source Files on build 37409936228
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #37409936228
  • f04b9221 on github
  • Prev Build on main (#37203090607)
  • Next Build on main (#37432882035)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc