From 34d14c77fe3373ea0243b280ac35b04dbd44e3d9 Mon Sep 17 00:00:00 2001 From: drewstone Date: Fri, 23 Aug 2024 12:13:13 -0600 Subject: [PATCH] Spelling fix --- primitives/src/services/mod.rs | 8 ++++---- tangle-subxt/src/tangle_testnet_runtime.rs | 6 +++--- types/src/interfaces/lookup.ts | 6 +++--- types/src/interfaces/types-lookup.ts | 6 +++--- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/primitives/src/services/mod.rs b/primitives/src/services/mod.rs index 2ecf93e50..45184bb23 100644 --- a/primitives/src/services/mod.rs +++ b/primitives/src/services/mod.rs @@ -555,7 +555,7 @@ pub enum Gadget { impl Default for Gadget { fn default() -> Self { - Gadget::Wasm(WasmGadget { runtime: WasmRuntime::Wasmtime, soruces: Default::default() }) + Gadget::Wasm(WasmGadget { runtime: WasmRuntime::Wasmtime, sources: Default::default() }) } } @@ -747,7 +747,7 @@ pub struct WasmGadget { /// Which runtime to use to execute the WASM binary. pub runtime: WasmRuntime, /// Where the WASM binary is stored. - pub soruces: BoundedVec, C::MaxSourcesPerGadget>, + pub sources: BoundedVec, C::MaxSourcesPerGadget>, } #[derive(Educe, Encode, Decode, TypeInfo, MaxEncodedLen)] @@ -776,7 +776,7 @@ pub enum WasmRuntime { #[cfg_attr(feature = "std", derive(Serialize, Deserialize), serde(bound = ""))] pub struct NativeGadget { /// Where the WASM binary is stored. - pub soruces: BoundedVec, C::MaxSourcesPerGadget>, + pub sources: BoundedVec, C::MaxSourcesPerGadget>, } #[derive(Educe, Encode, Decode, TypeInfo, MaxEncodedLen)] @@ -788,7 +788,7 @@ pub struct NativeGadget { #[cfg_attr(feature = "std", derive(Serialize, Deserialize), serde(bound = ""))] pub struct ContainerGadget { /// Where the Image of the gadget binary is stored. - pub soruces: BoundedVec, C::MaxSourcesPerGadget>, + pub sources: BoundedVec, C::MaxSourcesPerGadget>, } // -***- RPC -***- diff --git a/tangle-subxt/src/tangle_testnet_runtime.rs b/tangle-subxt/src/tangle_testnet_runtime.rs index 4c5969f7e..b72346cf0 100644 --- a/tangle-subxt/src/tangle_testnet_runtime.rs +++ b/tangle-subxt/src/tangle_testnet_runtime.rs @@ -57410,7 +57410,7 @@ pub mod api { crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" )] pub struct ContainerGadget { - pub soruces: runtime_types::bounded_collections::bounded_vec::BoundedVec< + pub sources: runtime_types::bounded_collections::bounded_vec::BoundedVec< runtime_types::tangle_primitives::services::GadgetSource, >, } @@ -57719,7 +57719,7 @@ pub mod api { crate_path = ":: subxt :: ext :: subxt_core :: ext :: scale_encode" )] pub struct NativeGadget { - pub soruces: runtime_types::bounded_collections::bounded_vec::BoundedVec< + pub sources: runtime_types::bounded_collections::bounded_vec::BoundedVec< runtime_types::tangle_primitives::services::GadgetSource, >, } @@ -58071,7 +58071,7 @@ pub mod api { )] pub struct WasmGadget { pub runtime: runtime_types::tangle_primitives::services::WasmRuntime, - pub soruces: runtime_types::bounded_collections::bounded_vec::BoundedVec< + pub sources: runtime_types::bounded_collections::bounded_vec::BoundedVec< runtime_types::tangle_primitives::services::GadgetSource, >, } diff --git a/types/src/interfaces/lookup.ts b/types/src/interfaces/lookup.ts index 19a922886..f25e1884f 100644 --- a/types/src/interfaces/lookup.ts +++ b/types/src/interfaces/lookup.ts @@ -4282,7 +4282,7 @@ export default { **/ TanglePrimitivesServicesWasmGadget: { runtime: 'TanglePrimitivesServicesWasmRuntime', - soruces: 'Vec' + sources: 'Vec' }, /** * Lookup418: tangle_primitives::services::WasmRuntime @@ -4351,13 +4351,13 @@ export default { * Lookup445: tangle_primitives::services::NativeGadget **/ TanglePrimitivesServicesNativeGadget: { - soruces: 'Vec' + sources: 'Vec' }, /** * Lookup446: tangle_primitives::services::ContainerGadget **/ TanglePrimitivesServicesContainerGadget: { - soruces: 'Vec' + sources: 'Vec' }, /** * Lookup448: sygma_access_segregator::pallet::Call diff --git a/types/src/interfaces/types-lookup.ts b/types/src/interfaces/types-lookup.ts index e3ef2db4b..0b72d23f9 100644 --- a/types/src/interfaces/types-lookup.ts +++ b/types/src/interfaces/types-lookup.ts @@ -4394,7 +4394,7 @@ declare module '@polkadot/types/lookup' { /** @name TanglePrimitivesServicesWasmGadget (417) */ interface TanglePrimitivesServicesWasmGadget extends Struct { readonly runtime: TanglePrimitivesServicesWasmRuntime; - readonly soruces: Vec; + readonly sources: Vec; } /** @name TanglePrimitivesServicesWasmRuntime (418) */ @@ -4470,12 +4470,12 @@ declare module '@polkadot/types/lookup' { /** @name TanglePrimitivesServicesNativeGadget (445) */ interface TanglePrimitivesServicesNativeGadget extends Struct { - readonly soruces: Vec; + readonly sources: Vec; } /** @name TanglePrimitivesServicesContainerGadget (446) */ interface TanglePrimitivesServicesContainerGadget extends Struct { - readonly soruces: Vec; + readonly sources: Vec; } /** @name SygmaAccessSegregatorCall (448) */