Skip to content
Snippets Groups Projects
Commit 46458f40 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 <nikvolf@gmail.com>

Co-authored-by: default avatarNikolay Volf <nikvolf@gmail.com>
parent 57af4fac
No related merge requests found
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