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

Export full PABEnvironment #421

Merged
1 commit merged into from
May 25, 2022
Merged

Export full PABEnvironment #421

1 commit merged into from
May 25, 2022

Conversation

agocorona
Copy link
Contributor

@agocorona agocorona commented Apr 15, 2022

Export all the content of PABEnvironment so that other alternative monads may orchestrate the execution of DApp applications and smart contracts and yet make use of the native monad to invoke PAB primitives for managing smart contracts etc.

Example of usage in https://github.com/agocorona/DAppFlow/blob/main/pabtest.hs#L227-L238

For that purpose, the alternative monad need to store and set the entire PABEnvironment before invoking such primitives. so all the PABEnvironment should be reachable externally to get/set his value

Pre-submit checklist:

  • Branch
    • Tests are provided (if possible)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
    • Relevant tickets are mentioned in commit messages
    • Formatting, materialized Nix files, PNG optimization, etc. are updated
  • PR
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested

@ghost ghost requested review from koslambrou and sjoerdvisscher May 25, 2022 09:58
Export all the content of PABEnvironment so that other alternative monads may orchestrate the execution of DApp applications and smart contracts and yet make use of the native monad to invoke PAB primitives for managing smart contracts etc.

Example of usage in https://github.com/agocorona/DAppFlow/blob/main/pabtest.hs#L227-L238

For that purpose, the alternative monad need to store and set the entire PABEnvironment before invoking such primitives. so all the PABEnvironment should be reachable externally to get/set his value
@ghost ghost merged commit 83d677e into IntersectMBO:main May 25, 2022
@ghost
Copy link

ghost commented May 25, 2022

Thanks @agocorona!

@agocorona agocorona deleted the patch-2 branch May 25, 2022 21:32
koslambrou pushed a commit that referenced this pull request Jun 22, 2022
Export all the content of PABEnvironment so that other alternative monads may orchestrate the execution of DApp applications and smart contracts and yet make use of the native monad to invoke PAB primitives for managing smart contracts etc.
This pull request was closed.
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