wasm-pack utility to pack wasm files into transactions payload

This commit is contained in:
NikVolf
2017-06-09 18:33:05 +03:00
parent 25110c32a8
commit 729dddc9cc
7 changed files with 86 additions and 3 deletions
-1
View File
@@ -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() {