File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,8 @@ We add the following builtin functions:
6363As with all Plutus Core builtin types, arrays must have a fixed binary representation.
6464
6565For arrays, this representation will be based on the one currently implemented in the [ flat] [ 8 ] encoding
66- for the [ Haskell ` Array ` type] [ 9 ] .
66+ for the [ Haskell ` List ` type] [ 9 ] . Plutus Core arrays must be converted to lists before being serialised,
67+ and deserialisation is performed by using the flat decoder for lists and converting the result to an array.
6768
6869## Rationale: how does this CIP achieve its goals?
6970
@@ -205,4 +206,4 @@ This CIP is licensed under [CC-BY-4.0](https://creativecommons.org/licenses/by/4
205206[ 6 ] : https://github.com/IntersectMBO/cardano-ledger " cardano-ledger "
206207[ 7 ] : https://github.com/IntersectMBO/cardano-node " cardano-node "
207208[ 8 ] : https://hackage.haskell.org/package/flat " flat "
208- [ 9 ] : https://hackage.haskell.org/package/array-0.5.4 .0/docs/Data-Array .html#t:Array " Haskell Array "
209+ [ 9 ] : https://hackage.haskell.org/package/base-4.21.0 .0/docs/Data-List .html " Haskell List "
You can’t perform that action at this time.
0 commit comments