Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 346

Should be used for all things relating to the Anchor Framework.

1 vote
2 answers
198 views

Using bump constraint for a PDA with AccountLoader

According to the Anchor Book bump constraint can be specified for a PDA, so Anchor doesn't need to search for it: #[derive(Accounts)] pub struct ChangeUserName<'info> { pub user: Signer<'info>, … user_stats.bump)] pub user_stats: AccountLoader<'info, UserStats>, } I get an error: error[E0609]: no field bump on type `anchor_lang::prelude::AccountLoader<'_, UserStats> Is that a limitation of Anchor
ASkibin's user avatar
  • 83
1 vote

anchor deploy with Ledger taking too long

You can deploy a program using regular key and then change program upgrade authority with solana program set-upgrade-authority
ASkibin's user avatar
  • 83