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

added support for debug-print in secret contracts. #717

Merged
merged 6 commits into from
Feb 11, 2021
Merged

Conversation

reuvenpo
Copy link
Contributor

@reuvenpo reuvenpo commented Jan 31, 2021

This PR adds the following:

  • When compiled with the debug-print feature, the enclave will allow contracts to call the debug-print import, which just sends a message to the logger.
  • cosmwasm_std now exposes a function called debug_print and println! like macro of the same name that calls it..
  • When compiled with the debug-print flag, this function will call the debug_print export with the contract supplied message. Otherwise, it does nothing.
  • The dev image now compiles with this flag.

closes: #614

@levackt
Copy link
Contributor

levackt commented Feb 3, 2021 via email

@reuvenpo reuvenpo merged commit 004c6bc into master Feb 11, 2021
@reuvenpo reuvenpo deleted the debug-print branch February 11, 2021 14:02
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.

Add logger callback to secret contracts
4 participants