mirror of
https://github.com/pezkuwichain/wasm-instrument.git
synced 2026-06-14 12:11:10 +00:00
wasm-pack utility to pack wasm files into transactions payload
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
use parity_wasm::{elements, builder};
|
||||
|
||||
|
||||
pub fn update_call_index(opcodes: &mut elements::Opcodes, inserted_index: u32) {
|
||||
use parity_wasm::elements::Opcode::*;
|
||||
for opcode in opcodes.elements_mut().iter_mut() {
|
||||
|
||||
Reference in New Issue
Block a user