Commit Graph
29 Commits
Author SHA1 Message Date
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 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 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 a3432cec0b Fix build, bump deps 2025-12-13 10:53:55 +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 a7fe664664 Update dependencies to use latest tagged versions 2025-08-16 07:43:26 +00:00
Zach Kelling 53f8af3521 Fix more tests 2025-08-11 06:14:05 +00:00
Zach Kelling 6a9125450a Update packages 2025-08-05 23:12:36 +00:00
Hanzo Dev 2c036521a7 Fix build 2025-07-18 12:31:39 -05:00
Hanzo Dev 8e19dd357c Update imports 2025-07-17 16:56:43 -05:00
Zach Kelling ef1adb0022 Rollback to 1.6.0 2024-01-02 20:55:14 +01:00
fm 049d988c2a lint 2023-04-13 17:25:32 -03:00
sukantoraymond b9468a0094 update avalanche go v1.19.16 2023-04-06 14:01:21 -04:00
Felipe Madero ab4617f743 lint 2023-01-09 14:49:03 -03:00
Dan LaineandGitHub 6a41ace72f add linting (#378)
* add linting

* remove bad filepath.Join

* appease linter

* update linter version

* add lint script
2022-12-19 14:53:41 -05:00
Stephen 63eb4cda77 Add test message implementation + update avalanchego version 2022-11-04 18:19:38 -04:00
Felipe Madero 7b6ea89395 fix peer unit test 2022-10-26 12:20:27 -03:00
Felipe Madero 007378cb76 enable test 2022-10-26 09:35:32 -03:00
Felipe Madero c1cf2ae3f3 skip peer unit test for the moment 2022-10-25 22:45:38 -03:00
fm f2ed9e68cc latest changes in 1.9.1 2022-10-25 19:51:44 -03:00
Felipe Madero 97407e4590 fix unit tests 2022-09-26 13:38:51 -03:00
Fabio Barone ceb8f6d32a bump avago to 1.8.1 2022-09-05 10:46:30 -05:00
Fabio Barone 26e908d4c9 move AttachPeer entirely to the node 2022-07-19 12:24:50 -05:00
Felipe Madero 8d4ebc9d58 partial update to 1.7.11 2022-05-27 15:07:04 -03:00
Dan LaineandGitHub b018889ce4 Make healthy block (#154)
* change netowork.Healthy to block and return an error rather than return immediately and return a chan error. Fix network.Healthy so it immediately returns if network.Stop is called

* add test

* modify test

* nit

* nit

* fix tests

* onStopCtx --> onStopCh

* remove stopped field

* add comment

* remove unnecessary contexts

* fix comments
2022-05-20 14:29:22 -04:00
62339ed338 Fram 282 address open TODOs regarding TestAttachPeer (#120)
* finalize complete p2p handshake for TestPeer

* lean refactor and optimization

* consolidate connection closing

Co-authored-by: Dan Laine <daniel.laine@avalabs.org>
2022-03-31 14:16:45 -04:00
Dan Laine 9990c74e7d move GetConnFunc definition to local and remove function from interface 2022-03-23 07:51:00 -04:00
Dan Laine 42f3a255dc WIP fix attach peer test 2022-03-23 07:46:42 -04:00
Dan Laine 69795c90a1 move attach peer test to node_test.go 2022-03-23 06:54:33 -04:00