Add RequestProcessor constructor to simplify testing (#10631)
* Add JsonRpcRequestProcessor constructor * Avoid start_rpc_handler_with_tx monolith in rpc tests * pub * Pass an Arc, so that caller can poke the bank
This commit is contained in:
@@ -347,7 +347,7 @@ mod tests {
|
||||
use super::*;
|
||||
use crate::{
|
||||
crds_value::{CrdsData, CrdsValue, SnapshotHash},
|
||||
rpc::tests::create_validator_exit,
|
||||
rpc::create_validator_exit,
|
||||
};
|
||||
use solana_ledger::{
|
||||
bank_forks::CompressionType,
|
||||
|
||||
Reference in New Issue
Block a user