Skip to content

Commit a007c96

Browse files
committed
fix: disable ckd for now
1 parent 7a3d31a commit a007c96

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/transaction/engine.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ use crate::{
1111
metrics::{Labels, Metrics},
1212
transaction::{
1313
fungible_token_transfer::FungibleTokenTransfer,
14-
mpc::{MpcCkd, MpcSignEcdsa, MpcSignEddsa},
14+
mpc::{MpcSignEcdsa, MpcSignEddsa},
1515
swap::Swap,
1616
token_transfer_default::TokenTransferDefault,
1717
token_transfer_final::TokenTransferFinal,
@@ -51,7 +51,7 @@ impl Engine {
5151
add_transaction!(MpcSignEcdsa);
5252
add_transaction!(MpcSignEddsa);
5353
// This is not yet functional, so failures are expected for these transactions
54-
add_transaction!(MpcCkd);
54+
// add_transaction!(MpcCkd);
5555

5656
Engine { transactions }
5757
}

src/transaction/mpc.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ use rand::Rng;
1313

1414
pub struct MpcSignEcdsa {}
1515
pub struct MpcSignEddsa {}
16+
#[allow(unused)]
1617
pub struct MpcCkd {}
1718

1819
#[async_trait]
@@ -135,7 +136,7 @@ impl TransactionSample for MpcCkd {
135136
receiver_id: opts.mpc_contract_id,
136137
block_hash,
137138
actions: vec![Action::FunctionCall(Box::new(FunctionCallAction {
138-
method_name: "sign".to_string(),
139+
method_name: "request_app_private_key".to_string(),
139140
args: serde_json::json!({"request": {"domain_id": domain_id,"app_public_key": app_public_key}})
140141
.to_string()
141142
.into_bytes(),

0 commit comments

Comments
 (0)