v1.36.8: zap v1.2.4 value ObjectBuilder — faster wire build node-wide

zap v1.2.4 (eager-reserve + value-type ObjectBuilder: zero defer-slice, zero
per-StartObject heap alloc) + utxo v0.5.7. Byte-identical wire — 21 platformvm/
xvm/components-lux/da packages green. Node-side setEnvelope/setValidator/setID/
setOwner/setSecurity/writeIDInto helpers take zap.ObjectBuilder by value (its
methods mutate through ob.b, so value + pointer are equivalent). Speeds every
ZAP object build (P/X txs, blocks, warp, da), not just X-tx. X-tx wire composite
922->655ns / 11->5 allocs.

Co-authored-by: Hanzo Dev <dev@hanzo.ai>
This commit is contained in:
zeekay
2026-07-14 09:37:11 -07:00
co-authored by Hanzo Dev
parent 4002a59aa6
commit 3f65eb486d
8 changed files with 17 additions and 12 deletions
+2 -1
View File
@@ -69,7 +69,8 @@
"v1.36.4",
"v1.36.5",
"v1.36.6",
"v1.36.7"
"v1.36.7",
"v1.36.8"
],
"41": [
"v1.13.2"
+1 -1
View File
@@ -77,7 +77,7 @@ var (
const (
defaultMajor = 1
defaultMinor = 36
defaultPatch = 7
defaultPatch = 8
)
func init() {