solana: Missing non-bpf alternative for create_program_address
Problem
In 1.3.0 create_program_address was migrated to a syscall. However there is no non-syscall fallback for tests.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 18 (18 by maintainers)
@mvines @hendrikhofstadt
wdyt: https://github.com/solana-labs/solana/pull/11460
@jackcmay, I found it weird that there’s
Pubkey::create_program_address()for non-programs and thenprogram::create_program_addressfor (currently only) bpf programs. https://github.com/solana-labs/solana/blob/7e25130529991b9420bf671bb396a27a888a4d54/sdk/src/pubkey.rs#L94-L116