pub fn execute_tx_context(tx_context: TxContext) -> (TxContext, TxResult)
Expand description

Runs contract code using the auto-generated function selector. The endpoint name is taken from the tx context. Catches and wraps any panics thrown in the contract.