diff --git a/abi/src/lib.rs b/abi/src/lib.rs index e16e684..908f834 100644 --- a/abi/src/lib.rs +++ b/abi/src/lib.rs @@ -283,17 +283,21 @@ macro_rules! create_zkwasm_apis { } let command = unsafe {wasm_input(0)}; let command_length = ((command & 0xff00) >> 8) as usize; + zkwasm_rust_sdk::dbg!("cmd length: {}\n", command_length); unsafe { zkwasm_rust_sdk::require(command_length < 16) }; params.push(command); for _ in 0..command_length - 1 { params.push(unsafe {wasm_input(0)}); } + zkwasm_rust_sdk::dbg!("sig verify\n"); verify_tx_signature(params.clone()); + zkwasm_rust_sdk::dbg!("success\n"); handle_tx(params); let trace = unsafe {wasm_trace_size()}; zkwasm_rust_sdk::dbg!("trace track: {}\n", trace); } + zkwasm_rust_sdk::dbg!("trace after tx handlers\n"); unsafe { zkwasm_rust_sdk::require(preempt()) }; let bytes = finalize();