diff --git a/client/src/rpc_config.rs b/client/src/rpc_config.rs index c6008d7adb..8877a789cb 100644 --- a/client/src/rpc_config.rs +++ b/client/src/rpc_config.rs @@ -85,7 +85,6 @@ pub struct RpcSimulateBundleConfig { pub transaction_encoding: Option, /// Specifies the bank to run simulation against. - #[serde(flatten)] pub simulation_bank: Option, /// Opt to skip sig-verify for faster performance. diff --git a/rpc/src/rpc.rs b/rpc/src/rpc.rs index ae25472b7f..1bde5de537 100644 --- a/rpc/src/rpc.rs +++ b/rpc/src/rpc.rs @@ -4005,14 +4005,6 @@ pub mod rpc_full { SimulationSlotConfig::Tip => Ok(meta.bank_forks.read().unwrap().working_bank()), }?; - // TODO: Come back to this and allow unfrozen bank as long as the parent is frozen. - if !bank.is_frozen() { - return Err(Error::invalid_params(format!( - "bank at slot {} is not frozen", - bank.slot() - ))); - } - let tx_encoding = config .transaction_encoding .unwrap_or(UiTransactionEncoding::Base64);