Unverified Commit c4368637 authored by Bastian Köcher's avatar Bastian Köcher Committed by GitHub
Browse files

Make sure frame examples compile for wasm (#5332)



* Make sure frame examples compile for wasm

This makes sure that `frame-example` and `frame-example-offchain-worker`
compile for wasm.

This also fixes compilation for these crates. The offchain worker
example doesn't use serde-json anymore as that is too heavy and breaks
`no_std` compilation.

* Apply suggestions from code review

Co-Authored-By: default avatarNikolay Volf <[email protected]>

Co-authored-by: default avatarNikolay Volf <[email protected]>
parent 0e213ba3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment