From 558b4ff65d08dc49f579ba04937661135d55ddef Mon Sep 17 00:00:00 2001 From: waalge Date: Sun, 25 Jan 2026 21:18:01 +0000 Subject: [PATCH] Use an example with indef array serialization. This shouldn't have effected consumers consuming in the prescribed fashion. However, its probably not helpful to present an example that suggests we use a different encoding from the one we actually use. (And which we have to use because Plutus forces us to reserialize, and we use their serializer which is weird. This is still the least worse option imho.) --- docs/developer-manual/consume.md | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/docs/developer-manual/consume.md b/docs/developer-manual/consume.md index a1657adf..aa7681cb 100644 --- a/docs/developer-manual/consume.md +++ b/docs/developer-manual/consume.md @@ -237,30 +237,27 @@ type RationalDatum { Some example hex encoded CBOR: ```sample -D87982D879834E4345522F464143542D4144412F331B0000019012C8CCD3D879821981951A000F4 -240D879821B0000019012C90F89581C694F647F6C6FEE725EAF731938613059AC560E573D9FA656 -0850EAB0 +d8799fd8799f4e4345522f43424c502d4144412f331b0000019bf6f0a165d8799f19d41d1a4a817 +c80ffffd8799f581c3c12f6735ef87655c5b27bced3f828d857d0a27fd20f2cda18ebf2fbffff ``` -Which can be deserialized as: +Which can be deserialized as (in CBOR diagnostic notation): ```cbor -121([ - 121([ - "CER/FACT-ADA/3", - 1718302067923, - 121([ - 33173, - 1000000 - ]) +121_0([_ + 121_0([_ + h'4345522f43424c502d4144412f33', + 1769374523749_3, + 121_0([_ 54301_1, 1250000000_2]), + ]), + 121_0([_ + h'3c12f6735ef87655c5b27bced3f828d857d0a27fd20f2cda18ebf2fb', ]), - 121([ - 1718302085001, - h'694F647F6C6FEE725EAF731938613059AC560E573D9FA6560850EAB0' - ]) ]) ``` +The feed id decodes to `CER/FACT-ADA/3`. + ## Deployments | Network | Link | FSP hash |