318 Commits
Author SHA1 Message Date
zeekay 08842f3621 chore(deps): bump geth v1.20.1 + luxfi deps — stack unification 2026-07-26 02:50:17 -07:00
zeekayandHanzo Dev 21f2c64a8f fix(keys): route genkeys/testkeys through luxfi/kms mnemonic.Load (5-arg, cycle-free)
Co-authored-by: Hanzo Dev <dev@hanzo.ai>
2026-06-30 16:01:43 -07:00
Hanzo AI 910aaa98f0 deps: reconcile go.sum after module re-tag (brand-scrub drift); bump luxfi/kms v1.11.4 -> v1.11.7 2026-06-24 19:05:02 -07:00
zeekay 5fa5e2bd21 deps: update to latest real-semver, drop local replaces, fix breaks 2026-06-11 09:38:45 -07:00
Hanzo AI bfd07a4122 go: 1.26.3 → 1.26.4 (security: crypto/x509, mime, net/textproto) 2026-06-06 22:09:45 -07:00
Hanzo AI e09243045c netrunner: drop bootstrapIdentity from genkeys + testkeys
LoadMnemonic no longer takes *ServiceIdentity (luxfi/keys v1.2.0).
2026-06-06 21:04:49 -07:00
Hanzo AI 61d9c68d1a deps: bump luxfi/vm v1.2.0, sampler v1.1.0, staking v1.5.0 (relicense)
Picks up the 2026-06-06 relicensing:
- luxfi/vm v1.2.0 → Lux Ecosystem License v1.2 (was Lux Research v1.0).
  License-only retag of the extracted runtime; patent reservation
  preserved for runtime optimization surfaces, royalty-free for
  Descending Chains.
- luxfi/sampler v1.1.0 → BSD-3-Clause (was Lux Research v1.0).
  License restored to match the luxfi/node provenance (originally
  extracted from node/utils/sampler).
- luxfi/staking v1.5.0 → BSD-3-Clause (was Lux Research v1.0).
  License restored to match the luxfi/node provenance.

No code changes in this commit — go.mod/go.sum only.
2026-06-06 19:02:30 -07:00
Hanzo AI 42f3727561 deps: bump k8s.io/client-go v0.35.1 → v0.36.1 to match api v0.36.1
api was already at v0.36.1 (which dropped autoscaling/v2beta1 +
scheduling/v1alpha1) but client-go@v0.35.1's scheme/register.go still
imports those subpackages — bumping client-go to v0.36.1 picks up the
matching scheme/register.go that drops the removed alphas.

Closes the SKIP-BROKEN status from the Wave 2G codec rip sweep.
2026-06-06 12:41:00 -07:00
Hanzo DevandGitHub db38b1ce84 Merge pull request #56 from luxfi/dependabot/go_modules/github.com/luxfi/api-1.0.12
build(deps): bump github.com/luxfi/api from 1.0.11 to 1.0.12
2026-06-04 13:57:38 -07:00
Hanzo DevandGitHub 8b7c28b68c Merge pull request #57 from luxfi/dependabot/go_modules/github.com/luxfi/rpc-1.0.3
build(deps): bump github.com/luxfi/rpc from 1.0.2 to 1.0.3
2026-06-04 13:57:35 -07:00
Hanzo DevandGitHub a6c3689f56 Merge pull request #59 from luxfi/dependabot/go_modules/golang.org/x/mod-0.36.0
build(deps): bump golang.org/x/mod from 0.35.0 to 0.36.0
2026-06-04 13:57:31 -07:00
dependabot[bot]andGitHub 036c3bc8a9 build(deps): bump github.com/luxfi/genesis from 1.12.15 to 1.13.9
Bumps [github.com/luxfi/genesis](https://github.com/luxfi/genesis) from 1.12.15 to 1.13.9.
- [Release notes](https://github.com/luxfi/genesis/releases)
- [Changelog](https://github.com/luxfi/genesis/blob/main/CHANGELOG.md)
- [Commits](https://github.com/luxfi/genesis/compare/v1.12.15...v1.13.9)

---
updated-dependencies:
- dependency-name: github.com/luxfi/genesis
  dependency-version: 1.13.9
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-04 11:33:18 +00:00
dependabot[bot]andGitHub 6377682d29 build(deps): bump golang.org/x/mod from 0.35.0 to 0.36.0
Bumps [golang.org/x/mod](https://github.com/golang/mod) from 0.35.0 to 0.36.0.
- [Commits](https://github.com/golang/mod/compare/v0.35.0...v0.36.0)

---
updated-dependencies:
- dependency-name: golang.org/x/mod
  dependency-version: 0.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-04 11:33:13 +00:00
dependabot[bot]andGitHub edb22f9913 build(deps): bump github.com/luxfi/rpc from 1.0.2 to 1.0.3
Bumps [github.com/luxfi/rpc](https://github.com/luxfi/rpc) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/luxfi/rpc/releases)
- [Commits](https://github.com/luxfi/rpc/compare/v1.0.2...v1.0.3)

---
updated-dependencies:
- dependency-name: github.com/luxfi/rpc
  dependency-version: 1.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-04 11:33:02 +00:00
dependabot[bot]andGitHub be0e61a74e build(deps): bump github.com/luxfi/api from 1.0.11 to 1.0.12
Bumps [github.com/luxfi/api](https://github.com/luxfi/api) from 1.0.11 to 1.0.12.
- [Release notes](https://github.com/luxfi/api/releases)
- [Commits](https://github.com/luxfi/api/compare/v1.0.11...v1.0.12)

---
updated-dependencies:
- dependency-name: github.com/luxfi/api
  dependency-version: 1.0.12
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-04 11:32:59 +00:00
Hanzo DevandGitHub 8f41cfff88 Merge pull request #46 from luxfi/dependabot/go_modules/github.com/onsi/ginkgo/v2-2.29.0
build(deps): bump github.com/onsi/ginkgo/v2 from 2.28.1 to 2.29.0
2026-06-04 00:05:02 -07:00
Hanzo DevandGitHub c2f9e4bdee Merge pull request #53 from luxfi/dependabot/go_modules/github.com/luxfi/vm-1.1.7
build(deps): bump github.com/luxfi/vm from 1.0.40 to 1.1.7
2026-06-04 00:04:15 -07:00
Hanzo DevandGitHub 790f122746 Merge pull request #54 from luxfi/dependabot/go_modules/k8s.io/api-0.36.1
build(deps): bump k8s.io/api from 0.35.1 to 0.36.1
2026-06-04 00:04:12 -07:00
dependabot[bot]andGitHub c09368d4fc build(deps): bump github.com/luxfi/log from 1.4.1 to 1.4.3
Bumps [github.com/luxfi/log](https://github.com/luxfi/log) from 1.4.1 to 1.4.3.
- [Release notes](https://github.com/luxfi/log/releases)
- [Commits](https://github.com/luxfi/log/compare/v1.4.1...v1.4.3)

---
updated-dependencies:
- dependency-name: github.com/luxfi/log
  dependency-version: 1.4.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-04 00:06:39 +00:00
dependabot[bot]andGitHub fe3ea17211 build(deps): bump k8s.io/api from 0.35.1 to 0.36.1
Bumps [k8s.io/api](https://github.com/kubernetes/api) from 0.35.1 to 0.36.1.
- [Commits](https://github.com/kubernetes/api/compare/v0.35.1...v0.36.1)

---
updated-dependencies:
- dependency-name: k8s.io/api
  dependency-version: 0.36.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-04 00:06:34 +00:00
dependabot[bot]andGitHub c2126dcf6d build(deps): bump github.com/luxfi/vm from 1.0.40 to 1.1.7
Bumps [github.com/luxfi/vm](https://github.com/luxfi/vm) from 1.0.40 to 1.1.7.
- [Release notes](https://github.com/luxfi/vm/releases)
- [Commits](https://github.com/luxfi/vm/compare/v1.0.40...v1.1.7)

---
updated-dependencies:
- dependency-name: github.com/luxfi/vm
  dependency-version: 1.1.7
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-04 00:06:28 +00:00
dependabot[bot]andGitHub 8d37f6cd57 build(deps): bump github.com/onsi/ginkgo/v2 from 2.28.1 to 2.29.0
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.28.1 to 2.29.0.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.28.1...v2.29.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/v2
  dependency-version: 2.29.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-03 20:40:48 +00:00
Hanzo DevandGitHub 285b616560 Merge pull request #47 from luxfi/dependabot/go_modules/github.com/onsi/gomega-1.41.0
build(deps): bump github.com/onsi/gomega from 1.39.1 to 1.41.0
2026-06-03 13:24:38 -07:00
Hanzo DevandGitHub a38a83ec67 Merge pull request #51 from luxfi/dependabot/go_modules/github.com/luxfi/p2p-1.21.0
build(deps): bump github.com/luxfi/p2p from 1.19.2 to 1.21.0
2026-06-03 13:22:20 -07:00
dependabot[bot]andGitHub 3e23679401 build(deps): bump github.com/luxfi/metric from 1.5.5 to 1.5.8
Bumps [github.com/luxfi/metric](https://github.com/luxfi/metric) from 1.5.5 to 1.5.8.
- [Release notes](https://github.com/luxfi/metric/releases)
- [Commits](https://github.com/luxfi/metric/compare/v1.5.5...v1.5.8)

---
updated-dependencies:
- dependency-name: github.com/luxfi/metric
  dependency-version: 1.5.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-02 09:36:51 +00:00
dependabot[bot]andGitHub 0f3388e247 build(deps): bump github.com/luxfi/p2p from 1.19.2 to 1.21.0
Bumps [github.com/luxfi/p2p](https://github.com/luxfi/p2p) from 1.19.2 to 1.21.0.
- [Release notes](https://github.com/luxfi/p2p/releases)
- [Commits](https://github.com/luxfi/p2p/compare/v1.19.2...v1.21.0)

---
updated-dependencies:
- dependency-name: github.com/luxfi/p2p
  dependency-version: 1.21.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-02 09:35:04 +00:00
Hanzo AI c3b0144ae2 genkeys/testkeys: rehome ZAP mnemonic import to luxfi/keys (was luxfi/kms)
KMS = generic secret store; mnemonic semantics live in luxfi/keys.
Same signature, same behavior — import line only.

Deps: luxfi/keys v1.0.8→v1.0.9, luxfi/kms v1.9.12→v1.9.13. Build clean.
2026-05-31 21:30:44 -07:00
Hanzo AI 89888e6247 genkeys/testkeys: native-ZAP mnemonic via shared zapclient.LoadMnemonic
Switches both cmd/genkeys and cmd/testkeys from a bare MNEMONIC env-var
read to the canonical luxfi/kms zapclient.LoadMnemonic loader. Same path
luxd's keyutil (lux/node @ e1ecb6d) and lux/cli's ammcmd (lux/cli @ ad1e849b)
now use — every Lux-derived tool resolves mnemonics the same way.

Source order (handled inside the shared loader):
  1. MNEMONIC env var               local dev + CI test seam
  2. KMS_ADDR + KMS_ENV +           native ZAP fetch from Liquid KMS
     KMS_MNEMONIC_PATH

Backwards-compatible: setting MNEMONIC env still works exactly as before
(short-circuits the KMS call). New capability: setting KMS_* envs lets
netrunner tools fetch from KMS in CI / cluster contexts where the
mnemonic should not be a plaintext env var.

Dep:
  + github.com/luxfi/kms v1.9.12  (carries zapclient.LoadMnemonic)

Build clean.
2026-05-31 14:32:19 -07:00
Hanzo DevandGitHub 1970f6efe0 refactor: XAssetID → UTXOAssetID (1-line consumer rename + replace directives) (#50) 2026-05-30 14:30:35 -07:00
Hanzo AI 301a8e2601 rip gRPC, USE ZAP: netrunner control-plane now luxfi/zap-native (FORWARDS ONLY)
Per the project rule 'ZAP internal, ZIP edge': netrunner's 26-method
ControlService + PingService move off google.golang.org/grpc and
grpc-gateway onto a luxfi/zap envelope. Default builds now have ZERO
google.golang.org/grpc transitive deps.

New package: netrunner/zaprpc/
  - protocol.go: MsgType (uint8 range, encoded in ZAP flags upper byte).
    One stable wire ID per method. Append-only.
  - dispatch.go: typed Bind[Req, Resp](d, msg, handler) — register a
    'func(ctx, *Req) (*Resp, error)' handler. JSON encode/decode +
    envelope framing happen here, handlers stay business-logic-only.
  - server.go: thin wrapper around zap.Node hosting a Dispatcher.
  - client.go: typed Call[Req, Resp](ctx, c, msg, req) — same DX as the
    old gRPC client but transport is ZAP. Includes connect-retry around
    the boot race.

server/bind.go: one-shot registration of all 26 RPC methods onto a
Dispatcher. The canonical map of 'what this server exposes'.

server/server.go: gRPC server + grpc-gateway HTTP bridge are gone.
Run() now starts the ZAP server and waits for rootCtx.Done. The
'soldier-on' isClientCanceled helper goes with the gRPC stream code.

client/client.go: full rewrite. Same Client interface (28 methods),
implementation is now one-line zaprpc.Call per method. StreamStatus
becomes a client-driven Status() poll on the requested interval —
ZAP has no native server-streaming, but the observable contract
(channel of ClusterInfo) is unchanged.

Deleted:
  - rpcpb/rpc_grpc.pb.go (gRPC service stubs)
  - rpcpb/rpc.pb.gw.go (grpc-gateway HTTP bridge)

The rpcpb message types (rpc.pb.go) stay — they're plain Go structs
with json: tags, used as the JSON payload format inside ZAP envelopes.
A future cleanup pass can replace them with hand-written structs to
drop google.golang.org/protobuf from the dep tree too.

go.mod cleanup: drop github.com/grpc-ecosystem/grpc-gateway/v2,
google.golang.org/grpc, google.golang.org/genproto/googleapis/api.
Pin luxfi/proto v1.0.0 (was luxfi/protocol v0.0.4 — stale rename
artifact). Add luxfi/zap v0.2.0.

Tests: zaprpc/zaprpc_test.go round-trips request/response and proves
the error path propagates through the envelope.

No backwards compat — forwards perfection per the project rule.
2026-05-20 19:15:40 -07:00
Hanzo AI 31175c1220 netrunner: refresh go.mod + gitignore .bak files
go.mod dep refresh, network.go updates, *.bak in gitignore.
2026-05-20 16:23:29 -07:00
Hanzo AI 727c5ed682 Merge rename/protocol-to-proto into main (resolved go.mod: keep sdk v1.16.60) 2026-05-18 21:29:48 -07:00
Hanzo AI c22813f2fe deps: pin luxfi/proto v1.0.0 (rename cascade complete) 2026-05-18 21:27:49 -07:00
Hanzo AI b673b28c31 rename: github.com/luxfi/protocol → github.com/luxfi/proto (imports + go.mod replace) 2026-05-18 21:19:09 -07:00
dependabot[bot]andGitHub 41b355bfef build(deps): bump github.com/onsi/gomega from 1.39.1 to 1.41.0
Bumps [github.com/onsi/gomega](https://github.com/onsi/gomega) from 1.39.1 to 1.41.0.
- [Release notes](https://github.com/onsi/gomega/releases)
- [Changelog](https://github.com/onsi/gomega/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/gomega/compare/v1.39.1...v1.41.0)

---
updated-dependencies:
- dependency-name: github.com/onsi/gomega
  dependency-version: 1.41.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-18 20:58:31 +00:00
a9509b5c6c build(deps): bump google.golang.org/grpc from 1.80.0 to 1.81.1 (#38)
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.80.0 to 1.81.1.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](https://github.com/grpc/grpc-go/compare/v1.80.0...v1.81.1)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-version: 1.79.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: Hanzo Dev <dev@hanzo.ai>
2026-05-16 16:21:27 -07:00
Hanzo AI edd60a6326 deps: luxfi/crypto v1.19.0 2026-05-13 12:00:35 -07:00
Hanzo AI f56b122aaf deps: track sdk APIBlockchain ChainID → NetID rename + bump sdk v1.16.57
luxfi/sdk v1.16.57 renamed APIBlockchain.ChainID → APIBlockchain.NetID
to match the platformvm wire format. Update server/network.go's two
call sites to use blockchain.NetID instead of blockchain.ChainID;
the local chainInfo struct field is left as `chainID ids.ID` so
downstream code that reads it isn't affected.

Bumps luxfi/sdk to v1.16.57 + transitive Z-Wing PQ stack tracked in
v1.18.1.
2026-05-06 18:42:17 -07:00
Hanzo AI 351584448a deps: bump constants v1.5.2 + genesis v1.9.2; LocalID/CustomID split
luxfi/constants and luxfi/genesis just split LocalID and CustomID
into distinct constants:

  LocalID  = 1337   canonical local single/multi-node dev
  CustomID = 0      sentinel for user-defined non-well-known networks

This repo now uses LocalID everywhere it actually meant the local
dev network, and constants.LocalID for the same in places that
imported through luxfi/constants. Plus configs.LocalnetID →
configs.LocalID and configs.LocalnetChainID → configs.LocalChainID
to track the renamed constants.

Net effect on netrunner:

* NewLocalConfig          uses configs.LocalID (was configs.CustomID/1337)
* NewCanonicalCustomConfig uses configs.LocalID
* NewLocalConfigFromMnemonic uses configs.LocalID
* network/config.go default switch now lists LocalID alongside Mainnet/Testnet
* server/network.go default networkID set to LocalID for the local server

The Custom* constants remain available for genuine user-defined
networks; on those, addresses use the "custom" HRP from
luxfi/constants and look like P-custom1..., X-custom1...

zapwire (Z-Wing PQ control RPC) and network tests still green; the
heavy local/ integration tests that actually spawn luxd are out of
scope for this change.
2026-05-06 18:14:35 -07:00
Hanzo AI 0bb42a39c8 zapwire: enforce Z-Wing PQ for all netrunner control RPC
Replace plain TCP zap.Dial / zap.Listen with zwing.DialZAP /
zwing.ListenZAP. zapwire.Dial and zapwire.NewServer now require a
*zwing.Config carrying a LocalIdentity — there is no cleartext mode.
Every netrunner control connection is X-Wing-encapsulated,
ChaCha20-Poly1305-encrypted, and identity-pinned via Ed25519 +
ML-DSA-65 hybrid signatures.

Wire format and opcode set are unchanged; only the dial/listen
seams are upgraded. The 14 e2e tests are updated to mint ephemeral
identities per test (newTestRig) and pin the server side, which
also proves the handshake actually authenticates.

Pairs with luxfi/zwing v0.2.1 (DialZAP / ListenZAP) and luxfi/api
v1.0.10 (zap.NewListener).
2026-05-06 12:53:13 -07:00
Hanzo AI 5a1ac1bac2 deps: zapdb v1.8.0, database v1.18.3 (drops zapdb v1.0.0 poisoned + v4 transitive) 2026-05-05 17:29:42 -07:00
Hanzo AI 35f6be2b69 deps: luxfi/zapdb v4 → v1.0.0 (module path reset) 2026-04-11 00:05:19 -07:00
Hanzo AI 6b066f9dd4 dep: bump github.com/luxfi/genesis v1.7.1 2026-04-04 11:34:33 -07:00
Hanzo AI 78a1faa5c7 dep: bump utxo v0.2.4→v0.2.5 (BCLookup in ParseAddress) 2026-04-01 17:14:21 -07:00
Hanzo Dev ee3af1fc9d fix: resolve CI failures in build-test and docker-publish workflows
- Bump luxfi/config v1.1.1 -> v1.1.2 for BootstrapNodesKey symbol
- Fix Dockerfile GO_VERSION=1.26 -> 1.26.1 (go1.26 tarball does not exist)
- Update build-test.yml go-version 1.25.5 -> 1.26.1 to match go.mod
2026-03-25 01:07:30 -07:00
Hanzo Dev e1284bc808 chore: bump Go 1.26.0 → 1.26.1
Fixes 5 stdlib CVEs (html/template, os, net/url, crypto/x509 x2).
2026-03-12 01:09:28 -07:00
Hanzo Dev af6b1ce37a fix: update Dockerfile and Go dependencies 2026-03-03 19:45:33 -08:00
Zach Kelling f76292cc73 deps: bump node to v1.23.21 for production compatibility
Aligns netrunner with the deployed K8s node version which includes
the PendingTxs consensus fix and local consensus replace.
2026-02-22 14:07:04 -08:00
Zach Kelling 6a2f96e9dd fix: update API client and engine 2026-02-21 13:59:19 -08:00
Zach Kelling a6ce2e1d7c deps: bump config to v1.1.2 for BootstrapNodesKey 2026-02-14 04:58:59 -08:00