v0.1.0-pre.062
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// file: kb-pipeline/src/solana_token_2022_execution_orchestration.rs
|
||||
// version: 2
|
||||
// version: 3
|
||||
|
||||
//! Final Token-2022 execution-readiness and stateful postcondition contracts.
|
||||
|
||||
@@ -238,7 +238,7 @@ mod tests {
|
||||
executor_name: "kb-lib.executor.spl.token_2022".to_string(),
|
||||
executor_version: "0.4.6".to_string(),
|
||||
intent_id: "intent".to_string(),
|
||||
operation_code: "spl_token_2022.confidential_transfer".to_string(),
|
||||
operation_code: "spl.token_2022.confidential_transfer".to_string(),
|
||||
fee_payer: signer.clone(),
|
||||
instructions: vec![],
|
||||
required_signers: vec![kb_lib::ExApiRequiredSigner {
|
||||
@@ -268,7 +268,7 @@ mod tests {
|
||||
proof_contexts: vec![],
|
||||
},
|
||||
proof_orchestration: crate::Token2022ProofOrchestrationReport {
|
||||
operation_code: "spl_token_2022.confidential_transfer".to_string(),
|
||||
operation_code: "spl.token_2022.confidential_transfer".to_string(),
|
||||
instructions_sysvar_required: true,
|
||||
inline_offsets: vec![1],
|
||||
context_requirements: vec![],
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: kb-pipeline/src/solana_token_2022_proof_orchestration.rs
|
||||
// version: 3
|
||||
// version: 4
|
||||
|
||||
//! Deterministic orchestration contract for mixed Token-2022 proof locations.
|
||||
|
||||
@@ -266,7 +266,7 @@ mod tests {
|
||||
fn mixed_proofs_require_sysvar_and_preserve_ordered_contexts() {
|
||||
let context = pubkey(1);
|
||||
let request = crate::Token2022ProofOrchestrationRequest {
|
||||
operation_code: "spl_token_2022.confidential_transfer".to_string(),
|
||||
operation_code: "spl.token_2022.confidential_transfer".to_string(),
|
||||
proofs: vec![
|
||||
kb_lib::ExSplTokenConfidentialProofReference {
|
||||
kind: kb_lib::ExSplTokenConfidentialProofKind::CiphertextCommitmentEquality,
|
||||
@@ -308,7 +308,7 @@ mod tests {
|
||||
fn context_only_proofs_do_not_require_instructions_sysvar() {
|
||||
let context = pubkey(2);
|
||||
let request = crate::Token2022ProofOrchestrationRequest {
|
||||
operation_code: "spl_token_2022.empty_confidential_account".to_string(),
|
||||
operation_code: "spl.token_2022.empty_confidential_account".to_string(),
|
||||
proofs: vec![kb_lib::ExSplTokenConfidentialProofReference {
|
||||
kind: kb_lib::ExSplTokenConfidentialProofKind::ZeroCiphertext,
|
||||
location: kb_lib::ExSplTokenConfidentialProofLocation::ContextStateAccount {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: kb-pipeline/src/solana_token_2022_stateful.rs
|
||||
// version: 6
|
||||
// version: 7
|
||||
|
||||
//! Contextual Token-2022 account-state validation and materialization routing.
|
||||
|
||||
@@ -587,7 +587,7 @@ mod tests {
|
||||
.as_ref()
|
||||
.map(|bundle| return bundle.outputs[1].payload_json["provenance"]["processorName"]
|
||||
.clone()),
|
||||
std::result::Result::Ok(serde_json::json!("fees"))
|
||||
std::result::Result::Ok(serde_json::json!("materializer.fees"))
|
||||
);
|
||||
let account_address = account_key(16);
|
||||
let account = kb_lib::DcToken2022State {
|
||||
|
||||
Reference in New Issue
Block a user