pub fn check_prepared_native_exec_bytes(
tool: &Detcore<NoopTool>,
thread: &ThreadState<()>,
binding: &NativeExecCutBinding,
receipt: &NativeExecPreparationReceipt,
expected: &[u8],
) -> Result<(), NativeExecCutError>Expand description
Compare the final actual prepared state directly against already sealed bytes, using the unchanged legacy serializer without a temporary encoding. The caller retains the same exclusive dispatch and old-table receipt. This checks the complete encoding, including exact length, and never resets accounting, advances a PRNG, or constructs a replacement model.