Skip to main content

All Questions

Tagged with
1 vote
1 answer
12 views

Does <AccountInfo> have the accont key?

Looking at getMultipleAccountInfo it returns a AccountInfo<T>: { data: T; executable: boolean; lamports: number; owner: PublicKey; rentEpoch?: number; } Am I correct in ...
kekti's user avatar
  • 55
0 votes
1 answer
71 views

Deploying program with sol_remaining_compute_units() gives "invalid account data"

Including something like msg!("remaining compute: {}", solana_program::compute_units::sol_remaining_compute_units()); will lead to error when deploying RPC URL: https://api.devnet.solana....
Pun's user avatar
  • 1