Commit Graph
7 Commits
Author SHA1 Message Date
zeekay 92b6f9a25b lint: gofmt -w core/block/block.go runtime/runtime.go test/helpers/context.go 2026-06-01 22:02:16 -07:00
zeekayandGitHub b4c612687d refactor: XAssetID → UTXOAssetID (#11)
Companion to luxfi/runtime: the field on the embedded Runtime struct
is the primary network's UTXO fee asset (P+X), not X-chain-specific.
Rename consensus consumers + test helpers to match.

Includes the local runtime replace temporarily — drop once
luxfi/runtime tags a release with the rename.
2026-05-30 14:26:00 -07:00
zeekay 09b30dd045 decomplect: rip NetworkUpgrades interface (14 always-true predicates) from Runtime + VMContext 2026-05-18 23:09:51 -07:00
zeekay 45f97a70ab fix: break import cycle by defining SharedMemory locally
Define Element, Requests, and SharedMemory types locally in
runtime package instead of importing from vm/chains/atomic.
This breaks the import cycle:
consensus → vm → consensus
2026-01-26 08:27:21 -08:00
zeekay 4d6f5562d9 chore: sync with node requirements, add runtime package 2026-01-12 14:44:26 -08:00
zeekay 4bc92846c0 Update engine to be easier, more accessible 2025-08-01 13:22:26 -05:00
zeekay a0c09dd3e0 refactor: Complete terminology migration from Avalanche to quantum-themed naming
- Replace all snowball/snowflake references with photon/pulse/wave terminology
- Update test function names to use new nomenclature (TestPhotonBinary, TestWaveMultiChoice, etc.)
- Fix TestParameters Beta value from 1 to 2 to prevent immediate finalization
- Fix wave preference update logic to properly reset non-voted choices
- Make photon Add() method idempotent to allow re-adding same choice
- Rename test files: binary_snowball_test.go → photon_binary_test.go, etc.
- Update struct field names: snowflakePreference → wavePreference/pulsePreference
- Change Nnary to MultiChoice throughout the codebase
- Update comments to remove avalanche-specific terminology

Most tests now pass with the new terminology. Some test failures remain in
the main consensus package that need further investigation, but core protocol
implementations (photon, pulse, wave, prism, quasar) are working correctly.
2025-07-31 12:43:45 -05:00