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

Move Redeemer type to Write.Tx.Redeemers module #4047

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

Anviking
Copy link
Member

@Anviking Anviking commented Jul 18, 2023

  • Merge Primitive.Types.Redeemers into Write.Tx.Redeemers, while avoiding dependency on Shelley.Compatibility

Comments

Issue Number

ADP-3081

@Anviking Anviking self-assigned this Jul 18, 2023
@Anviking Anviking force-pushed the anviking/ADP-3081/move-Redeemer-type branch 2 times, most recently from c298a89 to e59f9f4 Compare July 19, 2023 10:36
@Anviking Anviking force-pushed the anviking/ADP-3081/move-Redeemer-type branch from e59f9f4 to 53b37d4 Compare July 20, 2023 15:20
@@ -223,6 +242,50 @@ assignScriptRedeemers pparams timeTranslation utxo redeemers tx =
, Just l <- [Alonzo.language script]
]

--
-- The 'Redeemer' type
-- TODO: Move back to the wallet and/or retire
Copy link
Member Author

@Anviking Anviking Jul 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👆 We should (probably) work with the redeemers a part of the partial tx CBOR instead. In that case we'd need to add logic for updating the tx without invalidating the existing ix-based pointers.

@Anviking Anviking marked this pull request as ready for review July 21, 2023 10:29
) where

import Prelude

import Cardano.Api
( StakeAddress, serialiseToBech32 )
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should have the cardano-api imports qualified as Cardano instead.

@jonathanknowles jonathanknowles added this pull request to the merge queue Jul 24, 2023
Merged via the queue into master with commit 9788d7c Jul 24, 2023
2 checks passed
@jonathanknowles jonathanknowles deleted the anviking/ADP-3081/move-Redeemer-type branch July 24, 2023 06:12
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.

2 participants