chore: bump yaci-store to 2.0.2.1#765
Merged
Merged
Conversation
Bump the yaci-store dependency from 2.0.1 to 2.0.2. This is a placeholder: we will be updating to 2.0.2.1. yaci-store 2.0.2 is a single-fix patch release correcting hard-fork SPO abstain vote tallying in governance processing (bloxbean/yaci-store#989). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
✅ Preprod Tests: PASSEDTests run against preprod network with live blockchain data |
Upgrades yaci-store from 2.0.2 to 2.0.2.1. The only change in 2.0.2.1 is retry logic for the node-to-client (N2C) connection: the indexer now keeps retrying to reconnect instead of giving up after a few attempts. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Contributor
✅ Preprod Tests: PASSEDTests run against preprod network with live blockchain data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Bumps the
yaci-storedependency inyaci-indexer/pom.xmlfrom2.0.1→2.0.2.1.2.0.2.1is a patch on top of2.0.2, so this PR pulls in the changes from both releases.Upstream changes
2.0.2.1 — auto-restart counter is now a sliding window (indexer keeps retrying)
fix: reset auto-restart counter on a sliding window— fix: reset auto-restart counter on a sliding window bloxbean/yaci-store#998 (external contribution by @DanchuoZhong), backported to the2.0.2.1release via [backport] fix: reset auto-restart counter on a sliding window bloxbean/yaci-store#1008.This is the reason for the patch. Previously the auto-restart attempt counter (
restartCount) was a lifetime cap: once it hitstore.auto-restart.max-attempts, the indexer logged "Max restart attempts reached. Manual intervention required." on every health-check interval and never retried again until the process was manually restarted — even long after the underlying node/connection outage had recovered. The only reset path required 5 minutes of confirmed healthy block reception but gave up after a 10-minute hard timeout, so any outage longer than ~10 minutes left the counter permanently exhausted.For Rosetta this was exactly the failure we hit before: after a burst of connection drops the yaci-indexer would give up and stay stuck until someone restarted the container.
The fix turns the counter into a sliding-window rate limit: if no restart has been attempted within the restart window (default 10 minutes, now configurable via
store.auto-restart.window-ms), the counter resets so a later, unrelated outage is treated as a fresh incident and recovers automatically.max-attemptsis preserved as a per-window limit to still guard against restart storms. The exhausted-attempts log was also downgraded fromERRORtoWARNsince recovery is now automatic.Net effect: the indexer keeps trying to reconnect/restart and self-heals from transient node or socket outages instead of giving up permanently.
2.0.2 — governance hard-fork SPO abstain tally
Also included, since
2.0.2.1builds on it:fix(governance): correct hard fork SPO abstain tally— fix(governance): correct hard fork SPO abstain tally bloxbean/yaci-store#989VoteTallyCalculator, SPO stake delegated to the auto-abstain DRep was being added to the abstain tally even for hard-fork-initiation actions. ForHARD_FORK_INITIATION_ACTIONthat stake must not count as abstain (it effectively counts as No). One-line logic fix plus expanded unit tests; touches only theaggregates/governance-rulesmodule.Upstream release guidance (2.0.2)
ledger-stateis enabled or theadapot/governancemodules are used — without it, governance / ledger-state data may be computed incorrectly. Recommended for all others.Scope / risk