Skip to content
This repository was archived by the owner on Aug 14, 2023. It is now read-only.

Conversation

@YaronWittenstein
Copy link
Contributor

@YaronWittenstein YaronWittenstein commented Jan 12, 2021

Motivation

When compiling an app (using the api feature and targeting wasm32) the compiler will emit in addition to the wasm file two JSONs:

  • app's API - to be consumed by smapp (off-chain data).
  • data layout - a JSON having a single key named data. Its value should be fed into the svm_codec.wasm when generating the SVM deploy template transaction.

@YaronWittenstein YaronWittenstein self-assigned this Jan 12, 2021
@YaronWittenstein YaronWittenstein marked this pull request as ready for review January 12, 2021 13:34
@YaronWittenstein YaronWittenstein merged commit 1905db7 into master Jan 12, 2021
@YaronWittenstein YaronWittenstein deleted the emit-api-and-data_layout-jsons branch January 12, 2021 14:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants