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

emit api and data layout jsons #208

Merged
merged 43 commits into from Jan 12, 2021
Merged

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.

None yet

2 participants