- 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
- 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
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)
* start adding some checks for node stop
* avoid closing the notification chan
* get to work health up to a good point
* notification of node failure events to user he decides
* use new channel in example
* fix unit tests
* add stopped node check on server healthy check
* keep dead status of process and let used find out on that
* add management of node failure on server
* fix unit tests
* fix e2e test
* Update local/node.go
Co-authored-by: Dan Laine <daniel.laine@avalabs.org>
* fix after applying suggested changes
* add more sync to local node process
* check this causes unit test error at CI
* add state to process manage struct
* add process exit code to notification msg
* fix stuff related to changing notification msg
* fix unit test
* add ctx to node Wait, network RemoveNode
* fix unit test
* kill all descendant of wait context failure
* address PR comment
* move context wait to Stop
* fix unit test issue
* use Await4 to avoid race conditions
* improve comments
* nit
* rm comments regarding Ctrl+C special case and improve code for that
* address PR comment
* move node process to its own file
* add missing file
* reduce number of channels
* address PR comments
* address PR comments
* change Alive method for Status method
* address PR comments
* avoid using of syscal
* address PR comments
* avoid syscall SIGNAL stuff
* address PR comments
* fix examples delay
* fix log format; go mod tidy
* Dan's pass; remove unexpectedStopChan (#158)
* move status to its own package; nits
* combine newNodeProcess and Start
* update nodeProcess
* remove unexpected stop chan
* nit
* fix test
* fix local network stop context cancellation
* fix node stop deadlock
* make Stop return exit code rather than error
* remove return value from killDescendants
* nits; bump timeout
* lint
* add wait time to Status to be notified on common avalanchego startup
failures
* fix lock in Status()
* fix lock code
* increase first status call wait time
* remove first call to status check
Co-authored-by: Dan Laine <daniel.laine@avalabs.org>