Updates dependencies:
- github.com/luxfi/vm v1.0.22 → v1.0.23 (adds ZAP transport Serve)
- github.com/luxfi/log v1.3.0 → v1.4.1 (fixes module path declaration)
- github.com/luxfi/consensus v1.22.53 → v1.22.56
- github.com/luxfi/crypto v1.17.39 → v1.17.40
- github.com/luxfi/database v1.17.38 → v1.17.39
- github.com/luxfi/geth v1.16.69 → v1.16.73
- github.com/luxfi/p2p v1.18.7 → v1.18.8
- github.com/luxfi/warp v1.18.4 → v1.18.5
The vm package now provides a ZAP-based Serve function by default,
eliminating the need for the grpc build tag for VM plugins.
Also includes various improvements to validators, warp service,
and precompile interfaces.
- Replace consensuscontext.GetSubnetID with GetNetID
- Update variable names from subnetID to netID
- Add GetNetID method to ConsensusStateWrapper
- Update error messages to use Net terminology
When tests use SnapshotNoBuild: true with SnapshotLimit > 0, snapshot
layers are initialized but not built for new blocks. Previously, when
blocks were accepted, the acceptor would crash with "cannot flatten
missing snapshot" error because it tried to flatten non-existent layers.
This fix adds:
- HasBlockLayer(blockHash) method to snapshot.Tree to check layer existence
- Check in flattenSnapshot to skip flattening if layer doesn't exist
This properly handles test configurations where snapshots are enabled
but layers aren't built, allowing all 63 packages to pass with 0 failures.
Updated all references from Subnet to Net throughout the test suite:
- NewTmpnetSubnet → NewTmpnetNet
- tmpnet.Subnet → tmpnet.Net
- network.GetSubnet → network.GetNet
- Subnets field → Nets field
This aligns with the Lux rebranding to drop 'Sub' language.
- Fixed all import paths for new consensus structure
- Added local replace directives for development
- Updated uptime and choices import paths throughout
- Replace gomock-based mocks with manual test implementations
- Fix validator state test mocks to use function fields
- Update uptime manager tests to use local NewManager
- Remove dependency on non-existent uptime.NewTestState
- Fix test compilation errors in warp/validators
- 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
- Updated auth and bind interfaces for improved transaction handling
- Enhanced network configuration and database wrappers
- Improved validator state management and uptime tracking
- Updated sync client and gossip test implementations
- Fixed mock interfaces and handler implementations
- Updated dependencies in go.mod/go.sum
- Updated go:generate comments to use luxfi/geth instead of ethereum/go-ethereum
- Fixed GitHub issue/PR references to point to luxfi repositories
- Updated comments referencing the Lux geth fork
- Part of the migration to unified EVM architecture with Lux consensus
- Update imports from luxdefi/node to luxfi/node
- Replace libevm interfaces with direct go-ethereum imports
- Add placeholder interface files for missing dependencies
- Update go.mod to use local luxfi/node path
- Fix merge conflicts in multiple files
- Create stub implementations for missing packages
This allows the project structure to align with v0.7.5 requirements
but the build still needs additional work to be fully functional.
Updated all copyright headers from "Lux Partners Limited" to "Lux Industries Inc" and updated the year to 2025 to reflect the new holding company structure.