mirror of
https://github.com/luxfi/chains.git
synced 2026-09-24 00:26:00 +00:00
Continuation of eb0b44e (quantumvm consumer-side leak after consensus
repo migration) — the rename was incomplete; this pass closes it.
Identifier renames in chains/{quantumvm,thresholdvm,dexvm}:
- NTTForwardCorona / NTTInverseCorona / BatchNTTForwardCorona
→ NTTForward/Inverse/BatchNTTForwardCorona (Quasar GPU dispatch)
- LaneCorona (CertLane enum)
→ LaneCorona
- ProtocolCorona (Protocol enum)
→ ProtocolCorona (string value already "corona")
- All Corona-prefixed local identifiers in quantumvm/{quasar,
quasar_witness,block,vm,vm_test,signer,stamper,service}.go,
thresholdvm/{client,protocols,rpc,types/{ceremony,share},
runtime/m_chain_adapter,cert/lane_test,protocol_executor_test}.go,
dexvm/factory.go
Directory + file rename:
thresholdvm/protocol/corona_general/corona.go
→ thresholdvm/protocol/corona_general/corona.go
package corona_general → package corona_general
evm/main.go: replace single `precompile/corona` blank-import with
the canonical LP-4200 unified PQCrypto block (mlkem 0x012201,
mldsa 0x012202, slhdsa 0x012203, pulsar 0x012204, p3q 0x012205,
corona 0x012206) + xwing.
External test that imports threshold's renamed wrapper:
thresholdvm/protocol_executor_test.go now imports
"github.com/luxfi/threshold/protocols/corona" (was protocols/corona).
Resolves via the workspace `./threshold` entry pointing at the
local renamed wrapper; downstream chains/go.mod still pins
luxfi/threshold v1.5.5 and will tidy clean once threshold cuts the
next tag.
Build: go build ./... PASS (only harmless duplicate-rpath warnings
from the cevm cgo link).
Tests:
thresholdvm + subpackages PASS
quantumvm PASS