Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Feb 23, 2024
Merged

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

merged 1 commit into from
Feb 23, 2024

Conversation

satran004
Copy link
Member

  • Add implementation to handle redeemers as map in Conway era
  • Unit tests
; 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 ] }

@satran004 satran004 merged commit 63e7f99 into main Feb 23, 2024
1 check passed
@satran004 satran004 deleted the fix_49 branch February 23, 2024 05:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants