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

Expose module Cardano.Api.Script from cardano-api #4386

Closed

Conversation

eyeinsky
Copy link
Contributor

I'm writing an indexer for the blockchain from script hash to script IntersectMBO/plutus-apps#629 and would like to use the conversion functions from ledger to cardano-api scripts in Cardano.Api.Script, would it be ok to export the module?

@koslambrou
Copy link
Contributor

I would suggest to not expose this hidden module. Instead, add the function you want to export in the Cardano.Api module.

@eyeinsky eyeinsky force-pushed the export-cardano-api-script branch from 3243a0e to 6195c6b Compare August 25, 2022 15:26
Copy link
Contributor

@Jimbo4350 Jimbo4350 left a comment

Choose a reason for hiding this comment

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

@eyeinsky fromShelleyBasedScript should be exported from Cardani.Api.Shelley

@eyeinsky eyeinsky force-pushed the export-cardano-api-script branch from 6195c6b to 8679461 Compare August 30, 2022 15:18
@eyeinsky
Copy link
Contributor Author

@Jimbo4350 done!

@eyeinsky eyeinsky requested a review from Jimbo4350 September 9, 2022 13:45
@eyeinsky
Copy link
Contributor Author

@Jimbo4350 Does this PR look good now? Here is the code we could get rid of and stop maintaining, if this is merged. :)

@eyeinsky eyeinsky force-pushed the export-cardano-api-script branch from 8679461 to db7b1d9 Compare November 22, 2022 08:38
@eyeinsky eyeinsky force-pushed the export-cardano-api-script branch 2 times, most recently from f537336 to 3d4cc9b Compare November 22, 2022 08:43
@eyeinsky
Copy link
Contributor Author

Closing this in favor of the new PR here #4682

@eyeinsky eyeinsky closed this Nov 29, 2022
iohk-bors bot added a commit that referenced this pull request Feb 28, 2023
4625: Handle pipes r=Jimbo4350 a=LudvikGalois

Fixes #4235

4682: Export `fromShelleyBasedScript` from Cardano.Api r=Jimbo4350 a=eyeinsky

New PR based off of a branch in this repo. Old PR here #4386

Co-authored-by: Robert 'Probie' Offner <[email protected]>
Co-authored-by: Markus Läll <[email protected]>
iohk-bors bot added a commit that referenced this pull request Feb 28, 2023
4682: Export `fromShelleyBasedScript` from Cardano.Api r=Jimbo4350 a=eyeinsky

New PR based off of a branch in this repo. Old PR here #4386

Co-authored-by: Markus Läll <[email protected]>
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.

3 participants