Skip to content

Upgrade to v0.17.0 chain dependencies - #159

Merged
zale144 merged 1 commit into
devfrom
alek/bump-chain-v0.17.0
Jul 15, 2026
Merged

Upgrade to v0.17.0 chain dependencies#159
zale144 merged 1 commit into
devfrom
alek/bump-chain-v0.17.0

Conversation

@zale144

@zale144 zale144 commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bump github.com/allora-network/allora-chain from the v0.16.1 pseudo-version to the released v0.17.0.
  • Drop the temporary replace directive that pinned the unreleased v10/classification chain code (no longer needed now that v0.17.0 is released).

This aligns the node's chain dependency with the v0.17.0 chain it is deployed against (see the flux-infra testnet rollout, where the node-init allora-chain image is v0.17.0). The v0.14.0 release tag notes it runs "w/ chain v0.17.0", but go.mod still pointed at the v0.16.1 pseudo-version; this closes that gap.

Changes

  • go.mod: allora-chain v0.16.0 -> v0.17.0, removed replace ... => ...v0.16.1-0.20260602135805-81f3d7a7ea69.
  • go.sum: updated checksums (chain module go.mod hash is unchanged, i.e. same lineage).

Test plan

  • go build ./...
  • go vet ./...
  • go test ./... (141 passed, 9 packages)

Made with Cursor


Summary by cubic

Aligns the node with the v0.17.0 chain deployed on testnet for consistency and compatibility. Upgrades the chain dependency and removes the temporary pseudo-version pin.

  • Dependencies
    • Bump github.com/allora-network/allora-chain to v0.17.0 (from v0.16.0/pseudo v0.16.1-...).
    • Remove replace directive for allora-chain.

Written for commit 29264ba. Summary will update on new commits.

Review in cubic

Bump github.com/allora-network/allora-chain from the v0.16.1 pseudo-version
to the released v0.17.0 and drop the temporary replace directive that pinned
the unreleased v10/classification chain code. This aligns the node's chain
deps with the v0.17.0 chain it is deployed against on testnet.

Co-authored-by: Cursor <cursoragent@cursor.com>

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 2 files

Architecture diagram
sequenceDiagram
    participant Node as Allora Off-Chain Node
    participant GoMod as Go Module Resolution
    participant ChainLib as all ora-chain v0.17.0 Library
    participant Testnet as Testnet Chain (v0.17.0)

    Note over Node,ChainLib: CHANGED: dependency aligned to released v0.17.0

    Node->>GoMod: import all ora-chain (compile time)
    GoMod->>ChainLib: resolve to v0.17.0 (no replace override)
    ChainLib-->>Node: expose types, client constructors

    Note over Node,Testnet: NEW: Node now built with same chain version as testnet

    Node->>Testnet: gRPC dial (configured endpoint)
    Testnet-->>Node: connection established

    Node->>ChainLib: create query client
    ChainLib->>Testnet: QueryState(topic)
    Testnet-->>ChainLib: raw state response
    ChainLib-->>Node: parsed state result

    Node->>ChainLib: sign & submit transaction (worker update)
    ChainLib->>Testnet: BroadcastTx
    Testnet-->>ChainLib: tx response (code, gas used)
    ChainLib-->>Node: final tx result
Loading

Re-trigger cubic

@zale144
zale144 merged commit c24f70f into dev Jul 15, 2026
3 checks passed
@zale144
zale144 deleted the alek/bump-chain-v0.17.0 branch July 15, 2026 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants