solana-address-lookup-table-program
compile error in program environment
#34352
Labels
community
Community contribution
Problem
solana-address-lookup-table-program ^1.17
is broken in programs after #33165.It uses
solana_sdk
crate instead ofsolana_program
which cause compile errors for programs:solana/programs/address-lookup-table/src/lib.rs
Lines 7 to 15 in 6f2b3bb
To be specific, the above error is about
solana-sdk
is not being declared as a dependency in program environment but it would still fail if it was declared:solana/programs/address-lookup-table/Cargo.toml
Lines 24 to 26 in 6f2b3bb
Proposed Solution
Export it from
solana-program
instead ofsolana-sdk
for program compilation.The text was updated successfully, but these errors were encountered: