wasm-runtime

A wasm runtime
git clone https://git.parazyd.org/wasm-runtime
Log | Files | Refs | README

commit 74eb493001e713d6233e3970de1344e986d88209
parent f87baa72e4447be535de9e5f64edd04095f5a500
Author: parazyd <parazyd@dyne.org>
Date:   Wed,  9 Mar 2022 11:12:58 +0100

Note about installing wasm32-unknown-unknown toolchain.

Diffstat:
MREADME.md | 1+
Msrc/runtime.rs | 2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -4,6 +4,7 @@ wasm-runtime Experiments with WASM runtime. ``` +$ rustup target add wasm32-unknown-unknown $ make ``` diff --git a/src/runtime.rs b/src/runtime.rs @@ -20,7 +20,7 @@ const MEMORY: &str = "memory"; /// Hardcoded entrypoint function of a contract pub const ENTRYPOINT: &str = "entrypoint"; /// Gas limit for a contract -pub const GAS_LIMIT: u64 = 20000; +pub const GAS_LIMIT: u64 = 200000; pub struct Runtime { pub(crate) instance: Instance,