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,5 +1,5 @@
// file: kb-lib/src/lib.rs
// version: 22
// version: 23
//! Consolidated decoder, executor, materializer and shared model library.
#![warn(missing_docs)]
@@ -1067,6 +1067,14 @@ pub use self::executor::ExSolanaCoreVoteLockout;
pub use self::executor::ExSolanaCoreZkElGamalContextState;
/// Exposes the official ZK ElGamal proof kinds.
pub use self::executor::ExSolanaCoreZkElGamalProofType;
/// Validated current durable nonce account state used for transaction assembly.
pub use self::executor::ExSolanaDurableNonceAccountState;
/// Signed Solana transaction ready for RPC submission.
pub use self::executor::ExSolanaSignedTransaction;
/// Simulation result bound to the exact assembled message that was simulated.
pub use self::executor::ExSolanaSimulationEvidence;
/// Unsigned assembled Solana transaction used for fee estimation and simulation.
pub use self::executor::ExSolanaUnsignedTransaction;
/// Exposes the reserved `ExSplAccountCompressionExecutor` implementation.
pub use self::executor::ExSplAccountCompressionExecutor;
/// Exposes the typed SPL ATA execution intent.
@@ -1191,6 +1199,14 @@ pub use self::executor::ExWeightedSwapStabbleExecutor;
pub use self::executor::executor_api_serialize_payload_json;
/// Exposes the pretty JSON payload serializer.
pub use self::executor::executor_api_serialize_payload_json_pretty;
/// Builds an unsigned durable nonce transaction from a prepared execution plan and validated nonce state.
pub use self::executor::executor_solana_build_durable_nonce_transaction;
/// Builds an unsigned legacy Solana transaction from a prepared execution plan.
pub use self::executor::executor_solana_build_legacy_transaction;
/// Returns the exact serialized byte length of a Solana nonce account state.
pub use self::executor::executor_solana_durable_nonce_account_data_length;
/// Parses and validates a complete System Program-owned durable nonce account snapshot.
pub use self::executor::executor_solana_parse_durable_nonce_account;
/// Exposes `executor_spl_token2022_validate_confidential_proof_references`.
pub use self::executor::executor_spl_token2022_validate_confidential_proof_references;
/// Stable native and SPL administration materializer.
@@ -1756,6 +1772,10 @@ pub(crate) use self::decoder::decoder_spl_token2022_decode;
pub(crate) use self::decoder::decoder_spl_token2022_entry_for_tag;
/// Returns the first byte of one retained Token-2022 payload.
pub(crate) use self::decoder::decoder_spl_token2022_payload_tag;
/// Stable operation code for the nonce advance injected by durable transaction assembly.
pub(crate) use self::executor::EX_SOLANA_TRANSACTION_DURABLE_NONCE_ADVANCE_OPERATION;
/// Maximum over-the-wire size of a Solana transaction packet.
pub(crate) use self::executor::EX_SOLANA_TRANSACTION_MAX_WIRE_BYTES;
/// Crate-root access to `EX_SPL_TOKEN_MAX_BATCH_ACCOUNTS`.
pub(crate) use self::executor::EX_SPL_TOKEN_MAX_BATCH_ACCOUNTS;
/// Crate-root access to `EX_SPL_TOKEN_MAX_BATCH_INSTRUCTIONS`.
@@ -1772,6 +1792,8 @@ pub(crate) use self::executor::EX_SPL_TOKEN2022_MAX_TRANSFER_FEE_SOURCE_ACCOUNTS
pub(crate) use self::executor::EX_SPL_TOKEN2022_MAX_UI_AMOUNT_BYTES;
/// Canonical tracing target for this crate.
pub(crate) use self::executor::TRACING_TARGET_EXECUTOR_SOLANA_CORE;
/// Canonical tracing target for Solana transaction assembly.
pub(crate) use self::executor::TRACING_TARGET_EXECUTOR_SOLANA_TRANSACTION;
/// Canonical SPL Memo tracing target.
pub(crate) use self::executor::TRACING_TARGET_EXECUTOR_SPL_ATA;
/// Canonical tracing target for the SPL ElGamal registry executor.