bloxbean / yaci

A Cardano Mini Protocols implementation in Java
MIT License
25 stars 3 forks source link

feat: #49 Handle redeemers as map in Conway era #52

Closed satran004 closed 8 months ago

satran004 commented 8 months ago
; 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, data: plutus_data, ex_units: ex_units ] ]
  / { + [ tag: redeemer_tag, index: uint ] => [ data: plutus_data, ex_units: ex_units ] }