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

This commit is contained in:
Jack May
2020-07-29 15:29:52 -07:00
committed by GitHub
parent cd043b5d70
commit 2dbed80e48
7 changed files with 56 additions and 3 deletions

View File

@ -214,6 +214,8 @@ pub trait InvokeContext {
fn get_programs(&self) -> &[(Pubkey, ProcessInstruction)];
/// Get this invocation's logger
fn get_logger(&self) -> Rc<RefCell<dyn Logger>>;
/// Are cross program invocations supported
fn is_cross_program_supported(&self) -> bool;
}
/// Log messages