Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
shekohex committed Nov 27, 2024
1 parent 22f5e85 commit ff9d241
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion blueprint-metadata/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ fn extract_blueprint_metadata(package: &Package) -> BlueprintMetadata {
serde_json::from_value(blueprint.clone()).expect("Failed to deserialize gadget.");
match &mut metadata.manager {
BlueprintManager::Evm(manager) => {
let path = resolve_evm_contract_path_by_name(&manager);
let path = resolve_evm_contract_path_by_name(manager);
*manager = path.display().to_string();
}
_ => unreachable!("Unsupported blueprint manager"),
Expand Down
1 change: 1 addition & 0 deletions sdk/src/contexts/services.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ use tangle_subxt::tangle_testnet_runtime::api::system::storage::types::number::N
use tangle_subxt::tangle_testnet_runtime::api::runtime_types::pallet_multi_asset_delegation::types::delegator::DelegatorMetadata;

/// `ServicesContext` trait provides access to the current service and current blueprint from the context.
#[allow(clippy::type_complexity)]
pub trait ServicesContext {
type Config: subxt::Config;
/// Get the current blueprint information from the context.
Expand Down

0 comments on commit ff9d241

Please sign in to comment.