diff --git a/build-all.sh b/build-all.sh index 2900c2d..9e9e7f0 100755 --- a/build-all.sh +++ b/build-all.sh @@ -7,6 +7,8 @@ set -e ./build-rust-test.sh call_code ./build-rust-test.sh call_static ./build-rust-test.sh creator kip4 +./build-rust-test.sh call_gasleft kip6 +./build-rust-test.sh gasleft kip6 ./build-rust-test.sh dispersion ./build-rust-test.sh empty ./build-rust-test.sh externs diff --git a/compiled/call_gasleft.wasm b/compiled/call_gasleft.wasm index 6617812..e02657e 100644 Binary files a/compiled/call_gasleft.wasm and b/compiled/call_gasleft.wasm differ diff --git a/compiled/gasleft.wasm b/compiled/gasleft.wasm index 5cc274f..d234843 100644 Binary files a/compiled/gasleft.wasm and b/compiled/gasleft.wasm differ diff --git a/gen/main.rs b/gen/main.rs index 4bf6fe2..0608961 100644 --- a/gen/main.rs +++ b/gen/main.rs @@ -5,7 +5,7 @@ fn main() { let args = env::args().collect::>(); let (file_name, pwasm_ethereum_version) = match args.len() { 2 => (&args[1], r#""0.6.3""#.to_string()), - 3 => (&args[1], format!(r#"{{ version = "0.6.3", features = [{}] }}"#, args[2].split(",").map(|s| format!(r#""{}""#, s)).collect::>().join(", "))), + 3 => (&args[1], format!(r#"{{ version = "0.7", features = [{}] }}"#, args[2].split(",").map(|s| format!(r#""{}""#, s)).collect::>().join(", "))), _ => { println!("Usage: {} gen ", args[0]); return; diff --git a/src/gasleft.rs b/src/gasleft.rs index 361ba73..d3effea 100644 --- a/src/gasleft.rs +++ b/src/gasleft.rs @@ -2,7 +2,6 @@ extern crate pwasm_std; extern crate pwasm_ethereum; -extern crate bigint; use pwasm_std::{Vec, write_u64}; use pwasm_ethereum::{self as ext};