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

Commit 0edbf86

Browse files
committed
pwasm_ethereum 0.7 update + kip6 enable for gasleft
1 parent d726d72 commit 0edbf86

File tree

5 files changed

+3
-2
lines changed

5 files changed

+3
-2
lines changed

build-all.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ set -e
77
./build-rust-test.sh call_code
88
./build-rust-test.sh call_static
99
./build-rust-test.sh creator kip4
10+
./build-rust-test.sh call_gasleft kip6
11+
./build-rust-test.sh gasleft kip6
1012
./build-rust-test.sh dispersion
1113
./build-rust-test.sh empty
1214
./build-rust-test.sh externs

compiled/call_gasleft.wasm

4 Bytes
Binary file not shown.

compiled/gasleft.wasm

-11 Bytes
Binary file not shown.

gen/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ fn main() {
55
let args = env::args().collect::<Vec<_>>();
66
let (file_name, pwasm_ethereum_version) = match args.len() {
77
2 => (&args[1], r#""0.6.3""#.to_string()),
8-
3 => (&args[1], format!(r#"{{ version = "0.6.3", features = [{}] }}"#, args[2].split(",").map(|s| format!(r#""{}""#, s)).collect::<Vec<_>>().join(", "))),
8+
3 => (&args[1], format!(r#"{{ version = "0.7", features = [{}] }}"#, args[2].split(",").map(|s| format!(r#""{}""#, s)).collect::<Vec<_>>().join(", "))),
99
_ => {
1010
println!("Usage: {} gen <test.rs>", args[0]);
1111
return;

src/gasleft.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
extern crate pwasm_std;
44
extern crate pwasm_ethereum;
5-
extern crate bigint;
65

76
use pwasm_std::{Vec, write_u64};
87
use pwasm_ethereum::{self as ext};

0 commit comments

Comments
 (0)