mirror of
https://github.com/fluencelabs/wasm-utils
synced 2025-05-28 23:21:21 +00:00
fix grow memory injector
This commit is contained in:
parent
1fbcca8435
commit
48232fb9bb
@ -51,7 +51,6 @@ fn add_grow_counter(module: elements::Module, rules: &rules::Set, gas_func: u32)
|
||||
// todo: there should be strong guarantee that it does not return anything on stack?
|
||||
Call(gas_func),
|
||||
GrowMemory(0),
|
||||
GetLocal(0),
|
||||
End,
|
||||
]))
|
||||
.build()
|
||||
@ -260,7 +259,6 @@ mod tests {
|
||||
I32Mul,
|
||||
Call(0),
|
||||
GrowMemory(0),
|
||||
GetLocal(0),
|
||||
End,
|
||||
][..],
|
||||
injected_module
|
||||
|
Loading…
x
Reference in New Issue
Block a user