RPC simulateTransaction endpoint now returns program log output (#10432) (#10444)

automerge
This commit is contained in:
mergify[bot]
2020-06-06 11:57:24 -07:00
committed by GitHub
parent c021727009
commit f7aee67023
13 changed files with 295 additions and 120 deletions

View File

@ -160,4 +160,6 @@ pub trait InvokeContext {
) -> Result<(), InstructionError>;
fn get_caller(&self) -> Result<&Pubkey, InstructionError>;
fn get_programs(&self) -> &[(Pubkey, ProcessInstruction)];
fn log_enabled(&self) -> bool;
fn log(&mut self, message: &str);
}