Disable cross-program invocations for OperatingMode::Stable (bp #11272) (#11280)

* Disable cross-program invocations for OperatingMode::Stable (#11272)

(cherry picked from commit 2dbed80e48)

# Conflicts:
#	programs/bpf/benches/bpf_loader.rs
#	programs/bpf_loader/src/lib.rs
#	runtime/src/message_processor.rs
#	sdk/src/entrypoint_native.rs

* fix conflicts

Co-authored-by: Jack May <jack@solana.com>
This commit is contained in:
mergify[bot]
2020-07-30 05:50:47 +00:00
committed by GitHub
parent da4642d634
commit 5dc4410d58
8 changed files with 58 additions and 5 deletions

View File

@@ -209,4 +209,6 @@ pub trait InvokeContext {
fn get_programs(&self) -> &[(Pubkey, ProcessInstruction)];
fn log_enabled(&self) -> bool;
fn log(&mut self, message: &str);
/// Are cross program invocations supported
fn is_cross_program_supported(&self) -> bool;
}