mirror of
https://github.com/luxfi/node.git
synced 2026-07-27 03:39:39 +00:00
Neutralise the promotional surface around legacy upstream upgrade names
(Apricot / Banff / Cortina / Durango / Etna / Fortuna / Granite) while
preserving the on-disk Config schema and the IsXxxActivated() predicate
surface — those field names and methods are load-bearing for every
upstream-derived block parser, codec, and tx executor in the tree, and
Lux activates every gate at chain birth so they are inert in production.
Changes:
- upgrade/upgrade.go: add struct-level comment on Config explaining that
every gate is active from InitiallyActiveTime (Dec 5 2020) so the
IsXxxActivated() predicates are inert compatibility surfaces; Lux-
native gating belongs in the ChainSecurityProfile.
- upgrade/upgradetest/fork.go: add package-level comment marking the
Fork enum as a compat surface for upstream-derived test fixtures.
- vms/platformvm/docs/{block_formation_logic,chain_time_update}.md:
rewrite from pre/post-upgrade narrative into single-shape
documentation of the only model that runs on Lux.
- vms/platformvm/docs/validators_versioning.md, indexer/service.md,
config/config.md, vms/platformvm/warp/README.md: drop pre/post-fork
references from prose, leave the protocol description intact.
- vms/proposervm/proposer/windower.go, pre_fork_block.go,
vms/proposervm/block_test.go, vms/platformvm/warp/validator.go,
vms/platformvm/txs/executor/proposal_tx_executor.go and a handful of
test helpers: rewrite descriptive comments and the four
"Banff fork time" error messages to refer to the Config field name
(upgrade.Config.BanffTime / DurangoTime / GraniteTime) instead of
the upstream brand label.
- tests/granite_integration_test.go -> tests/lp181_integration_test.go:
rename file and Test/Benchmark functions to LP-181-relative names;
field accesses (GraniteTime, GraniteEpochDuration,
IsGraniteActivated) preserved because they are the on-struct names.
- network/network.go, network/peer/peer.go, chains/manager.go,
scripts/tests.upgrade.sh, .github/labels.yml: scrub stray
upstream-brand mentions from comments / labels.
What is intentionally preserved (compat shim policy, same logic as the
geth-config preservation rule for ~/work/lux/coreth /geth /genesis):
- upgrade.Config field names (ApricotPhaseNTime, BanffTime, ..., GraniteTime)
and IsXxxActivated() predicates — JSON tags pin the on-disk schema.
- upgradetest.Fork enum values (NoUpgrades..Granite) — referenced by
hundreds of upstream-derived test fixtures.
- Block-type identifiers (BanffStandardBlock, ApricotProposalBlock, ...)
— wire-format-load-bearing.
- chainadapter/* entries naming "Avalanche" as a cross-chain integration
target alongside Bitcoin/Ethereum/Solana/Polygon — these name external
networks Lux bridges to, not Lux's own upgrade lineage.
- RELEASES.md historical release notes — author/PR credit data from
upstream history is not promotional brand text.
Build verified: GOWORK=off go build ./... -> exit 0.
106 lines
2.7 KiB
YAML
106 lines
2.7 KiB
YAML
# Lifecycle labels
|
|
- name: "DO NOT MERGE"
|
|
color: "ba1b48"
|
|
description: "This PR must not be merged in its current state"
|
|
- name: "lifecycle/frozen"
|
|
color: "2476B2"
|
|
- name: "lifecycle/stale"
|
|
color: "ededed"
|
|
|
|
# General category labels
|
|
- name: "bug"
|
|
color: "d73a4a"
|
|
description: "Something isn't working"
|
|
- name: "documentation"
|
|
color: "0075ca"
|
|
description: "Improvements or additions to documentation or examples"
|
|
- name: "enhancement"
|
|
color: "a2eeef"
|
|
description: "New feature or request"
|
|
- name: "needs information"
|
|
color: "d876e3"
|
|
description: "Further information is needed"
|
|
- name: "needs investigation"
|
|
color: "147F45"
|
|
description: "It is currently unclear if there is an issue"
|
|
- name: "good first issue"
|
|
color: "7057ff"
|
|
description: "Good for newcomers"
|
|
- name: "help wanted"
|
|
color: "008672"
|
|
description: "Looking for someone to address this"
|
|
- name: "ci"
|
|
color: "e99695"
|
|
description: "This focuses on changes to the CI process"
|
|
- name: "cleanup"
|
|
color: "BFD4F2"
|
|
description: "Code quality improvement"
|
|
- name: "dependencies"
|
|
color: "0366d6"
|
|
description: "This primarily focuses on changing a dependency"
|
|
- name: "testing"
|
|
color: "220233"
|
|
description: "This primarily focuses on testing"
|
|
- name: "monitoring"
|
|
color: "97450A"
|
|
description: "This primarily focuses on logs, metrics, and/or tracing"
|
|
- name: "incident response"
|
|
color: "BE3D15"
|
|
- name: "github_actions"
|
|
color: "000000"
|
|
description: "Pull requests that update GitHub Actions code"
|
|
- name: "go"
|
|
color: "16e2e2"
|
|
description: "Pull requests that update Go code"
|
|
- name: "needs Go upgrade"
|
|
color: "16e2e2"
|
|
description: "This requires a minor upgrade of Go to be supported"
|
|
|
|
# Luxd specific labels
|
|
- name: "antithesis"
|
|
color: "1d76db"
|
|
description: "Related to an issue reported by Antithesis"
|
|
- name: "bubble votes"
|
|
color: "3C9CDD"
|
|
- name: "consensus"
|
|
color: "4444ff"
|
|
description: "This involves consensus"
|
|
- name: "continuous staking"
|
|
color: "f9d0c4"
|
|
- name: "gossiping upgrade"
|
|
color: "c2e0c6"
|
|
- name: "merkledb"
|
|
color: "0e8a16"
|
|
- name: "networking"
|
|
color: "88E841"
|
|
description: "This involves networking"
|
|
- name: "sdk"
|
|
color: "72ED25"
|
|
description: "This involves SDK tooling or frameworks"
|
|
- name: "storage"
|
|
color: "3F2A70"
|
|
description: "This involves storage primitives"
|
|
- name: "Uptime Tracking"
|
|
color: "d4c5f9"
|
|
- name: "vm"
|
|
color: "d1f7a0"
|
|
description: "This involves virtual machines"
|
|
- name: "warp"
|
|
color: "4FC611"
|
|
- name: "Warp Signature API"
|
|
color: "68A7EA"
|
|
|
|
# LP labels
|
|
- name: "lp103"
|
|
color: "AB2C58"
|
|
- name: "lp113"
|
|
color: "3359BA"
|
|
- name: "lp118"
|
|
color: "DFC715"
|
|
- name: "lp125"
|
|
color: "bfdadc"
|
|
- name: "lp20"
|
|
color: "DB7D37"
|
|
- name: "lp77"
|
|
color: "45CDF2"
|