diff --git a/bindings/wasm/iota_interaction_ts/src/bindings/wasm_iota_client.rs b/bindings/wasm/iota_interaction_ts/src/bindings/wasm_iota_client.rs index 122d25069..493d054d1 100644 --- a/bindings/wasm/iota_interaction_ts/src/bindings/wasm_iota_client.rs +++ b/bindings/wasm/iota_interaction_ts/src/bindings/wasm_iota_client.rs @@ -134,7 +134,7 @@ impl ManagedWasmIotaClient { pub async fn execute_transaction_block( &self, tx_data_bcs: &TransactionDataBcs, - signatures: &Vec, + signatures: &[SignatureBcs], options: Option, request_type: Option, ) -> IotaRpcResult { diff --git a/bindings/wasm/iota_interaction_ts/src/iota_client_ts_sdk.rs b/bindings/wasm/iota_interaction_ts/src/iota_client_ts_sdk.rs index a494778a9..f40866551 100644 --- a/bindings/wasm/iota_interaction_ts/src/iota_client_ts_sdk.rs +++ b/bindings/wasm/iota_interaction_ts/src/iota_client_ts_sdk.rs @@ -239,7 +239,7 @@ impl QuorumDriverTrait for QuorumDriverAdapter { async fn execute_transaction_block( &self, tx_data_bcs: &TransactionDataBcs, - signatures: &Vec, + signatures: &[SignatureBcs], options: Option, request_type: Option, ) -> IotaRpcResult { diff --git a/identity_iota_core/src/iota_interaction_rust/iota_client_rust_sdk.rs b/identity_iota_core/src/iota_interaction_rust/iota_client_rust_sdk.rs index 6731cf1c4..cb3fb5c2b 100644 --- a/identity_iota_core/src/iota_interaction_rust/iota_client_rust_sdk.rs +++ b/identity_iota_core/src/iota_interaction_rust/iota_client_rust_sdk.rs @@ -135,7 +135,7 @@ impl<'a> QuorumDriverTrait for QuorumDriverAdapter<'a> { async fn execute_transaction_block( &self, tx_data_bcs: &TransactionDataBcs, - signatures: &Vec, + signatures: &[SignatureBcs], options: Option, request_type: Option, ) -> IotaRpcResult { diff --git a/identity_iota_interaction/src/iota_client_trait.rs b/identity_iota_interaction/src/iota_client_trait.rs index d3afc0c1d..9ff6ffadb 100644 --- a/identity_iota_interaction/src/iota_client_trait.rs +++ b/identity_iota_interaction/src/iota_client_trait.rs @@ -110,7 +110,7 @@ pub trait QuorumDriverTrait { async fn execute_transaction_block( &self, tx_data_bcs: &TransactionDataBcs, - signatures: &Vec, + signatures: &[SignatureBcs], options: Option, request_type: Option, ) -> IotaRpcResult>>; diff --git a/identity_iota_interaction/src/move_call_traits.rs b/identity_iota_interaction/src/move_call_traits.rs index 7f60f44d5..961718497 100644 --- a/identity_iota_interaction/src/move_call_traits.rs +++ b/identity_iota_interaction/src/move_call_traits.rs @@ -106,6 +106,11 @@ pub trait IdentityMoveCalls { package: ObjectID, ) -> Result; + // We allow clippy::too_many_arguments here because splitting this trait function into multiple + // other functions or creating an options struct gathering multiple function arguments has lower + // priority at the moment. + // TODO: remove clippy::too_many_arguments allowance here + #[allow(clippy::too_many_arguments)] fn propose_config_change( identity: OwnedObjectRef, controller_cap: ObjectRef, diff --git a/identity_iota_interaction/src/sdk_types/generated_types.rs b/identity_iota_interaction/src/sdk_types/generated_types.rs index 1aeb17314..1a0ab84f6 100644 --- a/identity_iota_interaction/src/sdk_types/generated_types.rs +++ b/identity_iota_interaction/src/sdk_types/generated_types.rs @@ -43,7 +43,7 @@ pub struct ExecuteTransactionBlockParams { impl ExecuteTransactionBlockParams { pub fn new( tx_bytes: &TransactionDataBcs, - signatures: &Vec, + signatures: &[SignatureBcs], options: Option, request_type: Option, ) -> Self {