anoma / anoma-archive

Reference implementation of the Anoma protocols in Rust.
https://anoma.net
GNU General Public License v3.0
425 stars 176 forks source link

make: add recipes to build wasm in debug #1243

Closed tzemanovic closed 2 years ago

tzemanovic commented 2 years ago

closes anoma/namada#51, closes anoma/namada#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 commented 2 years ago

moved to https://github.com/anoma/namada/pull/255