chore: sync working tree

Commits 2 outstanding change(s) that were sitting uncommitted.
No build artifacts and no secrets in the changeset (both checked).
This commit is contained in:
zeekay
2026-07-26 10:06:59 -07:00
parent 5a4d32092b
commit 7a60a5282f
2 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ length tail; the actual tail read/write code is hand-written using
| File | LP | Schemas | Schema-ID range |
|---|---|---|---|
| `lp-182-consensus.json` | LP-182 | 8 (QuasarCert, QBlock, WitnessProof, MagnetarAggregateCert, PolarisLegs, QuasarSig, TxAuthEnvelope, PQPermit) | 0x01..0x0B |
| `lp-186-vms.json` | LP-186 | 38 across 12 VMs (aivm:3 / bridgevm:3 / dexvm:3 / evm:2 / graphvm:3 / identityvm:4 / keyvm:3 / oraclevm:2 / quantumvm:3 / relayvm:3 / thresholdvm:4 / zkvm:5) | per-VM kind bytes 0x01..0x05 within each VM's `<vm>wire` package namespace |
| `lp-186-vms.json` | LP-186 | 38 across 12 VMs (aivm:3 / bridgevm:3 / dexvm:3 / evm:2 / graphvm:3 / identityvm:4 / keyvm:3 / oraclevm:2 / quantumvm:3 / relayvm:3 / mpcvm:4 / zkvm:5) | per-VM kind bytes 0x01..0x05 within each VM's `<vm>wire` package namespace |
| `lp-201-p2p.json` | LP-201 | 16 (ConsensusVote ... DHTStore) | 0xD0..0xDF |
| `lp-208-dag.json` | LP-208 | 2 (DAGHeader, DAGBody) | 0xE0..0xE1 |
| `lp-211-cross-shard.json` | LP-211 | 6 (CrossShardTxGroup ... CrossShardAbortNotify) | 0xE2..0xE7 |
+9 -9
View File
@@ -1,6 +1,6 @@
{
"lp": "lp-186",
"description": "Lux chains-VM wire (LP-186 §Schema table). 38 schemas declared across 12 VMs (aivm, bridgevm, dexvm, evm, graphvm, identityvm, keyvm, oraclevm, quantumvm, relayvm, thresholdvm, zkvm). Per LP-186 §Per-VM wire packages, each schema's byte layout is the canonical fixed-section comment block in ~/work/lux/chains/<vm>/wire/<schema>.go. Each variable-length bytes-tail occupies an 8-byte slot in the fixed section (Off uint32 + Len uint32), per ZAP SetBytes layout (builder.go:208). Kinds declared in LP-186 spec but with no wire file in tree are deferred — see codegen/README.md §Deferred. Each VM's package namespace is <vm>wire to prevent Block/etc symbol clashes across the 12 VMs. Kind bytes are LOCAL to each VM's package (KindBlock=0x01 in aivmwire is distinct from KindBlock=0x01 in bridgevmwire) — skip_registry suppresses init() registration that would otherwise panic on duplicate kind bytes in the global zapv2.DefaultRegistry.",
"description": "Lux chains-VM wire (LP-186 §Schema table). 38 schemas declared across 12 VMs (aivm, bridgevm, dexvm, evm, graphvm, identityvm, keyvm, oraclevm, quantumvm, relayvm, mpcvm, zkvm). Per LP-186 §Per-VM wire packages, each schema's byte layout is the canonical fixed-section comment block in ~/work/lux/chains/<vm>/wire/<schema>.go. Each variable-length bytes-tail occupies an 8-byte slot in the fixed section (Off uint32 + Len uint32), per ZAP SetBytes layout (builder.go:208). Kinds declared in LP-186 spec but with no wire file in tree are deferred — see codegen/README.md §Deferred. Each VM's package namespace is <vm>wire to prevent Block/etc symbol clashes across the 12 VMs. Kind bytes are LOCAL to each VM's package (KindBlock=0x01 in aivmwire is distinct from KindBlock=0x01 in bridgevmwire) — skip_registry suppresses init() registration that would otherwise panic on duplicate kind bytes in the global zapv2.DefaultRegistry.",
"skip_registry": true,
"schemas": [
{
@@ -684,8 +684,8 @@
"go_name": "ThresholdVMBlockSchema",
"kind": "0x01",
"size": 96,
"package": "thresholdvmwire",
"out": "lp-186/thresholdvm/block_zap.go",
"package": "mpcvmwire",
"out": "lp-186/mpcvm/block_zap.go",
"fields": [
{ "name": "BlockHeight", "type": "uint64", "offset": 8 },
{ "name": "BlockTimestamp", "type": "int64", "offset": 16 },
@@ -700,8 +700,8 @@
"go_name": "OperationSchema",
"kind": "0x02",
"size": 88,
"package": "thresholdvmwire",
"out": "lp-186/thresholdvm/operation_zap.go",
"package": "mpcvmwire",
"out": "lp-186/mpcvm/operation_zap.go",
"fields": [
{ "name": "Timestamp", "type": "int64", "offset": 8 },
{ "name": "Success", "type": "uint8", "offset": 16 },
@@ -728,8 +728,8 @@
"go_name": "ManagedKeySchema",
"kind": "0x03",
"size": 96,
"package": "thresholdvmwire",
"out": "lp-186/thresholdvm/managed_key_zap.go",
"package": "mpcvmwire",
"out": "lp-186/mpcvm/managed_key_zap.go",
"fields": [
{ "name": "Threshold", "type": "uint32", "offset": 4 },
{ "name": "TotalParties", "type": "uint32", "offset": 8 },
@@ -756,8 +756,8 @@
"go_name": "CrossChainMPCRequestSchema",
"kind": "0x04",
"size": 56,
"package": "thresholdvmwire",
"out": "lp-186/thresholdvm/cross_chain_request_zap.go",
"package": "mpcvmwire",
"out": "lp-186/mpcvm/cross_chain_request_zap.go",
"fields": [
{ "name": "TypeOff", "type": "uint32", "offset": 8 },
{ "name": "TypeLen", "type": "uint32", "offset": 12 },