14 lines
644 B
Rust
14 lines
644 B
Rust
// file: kb-lib/src/executor/solana/transaction/constants.rs
|
|
// version: 2
|
|
|
|
//! Local constants for Solana transaction assembly.
|
|
|
|
/// Stable operation code for the nonce advance injected by durable transaction assembly.
|
|
pub(crate) const EX_SOLANA_TRANSACTION_DURABLE_NONCE_ADVANCE_OPERATION: &str =
|
|
"solana_core.system.nonce.advance";
|
|
/// Maximum over-the-wire size of a Solana transaction packet.
|
|
pub(crate) const EX_SOLANA_TRANSACTION_MAX_WIRE_BYTES: usize = 1_232;
|
|
/// Canonical tracing target for Solana transaction assembly.
|
|
pub(crate) const TRACING_TARGET_EXECUTOR_SOLANA_TRANSACTION: &str =
|
|
"kb-lib.executor.solana.transaction";
|