Comments (4)
First must execute the build script in the simple_coin_transfer directory, which will generate the wasm file in question: https://github.com/spacemeshos/svm/blob/master/simple-coin-transfer-template/build.sh
I will caution that this repository will be undergoing very large changes in the coming months, so please do not regard its current design & implementation as stable or indicative of its future direction :)
Please let me know if this resolves your problem.
from svm.
@WilfredTA thanks
I acknowledge that this repository will undergo changes.
I executed the build script in the simple_coin_transfer directory, then executed cargo build
it was successful with a warning.
The cargo test
fails with following error
error: couldn't read crates/host/runtime/tests/wasm/runtime_calldata.wasm: No such file or directory (os error 2)
--> crates/host/runtime/tests/runtime_tests.rs:133:26
|
133 | WasmFile::Binary(include_bytes!("wasm/runtime_calldata.wasm")),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the macroinclude_bytes
(in Nightly builds, run with -Z macro-backtrace for more info)
from svm.
In general, if this error appears anywhere, locate the parent directory of the missing file. There will likely be a build.sh
script that needs to be executed.
This should certainly be refactored so that a single command (e.g., a make
recipe) can be used to build all of the relevant script dependencies. Apologies for this friction when attempting to experiment with the svm.
Anyway, this is the build.sh file that should be run to address the latest error you've reported https://github.com/spacemeshos/svm/blob/master/crates/host/runtime/tests/wasm/calldata/build.sh
from svm.
@WilfredTA
Okay got it, make recipe will be great!
Thank you for helping out
from svm.
Related Issues (20)
- Create a new `Accunt` only after a successful `Spawn`
- Extend the `Runtime` to create a new `Account` with its `Immutable Data` (for `Non-Self Spawn`)
- Simple Coin Integration #4 Epic
- Adjust `verify` for `Self-Spawn`
- Update the `Simple Coin Single-Signature` Template to use `Self-Spawn`
- Simple-Coin Integration Epics
- Exend the `svm-codec` Wasm API to support `Signatures`
- Exend the `svm-codec` to support `Signatures`
- API change: substitute `env`, `context`, and `msg` for `tx` HOT 1
- Finalize the `Transaction` Encoding
- Runtime should add a `Deploy Template` upon successful `Deploy Transaction`
- Funding an `Account`
- Implement host function: `svm_tx_amount`
- Overhaul the SVM database architecture to allow for light clients, Merkle proofs, root cryptographic signatures
- Update the encoding of transactions and replace `svm-codec` with SSZ HOT 2
- Replace the default SVM ABI with SSZ
- Adopt SHA3 & drop usage of BLAKE3
- Nuke the `svm-query` crate
- https://canto.io/
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from svm.