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

Commit

Permalink
pwasm_ethereum 0.7 update + kip6 enable for gasleft
Browse files Browse the repository at this point in the history
  • Loading branch information
lexfrl committed Aug 23, 2018
1 parent d726d72 commit 0edbf86
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 2 deletions.
2 changes: 2 additions & 0 deletions build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Binary file modified compiled/call_gasleft.wasm
Binary file not shown.
Binary file modified compiled/gasleft.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion gen/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ fn main() {
let args = env::args().collect::<Vec<_>>();
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::<Vec<_>>().join(", "))),
3 => (&args[1], format!(r#"{{ version = "0.7", features = [{}] }}"#, args[2].split(",").map(|s| format!(r#""{}""#, s)).collect::<Vec<_>>().join(", "))),
_ => {
println!("Usage: {} gen <test.rs>", args[0]);
return;
Expand Down
1 change: 0 additions & 1 deletion src/gasleft.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit 0edbf86

Please sign in to comment.