mirror of
https://github.com/fluencelabs/wasm-utils
synced 2025-03-16 03:20:50 +00:00
update gas assert
This commit is contained in:
parent
4baeea8733
commit
0410ae407a
@ -8,6 +8,7 @@ parity-wasm = { git="https://github.com/nikvolf/parity-wasm" }
|
||||
log = "0.3"
|
||||
env_logger = "0.4"
|
||||
lazy_static = "0.2"
|
||||
clap = "2.24"
|
||||
|
||||
[lib]
|
||||
|
||||
|
@ -52,8 +52,6 @@ pub fn inject_gas_counter(module: elements::Module) -> elements::Module {
|
||||
// back to plain module
|
||||
let mut module = mbuilder.build();
|
||||
|
||||
assert!(module.global_section().is_some());
|
||||
|
||||
// calculate actual function index of the imported definition
|
||||
// (substract all imports that are NOT functions)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user