Commit Graph
2343 Commits
Author SHA1 Message Date
Zach Kelling 654e1fad30 Update dependencies (vm v1.0.30, node v1.23.3) 2026-01-26 12:31:54 -08:00
Zach Kelling 75cb620ba4 fix: use node/utils/compression instead of compress
Update import from github.com/luxfi/compress to
github.com/luxfi/node/utils/compression for type compatibility.
2026-01-26 09:47:36 -08:00
Zach Kelling 080dc879c2 chore: update dependencies for GOWORK=off builds
Updated packages:
- node v1.23.1 → v1.23.2
- protocol v0.0.2 → v0.0.3
- consensus v1.22.62 → v1.22.63
- codec v1.1.3 → v1.1.4
- timer v1.0.1 → v1.0.2
- net v0.0.1 → v0.0.2
- constants v1.4.3 → v1.4.4
- genesis v1.6.0 → v1.6.1
- runtime v1.0.0 → v1.0.1
- utxo v0.2.3 → v0.2.4
2026-01-26 09:37:54 -08:00
Zach Kelling fab2d8d999 chore: update go.mod dependencies 2026-01-21 20:10:10 -08:00
Zach Kelling 082a731a9a chore: update all deps to latest (node v1.22.88, vm v1.0.20, database v1.17.39) 2026-01-20 00:17:19 -08:00
Zach Kelling 2157b410c6 Improve genesis loading and snapshot management
- Enhance genesis.go with LoadCanonicalGenesis for mainnet/testnet
- Add LoadGenesisForNetwork to load from external paths
- Improve snapshot.go with better incremental backup support
- Fix network ID handling in genesis_config.go (use constants.MainnetID not ChainID)
- Update API client interfaces for better type safety
- Fix server network handling for proper genesis selection
- Update dependencies to latest versions
2026-01-20 00:03:35 -08:00
Zach Kelling 160e25c144 fix build 2026-01-14 19:56:11 -08:00
Zach Kelling deae88ca44 chore: update all deps to latest clean versions 2026-01-09 01:26:07 -08:00
Zach Kelling 907b6ccb12 refactor: update all imports from node/vms to vm/vms 2026-01-09 00:03:50 -08:00
Zach Kelling cd6ad67723 refactor: update to external packages, remove node dependency 2026-01-08 23:51:55 -08:00
Zach Kelling 1013ead275 Update constants package 2026-01-08 20:38:49 -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 409c101a15 chore: remove replace directive for genesis
Remove local replace directive for github.com/luxfi/genesis.
This package now uses proper tagged versions from GitHub instead of local paths.

This enables reproducible builds and clean CI/CD pipelines.
2026-01-06 15:36:55 -08:00
Zach Kelling 30605d3406 Add new flags, profile support, updated genesis 2026-01-06 11:52:14 -08:00
Zach Kelling 4e2a4e432e chore: remove local replace directives and update dependencies
- Update github.com/luxfi/keys v1.0.5 → v1.0.6
- Update github.com/luxfi/genesis v1.5.18 → v1.5.19
- Remove local replace directives for keys and genesis
- Use published package versions for reproducible builds
2026-01-03 07:05:17 -08:00
Zach Kelling 5d4bdf3368 build: CGO_ENABLED=1 default for C++/GPU backends
- CGO_ENABLED?=1 allows C++/GPU acceleration by default
- Allow CGO_ENABLED=0 override for pure Go builds
2026-01-03 06:55:59 -08:00
Fuma Nama ecefe97063 chore(deps): update to latest luxfi packages
- Remove local replace directive for genesis
- Update to latest published versions:
  - genesis v1.5.18
  - geth v1.16.67
  - crypto v1.17.32
  - ids v1.2.6
  - database v1.2.18
  - p2p v1.18.3
  - consensus v1.22.47
2025-12-31 18:01:12 -08:00
Zach Kelling 50ce2380fe chore: add devnet config, improve network handling
- Add NewDevnetConfigFromMnemonic for devnet configuration
- Improve network server subnet handling
2025-12-30 07:18:45 -08:00
Zach Kelling 8252ac5a40 chore: migrate to stdlib maps, remove unused imports
- Replace golang.org/x/exp/maps with stdlib maps (Go 1.21+)
- Remove unused slices imports from network/config.go and local/genesis_config.go
2025-12-29 20:30:26 -08:00
Zach Kelling 8d8f92606e chore(deps): update node to v1.22.75 2025-12-29 17:15:50 -08:00
Zach Kelling e002504d60 chore(deps): remove local replaces, update to latest packages
- Remove all local replace directives (genesis, sdk, keys, node)
- Update luxfi/node v1.22.72 -> v1.22.74
- Update luxfi/genesis v1.5.16 -> v1.5.17
- Update luxfi/keys v1.0.3 -> v1.0.5
- Update luxfi/geth v1.16.64 -> v1.16.66
- Update luxfi/log v1.1.26 -> v1.2.1
- Eliminates luxfi/constants dependency (replaced by luxfi/const v1.4.0)
2025-12-29 16:26:29 -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
Zach Kelling 94b4fccdfb fix: complete variable shadowing fix in e2e tests
Fix remaining instances where log package was passed instead of logger:
- client.New(..., log) -> client.New(..., logger)
- VerifySubnetHasCorrectParticipants(log, ...) at lines 267, 353, 906
2025-12-29 15:31:45 -08:00
Zach Kelling e74963cca4 refactor: clean up CLI and fix e2e tests
- Remove duplicate cmd files (start.go, multinet.go, engine.go)
  that bypassed server/control architecture and contained AI slop
- Fix e2e_test.go variable shadowing (log -> logger)
- Fix metric.NewRegistry() package reference
- Remove unused prometheus import
- CLI now cleanly provides: server, control, ping commands
- Update dependencies to github.com/luxfi/const v1.4.0
2025-12-29 15:10:32 -08:00
Zach Kelling a9be674900 chore: update to github.com/luxfi/const v1.4.0
Rename dependency from luxfi/constants to luxfi/const for brevity.
2025-12-29 14:09:07 -08:00
Zach Kelling 7a0bea43c9 deps: update node to v1.22.71, crypto to v1.17.27
- Update luxfi/node from v1.22.70 to v1.22.71
- Update luxfi/crypto from v1.17.26 to v1.17.27
2025-12-29 11:15:28 -08:00
Zach Kelling cd0dd2fccc fix: correct network ID usage and remove HID conflicts
- Remove ledger-lux-go transitive dependency
- Fix Network ID vs Chain ID confusion in genesis_config.go
- Use constants.MainnetID/TestnetID instead of configs.ChainID
- Fix port base calculation for multi-network mode
- Add snapshot server functionality
- Update protobuf definitions with new RPC methods
- Add mnemonic test coverage
2025-12-29 10:07:43 -08:00
Zach Kelling ac91b3c853 docs: add LLM.md for AI assistant documentation 2025-12-24 18:10:52 -08:00
Zach Kelling 37c9881d7a feat: improve blockchain deployment and network handling
- Fix chain validator addition for testnet/mainnet networks
- Add better error handling for CreateChains
- Improve network state tracking for multi-network support
- Fix server shutdown to properly clean up network resources
2025-12-24 12:54:59 -08:00
Zach Kelling 00a82bb8e2 Update example 2025-12-23 19:04:33 -08:00
Zach Kelling fa4f6450a5 feat: add multi-network support for mainnet/testnet
- Add testnet example alongside mainnet example
- Update server/network.go to properly handle network IDs
- Fix genesis config loading for different network types
- Support concurrent mainnet (port 9630) and testnet (port 9640)
- Add multi-network architecture documentation
2025-12-23 17:15:00 -08:00
Zach Kelling a6f652d094 deps: upgrade to warp v1.18.0
Upgrade warp to v1.18.0 which consolidates warp-specific types
from lp118 into the warp package directly.

RIP lp118 🪦
2025-12-23 10:32:48 -08:00
Zach Kelling 49dbc8f929 deps: upgrade node to v1.22.59, p2p to v1.5.0
Update dependencies to use the consolidated p2p package where
all p2p code is now in the external github.com/luxfi/p2p package
instead of the internal node/network/p2p.
2025-12-23 10:02:53 -08:00
Zach Kelling ec09524375 refactor: migrate from zap to luxfi/log, remove local replace directives
- Replace all direct go.uber.org/zap imports with github.com/luxfi/log
- Rename log variables to logger throughout codebase to avoid shadowing
  the log package when using package-level functions like log.String, log.Err
- Remove local replace directives from go.mod (genesis, config)
- Bump version to 1.6.1
2025-12-22 12:39:05 -08:00
Zach Kelling 03de0bc797 fix: add Windows support for filesystem sync operations 2025-12-22 07:56:54 -08:00
Zach Kelling 6030d8c010 fix: remove local replace directive
Removes accidental local replace directive for genesis
2025-12-22 07:16:44 -08:00
Zach Kelling e68d3ca54a deps: upgrade keys to v1.0.3, node to v1.22.45
- keys v1.0.3 and node v1.22.45 with NewCertAndKeyBytesFromKey
2025-12-22 07:14:08 -08:00
Zach Kelling 8361f28dc2 deps: upgrade keys to v1.0.2
- keys v1.0.2 with node v1.22.44 (NewCertAndKeyBytesFromKey)
2025-12-22 07:07:33 -08:00
Zach Kelling a8414c5cb1 deps: upgrade keys to v1.0.1
- keys v1.0.1 adds DeriveValidatorsFromMnemonic and DeriveValidatorFromMnemonic
2025-12-22 07:01:10 -08:00
Zach Kelling 36569598b4 deps: upgrade constants to v1.2.5 2025-12-22 06:27:12 -08:00
Zach Kelling facf820d95 deps: update to Go 1.25.5
Update go.mod and CI to Go 1.25.5.
2025-12-22 06:19:13 -08:00
Zach Kelling 413af4dfd9 ci: downgrade to Go 1.23.5 for compatibility 2025-12-22 06:13:41 -08:00
Zach Kelling a6a6b2fbca deps: upgrade genesis to v1.5.10
Fix CI build failures by using latest genesis package with all required exports.
2025-12-22 06:08:35 -08:00
Zach Kelling d4f6811dfc ci: upgrade Go version to 1.25.5
Update from outdated Go 1.19 to latest 1.25.5.
2025-12-22 06:03:29 -08:00
Zach Kelling 63c660b2a7 fix: use reassignPortsIfUsed=true in test to avoid port conflicts 2025-12-22 05:58:34 -08:00
Zach Kelling 6edf405934 refactor: use constants for network/chain IDs, fix paths
- cmd/multinet.go: Use constants.MainnetID (1), TestnetID (2), etc.
- cmd/start.go: Use constants, add devnet support
- All data dirs now use ~/.lux/networks/ instead of /tmp/
- Network IDs (P-Chain): 1, 2, 3, 1337
- Chain IDs (C-Chain EVM): 96369, 96368, 96370, 1337
2025-12-22 05:42:02 -08:00
Zach Kelling 35f02edd25 Update logging, examples 2025-12-22 05:07:52 -08:00
Zach Kelling 40e2bbf737 chore(deps): upgrade node to v1.22.44 2025-12-22 04:25:15 -08:00
Zach Kelling b711fb7732 chore: remove subnet deployment command
Removes unused deploy_subnet.go and its reference from root.go
2025-12-21 18:28:11 -08:00
Zach Kelling 2e84d0db8d chore: remove local replace directives, update deps 2025-12-21 17:02:43 -08:00