You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's the currently handling for Redeemer maps in CSL?
Currently the lib only has array style APIs.
; Flat Array support is included for backwards compatibility and will be removed in the next era.
; It is recommended for tools to adopt using a Map instead of Array going forward.
redeemers = [+ [tag : redeemer_tag, index : uint .size 4, data : plutus_data, ex_units : ex_units]]
/ {+ [tag : redeemer_tag, index : uint .size 4] => [data : plutus_data, ex_units : ex_units]}
The text was updated successfully, but these errors were encountered:
Hi @MarcelKlammer! We support it for serialization round-trip, the api to force using a map is not public now. But we will probably open it in the next version and force using a map structure by default.
But anyway the array format is still legal for the protocol and third-party tooling should support it.
What's the currently handling for Redeemer maps in CSL?
Currently the lib only has array style APIs.
The text was updated successfully, but these errors were encountered: