271 Commits
Author SHA1 Message Date
zeekay 0dd2d97a3a fix(deps): correct moved-tag hashes for luxfi modules in go.sum
Several luxfi versions carry TWO different contents across this workspace,
because published tags were moved instead of a new patch being cut:
age@v1.5.0, pq@v1.0.3, threshold@v1.9.4, zap@v0.6.0, zap@v0.8.1.

Adjudicated before editing, since "checksum mismatch / SECURITY ERROR" is also
what a real supply-chain attack looks like. It is not one here: sum.golang.org
holds the OLD hash while proxy.golang.org and a direct fetch BOTH serve the same
NEW bytes. Two independent transports agreeing means nothing is rewriting
content in flight — the tag moved at source. The sumdb entry is a fossil:
GOPRIVATE covers github.com/luxfi/* with GOSUMDB=off, so our own modules never
consult the checksum DB and a moved tag splits consumers silently.

The old bytes are served by nothing now, so a stale pin can never build.
Corrected to the only content that exists, in BOTH line forms (h1: and
/go.mod h1:) — Go reports these one at a time, so a partial fix just relocates
the error.

Deliberately no `go mod tidy`: this changes no selected version, only the
recorded hash of versions already chosen.

Verified: `go list -m all` resolves with no checksum error.

The durable fix is upstream: never move a published tag, cut x.y.z+1 instead.
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 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
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 92a33607f7 deps: update go.mod/go.sum 2026-04-19 17:04:56 -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
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
Zach Kelling bc2258f366 deps: update database to v1.17.42 with zapdb 2026-02-08 16:28:41 -08:00
Zach Kelling aeb719c0e7 chore: sync dependencies and format code 2026-02-04 15:47:04 -08:00
Zach Kelling 9cd711f46b chore: update evm to v0.8.35 and node to v1.23.4 with empty block fix 2026-01-31 16:31:32 -08:00
Zach Kelling 301fa41eb5 fix: update CI for golangci-lint v2 and CGO-free builds
- Update golangci-lint from v1.49 to v2.1.6 in lint.sh
- Add GOWORK=off to workflow env for workspace isolation
- Add CGO_ENABLED=0 to unit tests (avoids luxfi/accel C headers)
- Update GitHub Actions: checkout v4, setup-go v5, upload-artifact v4
- Update OS matrix: ubuntu-22.04, macos-14
- Run go mod tidy for updated checksums
2026-01-28 10:01:14 -08:00
zandGitHub 47f38d43c2 Merge pull request #21 from luxfi/dependabot/go_modules/github.com/btcsuite/btcd-0.25.0
build(deps): bump github.com/btcsuite/btcd from 0.24.2 to 0.25.0
2026-01-28 09:31:41 -08:00
zandGitHub 2fa3cf5262 Merge pull request #24 from luxfi/dependabot/go_modules/github.com/onsi/ginkgo/v2-2.27.5
build(deps): bump github.com/onsi/ginkgo/v2 from 2.27.3 to 2.27.5
2026-01-28 09:31:36 -08:00
zandGitHub 15d4ca6b23 Merge pull request #25 from luxfi/dependabot/go_modules/github.com/grpc-ecosystem/grpc-gateway/v2-2.27.5
build(deps): bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.27.4 to 2.27.5
2026-01-28 09:31:33 -08:00
dependabot[bot]andGitHub 34fae1921d build(deps): bump github.com/luxfi/geth from 1.16.73 to 1.16.75
Bumps [github.com/luxfi/geth](https://github.com/luxfi/geth) from 1.16.73 to 1.16.75.
- [Release notes](https://github.com/luxfi/geth/releases)
- [Commits](https://github.com/luxfi/geth/compare/v1.16.73...v1.16.75)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-27 11:32:52 +00:00