Support Debug Bank (#13017) (#13019)

(cherry picked from commit c0675968b1)

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
This commit is contained in:
mergify[bot]
2020-10-20 17:20:40 +00:00
committed by GitHub
parent f33171b32f
commit 94cad9873c
6 changed files with 81 additions and 14 deletions

View File

@@ -8,7 +8,7 @@ use solana_sdk::{
message::Message,
pubkey::Pubkey,
};
use std::{cell::RefCell, rc::Rc, sync::Arc};
use std::{cell::RefCell, fmt::Debug, rc::Rc, sync::Arc};
// Prototype of a native loader entry point
///
@@ -174,7 +174,7 @@ pub trait Logger {
}
/// Program executor
pub trait Executor: Send + Sync {
pub trait Executor: Debug + Send + Sync {
/// Execute the program
fn execute(
&self,