* Add a flag to simulateTransaction to use most recent blockhash (cherry picked from commit96cef5260c) * rename flag (cherry picked from commite14f3eb529) * sigVerify conflicts with replace, add tests (cherry picked from commit660d37aadf) Co-authored-by: Justin Starry <justin@solana.com>
This commit is contained in:
@@ -28,6 +28,8 @@ pub struct RpcSendTransactionConfig {
|
||||
pub struct RpcSimulateTransactionConfig {
|
||||
#[serde(default)]
|
||||
pub sig_verify: bool,
|
||||
#[serde(default)]
|
||||
pub replace_recent_blockhash: bool,
|
||||
#[serde(flatten)]
|
||||
pub commitment: Option<CommitmentConfig>,
|
||||
pub encoding: Option<UiTransactionEncoding>,
|
||||
|
||||
Reference in New Issue
Block a user