deps+image: chains v1.4.7 + evm v1.99.48 + precompile v0.16.0 — enable-everything plugin

Dockerfile plugin pins bumped:
  - EVM_VERSION v1.99.47 -> v1.99.48 (C-Chain plugin mgj786…)
  - chains pin (EVM stage) + CHAINS_REF v1.3.22 -> v1.4.7 (bridge/zk/threshold/
    graph/identity/key/oracle/quantum/relay VM plugins)
node go.mod: chains v1.4.6 -> v1.4.7, precompile -> v0.16.0.

Delivers the enable-everything builder precompile surface (wallet curves
ed25519/sr25519/secp256r1 + standard ecrecover/p256/sha256/ripemd160/blake2f/
bls12381/kzg; fflonk fail-closed), accel CPU/GPU byte-identity, DEX 0x9999
price-floor big.Rat + stableswap token/gas bound + graph determinism, and warp
consolidated to ONE luxfi/warp helper across the chains VMs. graphvm
genesis-last-accepted fix carried forward in chains v1.4.7. luxd binary builds
green against the new deps.
This commit is contained in:
zeekay
2026-06-27 21:56:20 -07:00
parent c7dd2fc5a9
commit 5bd5dbf154
3 changed files with 20 additions and 13 deletions
+14 -11
View File
@@ -257,7 +257,7 @@ RUN . ./build_env.sh && \
# failed ValidateState, and BRICKED the node. Proven on-node: real swap → kill -9 →
# clean reboot, state intact. v1.99.40 = v1.99.39 + deps to latest. consensus v1.25.21 =
# stake-weighted alpha-of-K quorum finality + per-height single-finalize + epoch-bound certs.
ARG EVM_VERSION=v1.99.47
ARG EVM_VERSION=v1.99.48
ARG EVM_VM_ID=mgj786NP7uDwBCcq6YwThhaN8FLyybkCa4zBWTQbNgmK6k9A6
# the pinned evm go.mod may pin a dead luxfi/upgrade pseudo-version
# (v1.0.1-0.20260603055252-f51810805436 — commit pruned from origin). Heal it to
@@ -270,12 +270,14 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
cd /tmp/evm && \
. /build/build_env.sh && \
go mod edit -require=github.com/luxfi/upgrade@v1.0.1 && \
# evm v1.99.47 pins luxfi/chains v1.3.22 (forbidden.go restored, dexvm/registry
# complete) and luxfi/precompile v0.15.0 — the active-only 0x9999 DEX money path
# (native-ZAP + non-empty-vault marker; dormant conduit + dead bespoke DEX-BLS +
# AI-slop pqcrypto bundle retired). Pin chains v1.3.22 to match evm + the chain-VM
# plugin stage (CHAINS_REF) below; no precompile force (evm's go.mod v0.15.0 wins).
go mod edit -require=github.com/luxfi/chains@v1.3.22 && \
# evm v1.99.48 pins luxfi/precompile v0.16.0 — the enable-everything builder
# surface: wallet curves (ed25519/sr25519/secp256r1) + standard precompiles
# (ecrecover/p256/sha256/ripemd160/blake2f/bls12381/kzg) enabled; fflonk
# fail-closed; accel CPU/GPU byte-identity; DEX 0x9999 price-floor big.Rat +
# stableswap token/gas bound + graph determinism. Pin chains v1.4.7 (warp
# consolidated to one luxfi/warp helper; graphvm genesis-last-accepted fix)
# to match the chain-VM plugin stage (CHAINS_REF) below.
go mod edit -require=github.com/luxfi/chains@v1.4.7 && \
find /tmp/evm -name go.sum -exec sed -i -E '/^github.com\/(luxfi|hanzoai)\//d' {} + && \
GOARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \
CGO_ENABLED=0 GOFLAGS=-mod=mod \
@@ -300,11 +302,12 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
# zkvm -> vv3qPfyTVXZ5ArRZA9Jh4hbYDTBe43f7sgQg4CHfNg1rnnvX9
# MUST track node's go.mod luxfi/chains (the D-Chain dexvm + 10 VM plugins).
# v1.3.14 = the native-atomic seam (rail-bound D->C atomic, LP committed-liquidity).
# Bump with every chains release or the bundled VM plugins go stale vs node's deps.
# v1.3.21 == node go.mod's luxfi/chains pin (the finality-complete go-live); keeps the
# 10 baked VM plugins (incl. the FATAL-gated bridgevm) in lockstep with the host node.
ARG CHAINS_REF=v1.3.22
# v1.4.7 == node go.mod's luxfi/chains pin: warp consolidated to ONE luxfi/warp
# helper (bridgevm/zkvm/thresholdvm), graphvm genesis-last-accepted fix, built on
# evm v1.99.48 + precompile v0.16.0 (enable-everything builder surface). Keeps the
# baked VM plugins in lockstep with the host node.
ARG CHAINS_REF=v1.4.7
RUN --mount=type=cache,target=/root/.cache/go-build \
git clone --depth 1 --branch ${CHAINS_REF} https://github.com/luxfi/chains.git /tmp/chains && \
find /tmp/chains -name go.sum -exec sed -i -E '/^github.com\/(luxfi|hanzoai)\//d' {} +