Search Results
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 |
Questions using Cross-Program Invocation (CPI) to make calls between on-chain programs
3
votes
2
answers
120
views
Cross-program invocation with unauthorized signer or writable account despite using all acco...
I have this instruction with the associated context accounts:
pub fn create_battleground(
ctx: Context<CreateBattleground>,
participants_cap: u32,
entry_fee: u64,
) -> Result<()> {
*ct …
1
vote
1
answer
79
views
Nesting instruction calls with different signers
I have an Anchor program where one of the instruction calls another like so:
#[program]
pub mod dippies_index_protocol {
use super::*;
pub fn foo(
ctx: Context<Foo>,
) -> Result<( …
1
vote
1
answer
572
views
How to use anchor-gen to import a program built with another version of anchor?
I'm trying to build a program using anchor v0.25.0 that makes calls to Orca's Whirlpools. But whirlpools are built using anchor v0.20.2 and that raises errors when running anchor build.
I found this q …