v0.1.0-pre.022

This commit is contained in:
2026-07-24 23:24:14 +02:00
parent 34f96582bc
commit 929c89cf9f
15 changed files with 1450 additions and 69 deletions

View File

@@ -1,9 +1,10 @@
// file: kb-lib/src/executor/solana.rs
// version: 4
// version: 5
//! `solana` executor family.
mod core;
mod transaction;
/// Exposes the Address Lookup Table close operation code.
pub use self::core::EX_SOLANA_CORE_ADDRESS_LOOKUP_TABLE_CLOSE_OPERATION;
@@ -253,6 +254,22 @@ pub use self::core::ExSolanaCoreVoteLockout;
pub use self::core::ExSolanaCoreZkElGamalContextState;
/// Exposes the official ZK ElGamal proof kinds.
pub use self::core::ExSolanaCoreZkElGamalProofType;
/// Validated current durable nonce account state used for transaction assembly.
pub use self::transaction::ExSolanaDurableNonceAccountState;
/// Signed Solana transaction ready for RPC submission.
pub use self::transaction::ExSolanaSignedTransaction;
/// Simulation result bound to the exact assembled message that was simulated.
pub use self::transaction::ExSolanaSimulationEvidence;
/// Unsigned assembled Solana transaction used for fee estimation and simulation.
pub use self::transaction::ExSolanaUnsignedTransaction;
/// Builds an unsigned durable nonce transaction from a prepared execution plan and validated nonce state.
pub use self::transaction::executor_solana_build_durable_nonce_transaction;
/// Builds an unsigned legacy Solana transaction from a prepared execution plan.
pub use self::transaction::executor_solana_build_legacy_transaction;
/// Returns the exact serialized byte length of a Solana nonce account state.
pub use self::transaction::executor_solana_durable_nonce_account_data_length;
/// Parses and validates a complete System Program-owned durable nonce account snapshot.
pub use self::transaction::executor_solana_parse_durable_nonce_account;
/// Canonical tracing target for this crate.
pub(crate) use self::core::TRACING_TARGET_EXECUTOR_SOLANA_CORE;
@@ -292,3 +309,9 @@ pub(crate) use self::core::executor_solana_core_validate_seeded_address;
pub(crate) use self::core::executor_solana_core_vote_build_prepared_plan;
/// Crate-root access to `build_prepared_plan` from `zk_elgamal`.
pub(crate) use self::core::executor_solana_core_zk_elgamal_build_prepared_plan;
/// Stable operation code for the nonce advance injected by durable transaction assembly.
pub(crate) use self::transaction::EX_SOLANA_TRANSACTION_DURABLE_NONCE_ADVANCE_OPERATION;
/// Maximum over-the-wire size of a Solana transaction packet.
pub(crate) use self::transaction::EX_SOLANA_TRANSACTION_MAX_WIRE_BYTES;
/// Canonical tracing target for Solana transaction assembly.
pub(crate) use self::transaction::TRACING_TARGET_EXECUTOR_SOLANA_TRANSACTION;