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

Adapt to 1.5.0 and display the logs in the console #85

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

bchamagne
Copy link
Member

  • Use new Interpreter API
  • Display logs in the console

Examples of scenario to try

@version 1

condition triggered_by: transaction do 
  true
end

actions triggered_by: transaction do
  Playground.print("hello from action")
  Playground.print("hello from action 2")
  throw "toto"
end
@version 1

condition triggered_by: transaction, as: [
  content:
   (
    Playground.print("hello from condition content")
    throw "invalid content encoding"
    )
]

actions triggered_by: transaction do
  Contract.set_content "ok"
end
@version 1

condition triggered_by: transaction do 
    Playground.print("hello from condition block")
  throw "no no"
end

actions triggered_by: transaction do
  Contract.set_content "ok"
end

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant