8 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
Zach Kelling 2f9accfb10 Refactor subnet→chain terminology and update genesis to v1.5.6
Major changes:
- Rename SubnetSpec → ChainSpec/ParticipantSpec throughout codebase
- Rename BlockchainSpec → ChainSpec for full chain definitions
- Update all protobuf definitions with new naming
- Fix duplicate variable declarations from sed replacements
- Update copyright headers to BSD-3-Clause with SPDX identifiers
- Update github.com/luxfi/genesis to v1.5.6 (BLS signer keys)

The genesis v1.5.6 update adds:
- Initial stakers with BLS publicKey and proofOfPossession
- Initial allocations for local network testing
- Fixes "failed to load database state: not found" error

Build fixes:
- Fix api/mocks/client.go CChainAPI return type
- Fix local/node_test.go with build tag for integration tests
- Fix parameter name collisions (chainConfigs → pChainConfigs)
2025-12-19 07:11:06 -08:00
Zach Kelling e9ad6d53b7 feat: Improve genesis config and graceful shutdown handling
- Add treasury and ewoq allocations to mainnet genesis
- Use proper treasury address for reward and stake allocations
- Add ewoq allocation with immediately available P-chain funds
- Improve graceful shutdown exit code handling (accept 0, -1, 2, 130, 143)
- Update dependencies: node v1.21.5, genesis v1.2.5, evm v0.8.1
- Remove local replace directive for genesis
2025-12-09 07:15:36 +00:00
Zach Kelling b6e86e3497 Fix default node flags for multi-node local development
Use sybil-protection-enabled=false instead of dev-mode and
poa-single-node-mode since dev-mode is for single-node only.
2025-12-05 00:45:14 +00:00
Zach Kelling 63e56e9cb8 Update node flags to use dev-mode instead of deprecated consensus params
The old flags consensus-sample-size, consensus-quorum-size, and
consensus-commit-threshold have been replaced with dev-mode and
poa-single-node-mode in luxd v1.21.0.
2025-12-05 00:38:23 +00:00
Zach Kelling c98952ac0c Fix LUXAssetID -> XAssetID and update node to v1.18.11 2025-09-27 03:33:46 +00:00
Zach Kelling be85c151b0 fix: update imports and API calls for compatibility
- Migrated from Subnet to Net terminology
- Fixed logging imports to use luxfi/log
- Updated metric and set package imports
- Added replace directives for local packages
- All binaries building successfully
2025-09-19 05:37:42 +00:00
Zach Kelling 466f40ec2b Add multi-consensus orchestration to netrunner
- Implement engine abstraction for managing multiple consensus implementations
- Add LuxEngine and AvalancheEngine implementations
- Create Host orchestrator for multi-engine management
- Add stack manifest system for defining multi-network configurations
- Implement port manager for dynamic allocation
- Add metrics collector for engine monitoring
- Create CLI commands for engine management (start, stop, list)
- Add predefined stacks for common network setups (L1+L2, bridge configs)
- Temporarily disable EVM client imports due to dependency conflicts
- All orchestrator components build successfully
2025-08-08 18:02:36 +00:00