Skip to content

Commit

Permalink
Spelling fix
Browse files Browse the repository at this point in the history
  • Loading branch information
drewstone committed Aug 23, 2024
1 parent a299f30 commit 34d14c7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
8 changes: 4 additions & 4 deletions primitives/src/services/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ pub enum Gadget<C: Constraints> {

impl<C: Constraints> Default for Gadget<C> {
fn default() -> Self {
Gadget::Wasm(WasmGadget { runtime: WasmRuntime::Wasmtime, soruces: Default::default() })
Gadget::Wasm(WasmGadget { runtime: WasmRuntime::Wasmtime, sources: Default::default() })
}
}

Expand Down Expand Up @@ -747,7 +747,7 @@ pub struct WasmGadget<C: Constraints> {
/// Which runtime to use to execute the WASM binary.
pub runtime: WasmRuntime,
/// Where the WASM binary is stored.
pub soruces: BoundedVec<GadgetSource<C>, C::MaxSourcesPerGadget>,
pub sources: BoundedVec<GadgetSource<C>, C::MaxSourcesPerGadget>,
}

#[derive(Educe, Encode, Decode, TypeInfo, MaxEncodedLen)]
Expand Down Expand Up @@ -776,7 +776,7 @@ pub enum WasmRuntime {
#[cfg_attr(feature = "std", derive(Serialize, Deserialize), serde(bound = ""))]
pub struct NativeGadget<C: Constraints> {
/// Where the WASM binary is stored.
pub soruces: BoundedVec<GadgetSource<C>, C::MaxSourcesPerGadget>,
pub sources: BoundedVec<GadgetSource<C>, C::MaxSourcesPerGadget>,
}

#[derive(Educe, Encode, Decode, TypeInfo, MaxEncodedLen)]
Expand All @@ -788,7 +788,7 @@ pub struct NativeGadget<C: Constraints> {
#[cfg_attr(feature = "std", derive(Serialize, Deserialize), serde(bound = ""))]
pub struct ContainerGadget<C: Constraints> {
/// Where the Image of the gadget binary is stored.
pub soruces: BoundedVec<GadgetSource<C>, C::MaxSourcesPerGadget>,
pub sources: BoundedVec<GadgetSource<C>, C::MaxSourcesPerGadget>,
}

// -***- RPC -***-
Expand Down
6 changes: 3 additions & 3 deletions tangle-subxt/src/tangle_testnet_runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
>,
}
Expand Down Expand Up @@ -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,
>,
}
Expand Down Expand Up @@ -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,
>,
}
Expand Down
6 changes: 3 additions & 3 deletions types/src/interfaces/lookup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4282,7 +4282,7 @@ export default {
**/
TanglePrimitivesServicesWasmGadget: {
runtime: 'TanglePrimitivesServicesWasmRuntime',
soruces: 'Vec<TanglePrimitivesServicesGadgetSource>'
sources: 'Vec<TanglePrimitivesServicesGadgetSource>'
},
/**
* Lookup418: tangle_primitives::services::WasmRuntime
Expand Down Expand Up @@ -4351,13 +4351,13 @@ export default {
* Lookup445: tangle_primitives::services::NativeGadget<C>
**/
TanglePrimitivesServicesNativeGadget: {
soruces: 'Vec<TanglePrimitivesServicesGadgetSource>'
sources: 'Vec<TanglePrimitivesServicesGadgetSource>'
},
/**
* Lookup446: tangle_primitives::services::ContainerGadget<C>
**/
TanglePrimitivesServicesContainerGadget: {
soruces: 'Vec<TanglePrimitivesServicesGadgetSource>'
sources: 'Vec<TanglePrimitivesServicesGadgetSource>'
},
/**
* Lookup448: sygma_access_segregator::pallet::Call<T>
Expand Down
6 changes: 3 additions & 3 deletions types/src/interfaces/types-lookup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4394,7 +4394,7 @@ declare module '@polkadot/types/lookup' {
/** @name TanglePrimitivesServicesWasmGadget (417) */
interface TanglePrimitivesServicesWasmGadget extends Struct {
readonly runtime: TanglePrimitivesServicesWasmRuntime;
readonly soruces: Vec<TanglePrimitivesServicesGadgetSource>;
readonly sources: Vec<TanglePrimitivesServicesGadgetSource>;
}

/** @name TanglePrimitivesServicesWasmRuntime (418) */
Expand Down Expand Up @@ -4470,12 +4470,12 @@ declare module '@polkadot/types/lookup' {

/** @name TanglePrimitivesServicesNativeGadget (445) */
interface TanglePrimitivesServicesNativeGadget extends Struct {
readonly soruces: Vec<TanglePrimitivesServicesGadgetSource>;
readonly sources: Vec<TanglePrimitivesServicesGadgetSource>;
}

/** @name TanglePrimitivesServicesContainerGadget (446) */
interface TanglePrimitivesServicesContainerGadget extends Struct {
readonly soruces: Vec<TanglePrimitivesServicesGadgetSource>;
readonly sources: Vec<TanglePrimitivesServicesGadgetSource>;
}

/** @name SygmaAccessSegregatorCall (448) */
Expand Down

0 comments on commit 34d14c7

Please sign in to comment.