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

make: add recipes to build wasm in debug #255

Merged
merged 3 commits into from
Oct 13, 2022
Merged

make: add recipes to build wasm in debug #255

merged 3 commits into from
Oct 13, 2022

Conversation

tzemanovic
Copy link
Member

@tzemanovic tzemanovic commented Aug 2, 2022

moved from anoma/anoma#1243

depends on #349

closes #51, closes #52

This PR adds recipe make debug-wasm-scripts in the root that can be used to enable debug_log! expressions in WASM. In the wasm/wasm_source, one can debug build an individual tx or VP with e.g. make debug_tx_transfer.

Additionally, the debug_log! get printed to stdout in non-WASM build, which is handy for testing.

tzemanovic added a commit that referenced this pull request Aug 17, 2022
* tomas/debug-wasm:
  changelog: add #1243
  tx/vp_prelude: improve debug_log! macro
  make: add recipes to build wasm in debug
This was referenced Aug 17, 2022
@juped juped merged commit 86f4e4d into main Oct 13, 2022
@juped juped deleted the tomas/debug-wasm branch October 13, 2022 06:51
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.

fix tx and VP WASM debug build add recipe for WASM scripts debug build
2 participants