test-validator-bin: reinstate full rpc method set

This commit is contained in:
Trent Nelson
2022-02-02 15:46:16 -07:00
committed by mergify[bot]
parent ab02dba96f
commit c62f9839a2
3 changed files with 14 additions and 4 deletions

View File

@ -154,6 +154,15 @@ pub struct JsonRpcConfig {
pub rpc_scan_and_fix_roots: bool,
}
impl JsonRpcConfig {
pub fn default_for_test() -> Self {
Self {
full_api: true,
..Self::default()
}
}
}
#[derive(Clone)]
pub struct JsonRpcRequestProcessor {
bank_forks: Arc<RwLock<BankForks>>,