Function tea_sdk::utils::wasm_actor::actors::statemachine::commit
pub async fn commit(
ctx: CommitContext
) -> Result<(U256, U256, Vec<TypedStatement>, Vec<u8>), Error>
Expand description
Return value (hidden_acct_credit, hidden_acct_debit). We’ll need those two values to check the overall balance after commit. We need to make sure the overall balance is zero