pub struct ContinueParams {
pub advance_count: u64,
pub transactions: Vec<String>,
pub modify_account_states: AccountModifications,
}Expand description
The params of continue: execute the next blocks, after your own transactions and account
overrides. Every field has a default, so {} advances one block.
Before the first block, the session runs transactions in order and commits them, then
writes modify_account_states. A failed user transaction does not produce an error
response.
Fields§
§advance_count: u64Wire name advanceCount: blocks to execute before the session waits again. Default 1.
Counts blocks, not slots: a skipped slot has no block and is not counted.
transactions: Vec<String>User transactions to execute before advancing, each the base64 of a transaction’s
standard wire bytes. Encode each with simulator_client::encode_transaction. Signatures
and the recent blockhash are not checked, as for a ScheduledAction. Rejected
in a session created with replay_account_state.
modify_account_states: AccountModificationsWire name modifyAccountStates: account overrides, written after the user transactions
and before the first block.
Implementations§
Source§impl ContinueParams
impl ContinueParams
Sourcepub fn default_advance_count() -> u64
pub fn default_advance_count() -> u64
The advance_count an absent field means: 1.