diff --git a/crates/native_blockifier/src/py_transaction_execution_info.rs b/crates/native_blockifier/src/py_transaction_execution_info.rs index c2e52e068b..a7089f2188 100644 --- a/crates/native_blockifier/src/py_transaction_execution_info.rs +++ b/crates/native_blockifier/src/py_transaction_execution_info.rs @@ -61,7 +61,7 @@ pub struct PyCallInfo { #[pyo3(get)] pub gas_consumed: u64, // Currently not in use. #[pyo3(get)] - pub failure_flag: PyFelt, // Currently not in use. + pub failure_flag: bool, // Currently not in use. #[pyo3(get)] pub retdata: Vec, #[pyo3(get)] @@ -99,7 +99,7 @@ impl From for PyCallInfo { entry_point_type: call.entry_point_type as u8, calldata: to_py_vec(call.calldata.0.to_vec(), PyFelt), gas_consumed: execution.gas_consumed, - failure_flag: PyFelt::from(execution.failed as u8), + failure_flag: execution.failed, retdata: to_py_vec(execution.retdata.0, PyFelt), execution_resources: PyVmExecutionResources::from(call_info.vm_resources), events: to_py_vec(execution.events, PyOrderedEvent::from),