File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
sdk/pinocchio/src/entrypoint Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -7,10 +7,11 @@ pub use lazy::{InstructionContext, MaybeAccount};
77#[ cfg( target_os = "solana" ) ]
88pub use alloc:: BumpAllocator ;
99
10- use crate :: { BPF_ALIGN_OF_U128 , NON_DUP_MARKER } ;
1110use solana_account_view:: { Account , AccountView , MAX_PERMITTED_DATA_INCREASE } ;
1211use solana_address:: Address ;
1312
13+ use crate :: { BPF_ALIGN_OF_U128 , NON_DUP_MARKER } ;
14+
1415/// Start address of the memory region used for program heap.
1516pub const HEAP_START_ADDRESS : u64 = 0x300000000 ;
1617
@@ -113,8 +114,8 @@ macro_rules! program_entrypoint {
113114 /// Program entrypoint.
114115 #[ no_mangle]
115116 pub unsafe extern "C" fn entrypoint( input: * mut u8 ) -> u64 {
116- const UNINIT : core:: mem:: MaybeUninit <$crate:: AccountView > =
117- core:: mem:: MaybeUninit :: <$crate:: AccountView >:: uninit( ) ;
117+ const UNINIT : core:: mem:: MaybeUninit <$crate:: account_view :: AccountView > =
118+ core:: mem:: MaybeUninit :: <$crate:: account_view :: AccountView >:: uninit( ) ;
118119 // Create an array of uninitialized account infos.
119120 let mut accounts = [ UNINIT ; $maximum] ;
120121
You can’t perform that action at this time.
0 commit comments