62 Commits
Author SHA1 Message Date
zeekayandHanzo Dev 26e21d0a8e chore: migrate luxd HTTP routes /ext -> /v1
Drop the Avalanche-heritage /ext prefix; /v1 is the single canonical route
surface (one way, no backward compat). The node's baseURL is the source of
truth; clients, SDKs, CLI, indexer, maker, genesis, netrunner, and the
k8s/compose/gateway/explorer configs are updated to match.

Co-authored-by: Hanzo Dev <dev@hanzo.ai>
2026-07-01 11:40:27 -07:00
Hanzo AI 43ead226a9 scrub: subnet/l2 → chain (canonical vocabulary, forward-only)
Wire-format codec IDs unchanged. CLI aliases deleted; chain is the
command. No backwards-compat shims, no deprecation comments.
2026-05-31 15:09:15 -07:00
Hanzo AI fe701a0ccd kill protobuf from default build: k8s engine behind -tags k8s, expand CI guard
engines/k8s/engine.go: //go:build k8s. k8s.io/client-go transitively
pulls google.golang.org/protobuf via k8s.io/kube-openapi → gnostic-models.
Opt-in build: go build -tags k8s ./... to enable Kubernetes deploy
support. Default builds skip the file entirely.

scripts/check-no-grpc.sh: extend the CI gate to fail on any of:
  - google.golang.org/grpc
  - grpc-ecosystem/grpc-gateway
  - google.golang.org/protobuf
  - go.opentelemetry.io/proto/otlp/*
  - k8s.io/client-go

Each has a documented -tags escape hatch. The default-tag dep graph
must be clean of all five.

Results:
  bash scripts/check-no-grpc.sh   → ok
  binary size:                    37.9 MB → 26.7 MB (-11.2 MB)
  strings grep protobuf|grpc      → 0 hits

Per the project rule: ZAP internal, ZIP edge. ZAP is now the only
wire protocol the default netrunner binary contains.
2026-05-20 22:09:30 -07:00
Hanzo AI c0d55e7195 rpcpb: gate rpc.pb.go behind -tags grpc, hand-rolled types.go is default
Per the project rule: ZAP internal, no google.golang.org/protobuf on the
wire OR in the netrunner rpcpb package by default.

rpcpb/rpc.pb.go: //go:build grpc — protoc-gen-go output stays available
behind the legacy tag for external integrations that still want the
proto Go types.

rpcpb/types.go: //go:build !grpc — hand-written plain Go structs for
every Request/Response/spec/info type. Same names, same field types,
same json: tags so JSON wire compat with rpc.pb.go is preserved. Plus
the proto-style GetX() helpers callers expect.

Default-build dep graph for rpcpb is now SINGLE-FILE: rpcpb/types.go,
zero google.golang.org/protobuf, zero google.golang.org/grpc.

scripts/check-no-grpc.sh: CI gate. Walks the default-tag dep graph
and fails non-zero if google.golang.org/grpc or grpc-ecosystem/grpc-gateway
reappears. Wire this into CI to make the rule stick.
2026-05-20 21:27:51 -07:00
Zach Kelling 1f953d8b49 fix: add e2e build tag for ginkgo test build
The e2e test files use //go:build e2e constraint, so ginkgo build
needs --tags e2e to include them.
2026-02-05 17:30:53 -08:00
Zach Kelling f7468e3f5d fix: handle node tarball extraction structure
The node release tarball extracts to build/luxd, not node-v${VERSION}/node.
Move extracted files and create node -> luxd symlink for compatibility.
2026-02-05 17:28:10 -08:00
Zach Kelling 723936a3d8 fix: update e2e test download URLs and versions
- Fix node download URL: luxfi/sdk/node -> luxfi/node
- Fix evm download URL: luxfi/subnet-evm -> luxfi/evm
- Update node versions: 1.10.0/1.9.16 -> 1.22.80/1.22.79
- Update evm version: 0.5.0 -> 0.8.35
- Handle evm binary format (raw binary, not tarball)
2026-02-05 17:25:07 -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
Zach Kelling e53011719c fix: rename TLS key files to luxtls.key/crt
- Rename staking.key -> luxtls.key in embedded configs
- Rename staking.crt -> luxtls.crt in embedded configs
- Update imports to github.com/luxfi/constants
2026-01-08 19:35:37 -08:00
Zach Kelling 6e8fb5d409 chore: update VERSION to 1.15.0 and fix build script
- Update VERSION file from 1.14.33 to 1.15.0
- Add Commit and BuildDate to ldflags in build script
- Version now shows: 1.15.0 (commit: xxx, built: timestamp)
2025-12-29 15:39:52 -08:00
Hanzo Dev 7e9ca54ba8 Fix genesis format and add local network startup script
- Fix genesis cChainGenesis format: convert object to JSON string
  * Resolves unmarshal error when starting luxd nodes
  * Genesis field must be JSON string, not object

- Add script to start local 5-node network
  * Uses pre-configured staking certificates from local/default/
  * Properly configures bootstrap IPs and node IDs
  * Includes peer connection verification
2025-11-16 23:34:20 -08:00
Zach Kelling b599713abf Update organization name 2025-07-20 08:38:06 +00:00
Zach Kelling ef1adb0022 Rollback to 1.6.0 2024-01-02 20:55:14 +01:00
Felipe Madero b7a93d1476 fix load snapshot wait time 2023-04-21 12:26:09 -03:00
fm 2e461d7b7f change go.mod 2023-04-13 17:18:36 -03:00
sukantoraymond 4343d2edf6 update e2e 2023-04-06 15:14:41 -04:00
Felipe Madero ea6dbe3d30 address PR comments 2023-01-25 11:47:15 -03:00
Felipe Madero e257d5995f minor fix on e2e script 2023-01-19 08:24:04 -03:00
Felipe Madero 2870a1fd10 minor fix 2023-01-19 08:20:41 -03:00
Felipe Madero f766667082 fix comment 2023-01-19 08:17:12 -03:00
Felipe Madero 80a32d3462 update e2e versions 2023-01-19 08:16:31 -03:00
Felipe Madero 6cf8b77e39 really fix e2e 2023-01-09 12:20:57 -03:00
Felipe Madero f186250163 fix e2e by correctly copying binary 2023-01-09 12:11:43 -03:00
Patrick O'Grady b3c63d63af use trap to shutdown 2023-01-08 18:31:40 -08:00
Patrick O'Grady 996e06fdb8 ensure runner shutdown 2023-01-08 18:27:29 -08:00
Patrick O'Grady 5cd07e6272 add ginkgo fail fast 2023-01-08 18:15:55 -08:00
Patrick O'Grady 38d38a69e3 correctly log failure status 2023-01-08 18:11:59 -08:00
Felipe Madero 53369c411b update e2e 2022-12-23 14:41:05 -03:00
Dan LaineandGitHub 6a41ace72f add linting (#378)
* add linting

* remove bad filepath.Join

* appease linter

* update linter version

* add lint script
2022-12-19 14:53:41 -05:00
Felipe Madero 78e09846f4 prepare for release 2022-12-08 18:54:09 -03:00
Felipe Madero f0ac905bde use ~/bin in doc 2022-11-28 16:09:00 -03:00
Patrick O'Grady f405aa1686 update default versions 2022-11-04 18:56:37 -04:00
Patrick O'Grady 8114318c2e update root version file 2022-11-04 18:32:38 -04:00
Felipe Madero 8cfb9dc9ec fix attach peer panic 2022-10-20 03:08:45 -03:00
Felipe Madero 9220b18429 testing only 1.9.0 for e2e 2022-10-18 19:30:59 -03:00
Felipe Madero d50da80fd8 add comment for CGO flags setting 2022-10-03 17:28:20 -03:00
Felipe Madero 466652f3c8 fix to CGO_CFLAGS 2022-10-03 15:53:04 -03:00
Felipe Madero 5b8f5df2e2 nits 2022-09-30 22:15:55 -03:00
Felipe Madero 81a91b9ba2 add GCO_FLAGS 2022-09-30 22:01:17 -03:00
Felipe Madero 79501c7eca test 2 2022-09-30 20:03:42 -03:00
Felipe Madero 7ef88d73ac test 2022-09-30 19:45:41 -03:00
fm 8db7cb1b17 fix script for both releases confs 2022-09-27 16:18:41 -03:00
fm e341483227 add two release jobs 2022-09-27 16:00:04 -03:00
Felipe Madero 1728e8e8e3 use 1.8.0 and 1.8.1 in E2E 2022-09-05 13:39:47 -03:00
Felipe Madero 209c68ca20 use 1.8.1 also in E2E 2022-09-05 13:19:02 -03:00
Fabio Barone c7202d2b31 add create blockchain e2e test 2022-08-03 13:38:40 -05:00
Felipe Madero ee29fcd5cc enable e2e to be called without args 2022-07-28 12:37:51 -03:00
Connor Daly 4ea6d485df Fixed lower case 2022-07-19 11:20:54 -04:00
Connor Daly b52d95dfce Merge branch 'main' into updateInstall 2022-07-19 11:20:01 -04:00
Connor Daly 75783ed30a Added install script 2022-07-18 18:00:31 -04:00