Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions primitives/src/services/sources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ pub struct GithubFetcher<C: Constraints> {
#[codec(decode_bound(skip_type_params(C)))]
#[codec(mel_bound(skip_type_params(C)))]
#[cfg_attr(feature = "std", derive(Serialize, Deserialize), serde(bound = ""))]
#[deprecated(
since = "1.4.4",
note = "No longer used for its initial purpose, may be used in the future to allow for testing with a local manager-in-node setup"
)]
pub struct TestFetcher<C: Constraints> {
/// The cargo package name that contains the blueprint logic
pub cargo_package: BoundedString<C::MaxBinaryNameLength>,
Expand Down
1 change: 1 addition & 0 deletions tangle-subxt/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ subxt codegen --file metadata/tangle-testnet-runtime.scale \
--derive Eq \
--derive PartialEq \
--attributes-for-type tangle_primitives::services::field::Field='#[codec(dumb_trait_bound)]' \
--attributes-for-type tangle_primitives::services::sources::TestFetcher='#[deprecated(since = "1.4.4")]' \
--derive-for-type tangle_primitives::services::service::ServiceBlueprint=serde::Serialize,recursive \
--derive-for-type tangle_primitives::services::service::ServiceBlueprint=serde::Deserialize,recursive | rustfmt --edition=2021 --emit=stdout > src/tangle_testnet_runtime.rs
```
Expand Down
Binary file modified tangle-subxt/metadata/tangle-testnet-runtime.scale
Binary file not shown.
1 change: 1 addition & 0 deletions tangle-subxt/src/tangle_testnet_runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75354,6 +75354,7 @@ pub mod api {
# [codec (crate = :: subxt_core :: ext :: codec)]
#[codec(dumb_trait_bound)]
#[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")]
#[deprecated(since = "1.4.4")]
#[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")]
pub struct TestFetcher {
pub cargo_package:
Expand Down
Loading