sunshine-protocol / sunshine

Governance + Bounty Platform
Other
42 stars 16 forks source link

add debug script for running node that uses `-lruntime=debug` #41

Closed 4meta5 closed 4 years ago

4meta5 commented 4 years ago

run node with -lruntime=debug to print the error instead of getting something like system:ExtrinsicFailed:: (phase={"ApplyExtrinsic":2}) shared.ts?3413:309 DispatchError: {"Module":{"index":24,"error":0}}

4meta5 commented 4 years ago

To check if the code compiles to wasm without the anxiety of delayed linker errors, compile to the target here https://github.com/therealprof/atsamd20e15a thumb7m-none-eabi instead of wasm32-unknown-unknown

dvc94ch commented 4 years ago

I guess this one can be closed too?

4meta5 commented 4 years ago

ye