From 3b4d16bbc578ac99e1f505d7a4a580c85709dd36 Mon Sep 17 00:00:00 2001 From: zeekay Date: Fri, 10 Jul 2026 14:35:18 -0700 Subject: [PATCH] =?UTF-8?q?indexer=20p-chain=20example:=20block.Parse(b)?= =?UTF-8?q?=20codec-free=20=E2=80=94=20WHOLE=20NODE=20builds?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Last P-chain codec consumer. go build ./... = EXIT 0. The platformvm codec (pcodecs/txs.Codec/serialize tags) is fully dead; P-chain tx + block + state are native ZAP struct-is-wire end to end. Remaining codec surface is X-chain + proposervm + warp (Wave A), which still carry their own (intact) codecs. Co-authored-by: Hanzo Dev --- indexer/examples/p-chain/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexer/examples/p-chain/main.go b/indexer/examples/p-chain/main.go index 702131d78..dc3d23096 100644 --- a/indexer/examples/p-chain/main.go +++ b/indexer/examples/p-chain/main.go @@ -39,7 +39,7 @@ func main() { platformvmBlockBytes = proposerVMBlock.Block() } - platformvmBlock, err := platformvmblock.Parse(platformvmblock.Codec, platformvmBlockBytes) + platformvmBlock, err := platformvmblock.Parse(platformvmBlockBytes) if err != nil { log.Fatalf("failed to parse platformvm block: %s\n", err) }