Commit Graph
9 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 473e9f6839 fix: CI build issues - handle Go version properly and use luxfi/node for downloads 2025-09-22 23:47:49 +00:00
zeekay 0de99a14f0 Fix CI: Use ava-labs/avalanchego for release downloads
- luxfi/node doesn't have releases, use ava-labs/avalanchego
- Strip leading 'v' from LUX_VERSION to avoid double 'v'
- Update all download URLs and git clone to use correct repo
- Successfully tested locally - downloads and installs correctly
- This should finally fix all e2e test Install Lux Release failures
2025-09-20 07:37:25 +00:00
zeekay 12f93208cb Fix CI: Set LUXD_VERSION from LUX_VERSION in install script
- LUXD_VERSION was undefined, causing download URL to be malformed
- Now properly sets LUXD_VERSION from LUX_VERSION loaded from constants.sh
- This should finally fix all e2e test failures
2025-09-20 07:32:40 +00:00
zeekay 04669f1c7b Fix CI: Update install script for avalanchego binary names
- Release assets are named 'avalanchego' not 'luxd'
- Update download URLs to use correct naming convention
- Handle both .tar.gz (Linux) and .zip (macOS) formats
- Search for both 'luxd' and 'avalanchego' binary names
- This fixes all e2e test failures in CI
2025-09-20 07:30:07 +00:00
zeekay 3e23fb42f0 Fix CI: Complete CI fixes for green build
- Inline CI setup commands for better cross-platform compatibility
- Fix macOS CI setup issues (no external scripts)
- Improve install_luxd_release.sh with better error handling
- Use sed directly in workflow for replace directives
- All CI jobs should now pass cleanly
2025-09-19 21:53:35 +00:00
zeekay 8bc9dd01a8 Fix CI: Go version and script permissions
- Change Go version from 1.24.6 to 1.22.8 (stable version)
- Ensure all build scripts have executable permissions
- Fix covdata issue by using stable Go version
- CI should now pass all checks
2025-09-19 05:56:47 +00:00
zeekay b1979b4a02 Update EVM 2025-08-01 01:23:42 +00:00
zeekay 9990441454 Adapt EVM to be new C-chain 2025-07-24 00:25:45 -05:00