diff --git a/programs/bpf_loader/src/syscalls.rs b/programs/bpf_loader/src/syscalls.rs index 8e637a05fd3a21..7c23068f7b5203 100644 --- a/programs/bpf_loader/src/syscalls.rs +++ b/programs/bpf_loader/src/syscalls.rs @@ -169,7 +169,7 @@ macro_rules! translate { #[macro_export] macro_rules! translate_type_mut { ($t:ty, $vm_addr:expr, $regions:expr) => {{ - if ($vm_addr as u64 as *mut $t).align_offset(align_of::<$t>()) != 0 { + if false && ($vm_addr as u64 as *mut $t).align_offset(align_of::<$t>()) != 0 { Err(SyscallError::UnalignedPointer.into()) } else { unsafe { @@ -200,7 +200,7 @@ macro_rules! translate_type { #[macro_export] macro_rules! translate_slice_mut { ($t:ty, $vm_addr:expr, $len: expr, $regions:expr) => {{ - if ($vm_addr as u64 as *mut $t).align_offset(align_of::<$t>()) != 0 { + if false && ($vm_addr as u64 as *mut $t).align_offset(align_of::<$t>()) != 0 { Err(SyscallError::UnalignedPointer.into()) } else { match translate_addr::( diff --git a/runtime/src/bank.rs b/runtime/src/bank.rs index 77e607e18b977e..d9706a7eef43ee 100644 --- a/runtime/src/bank.rs +++ b/runtime/src/bank.rs @@ -1876,6 +1876,12 @@ impl Bank { &self.rent_collector, log_collector.clone(), ); + trace!( + "bank (slot: {}) executed a transaction with result: {} => {:?}", + self.slot(), + tx.signatures[0], + process_result + ); Self::refcells_to_accounts( accounts,