update tx encoding spec.