Commit Graph
18 Commits
Author SHA1 Message Date
zeekayandGitHub 8d53833026 env: drop LUX_ prefix from env vars (noise) (#113)
Renames LUX_-prefixed env vars to their canonical, non-noisy forms:

- LUX_RLP_PATH    -> RLP_PATH    (test override for the RLP fixture path)
- LUX_VERSION     -> LUXD_VERSION (the luxd version being downloaded/cloned)
- LUX_PLUGIN_DIR  -> PLUGIN_DIR  (the lux plugin install dir, ~/.lux/plugins)

LUX_VERSION had two callers: shell scripts treating it as the luxd
version, and install_luxd_release.sh that already aliased
'LUXD_VERSION=${LUXD_VERSION:-${LUX_VERSION#v}}' on read. Collapse this
to a single canonical name (LUXD_VERSION) and a one-liner v-prefix
strip; no more aliasing.

LUX_PLUGIN_DIR points at ~/.lux/plugins on disk — the path is unchanged,
only the env var name. INSTALL=1 ./scripts/build.sh continues to work,
just driven from $PLUGIN_DIR.

Note: the historical README mention of LUX_VM_RUNTIME_ENGINE_ADDR /
LUX_VM_TRANSPORT (legacy luxfi/vm <= v1.1.0 names) is left in place
because it documents past behavior, per task convention for CHANGELOG/
historical docs.

BREAKING: external callers (CI, dev scripts, operators) must update
env var names. Per CLAUDE.md no-backwards-compatibility rule, the old
forms are removed.
2026-05-15 16:05:42 -07:00
zeekay 458178730d evm: derive plugin VM ID from luxfi/constants.EVMID; bump luxfi/gpu v1.0.1
- cmd/vmid prints constants.EVMID — Go source of truth for the C-Chain VM
  ID. Build scripts and Makefile now call this instead of hardcoding the
  base58 string. Drops a stale subnet-evm ID (ag3GReYP…) from the Makefile.
- scripts/build.sh: default output is build/evm; INSTALL=1 installs under
  the derived VMID at \$LUX_PLUGIN_DIR. Codesigns on darwin in-line so a
  fresh binary doesn't get SIGKILLed by gatekeeper post-cp.
- core/parallel/gpu_bridge.go: build tag flipped from \`!nogpu\` (opt-out)
  to \`gpu\` (opt-in) so default builds don't drag in luxfi/gpu cgo.
- go.mod: luxfi/gpu v0.30.0 → v1.0.1. v0.30.0 referenced removed MLX
  symbols (mlx_from_slice_int64 etc.); v1.0.1 migrated to lux/gpu.h and
  builds cleanly with -tags gpu and -tags \"cevm gpu\".
- LLM.md: build commands updated; \"no canonical / no aliases\" reflects
  reality (single VMID, one filename, derived from Go).
2026-05-11 22:36:46 -07:00
zeekay ed8e284175 Fix shellcheck warnings in shell scripts
- Fix SC2125: Quote GOPRIVATE/GONOSUMDB values in ci_setup.sh
- Fix SC1091: Add source=/dev/null for dynamically sourced lib_luxd_clone.sh
- Fix unbound variable errors in shellcheck.sh for arrays and args
- Add -x flag to shellcheck for following sourced files
2025-12-04 14:04:20 -08:00
zeekay b1979b4a02 Update EVM 2025-08-01 01:23:42 +00:00
zeekay 8da155c1b1 Update imports 2025-07-18 01:55:16 +00:00
zeekay 9cb77af539 fix: remove ALL ava-labs/libevm imports
- Remove all references to github.com/ava-labs/libevm
- Clean up imports in state, triedb, and test files
2025-07-17 17:06:20 -05:00
Ceyhun OnurandGitHub 57bdf1b18a Fix docker image push (#1571) 2025-05-05 11:04:14 +00:00
37ff0fc4d7 Docker image combined tag (#1566)
Signed-off-by: Martin Eckardt <[email protected]>
Signed-off-by: Ceyhun Onur <[email protected]>
Co-authored-by: Martin Eckardt <[email protected]>
Co-authored-by: Michael Kaplan <[email protected]>
Co-authored-by: Quentin McGaw <[email protected]>
2025-04-24 11:56:27 +00:00
maruandGitHub 07eef3a780 [docker] Fix multi-arch builds for unmerged avalanchego versions (#1474) 2025-03-10 18:09:17 +00:00
Ceyhun OnurandGitHub 083e51fce9 fix multiarch docker binary build (#1461) 2025-03-04 23:26:34 +03:00
a298553a2e add multiatch docker build to support arm (#1417)
* add multiatch docker build to support arm

* fix build img id

* Update .github/workflows/publish_docker.yml

Co-authored-by: Quentin McGaw <[email protected]>
Signed-off-by: Ceyhun Onur <[email protected]>

* Update .github/workflows/publish_docker.yml

Co-authored-by: Quentin McGaw <[email protected]>
Signed-off-by: Ceyhun Onur <[email protected]>

* fix vm id

* remove debug echo

* revert format change

---------

Signed-off-by: Ceyhun Onur <[email protected]>
Co-authored-by: Quentin McGaw <[email protected]>
2025-01-06 19:12:05 +03:00
marunandGitHub ffe4249178 [testing] Fix image build validation for unmerged avalanchego commit (#1349)
* [testing] Enable image build testing for unmerged avalanchego version

* fixup: Correct CI failures
2024-09-20 18:53:45 +00:00
marunandGitHub 4bd95875b7 [ci] Validate image build (#1318)
A recent failure of post-merge image build suggested the need for a
pre-merge sanity check to avoid unintentionally merging changes that
break the image build.
2024-08-28 14:32:58 -07:00
Darioush JalaliandGitHub 069c6a2edf build_docker_image.sh: use AVALANCHEGO_NODE_IMAGE (#1313)
* build_docker_image.sh: use AVALANCHEGO_NODE_IMAGE

* fix
2024-08-27 21:39:43 +03:00
marunandGitHub 65a42aa98a [antithesis] Add initial test setup (#1166)
* [antithesis] Propose initial test setup

* fixup: Simplify generation of docker compose artifacts

* fixup: Ensure images will be pushed

* fixup: Update to use refactored antithesis tooling from avalanchego

* fixup: Update workload to use tmpnet

* fixup: Add workload sanity check to CI job

* fixup: Resolved workload errors

* fixup: Generate deterministic keys

* fixup: Fix invocation of gen_antithesis_compose_config

* fixup: Update to use StoppedTimer

* fixup: Respond to review feedback

* fixup: Move embedded comment out of trigger action

* fixup: Get image build test passing

* fixup: Update how runtime plugin dir is provided

* fixup: Update avalanchego version
2024-08-21 18:13:41 +03:00
63c86cb152 Allow VM_ID as input to docker publish job (#1278)
* rename e upgrade to etna

* docker stuff

* fix

* fix

* fix

* move to workflow_dispatch

---------

Co-authored-by: Ceyhun Onur <[email protected]>
2024-08-13 08:28:54 -07:00
Darioush JalaliandGitHub 9fe423f32b docker: add tag for commit hash (#1222) 2024-06-26 08:53:48 -07:00
Ceyhun OnurandGitHub e31a29d5f2 Fix docker push test (#1138)
* refactor docker yml and scripts

* enable pr for test

* fix path

* fix path

* rename img id

* try simpler name

* use -a

* test tag

* remove test steps

* remove avalanchego from image id
2024-04-08 19:43:25 +03:00