Skip to content

Commit b8d6e8c

Browse files
authored
chore: deprecate TestFetcher for now (#1051)
1 parent c25f0ac commit b8d6e8c

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

primitives/src/services/sources.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,10 @@ pub struct GithubFetcher<C: Constraints> {
148148
#[codec(decode_bound(skip_type_params(C)))]
149149
#[codec(mel_bound(skip_type_params(C)))]
150150
#[cfg_attr(feature = "std", derive(Serialize, Deserialize), serde(bound = ""))]
151+
#[deprecated(
152+
since = "1.4.4",
153+
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"
154+
)]
151155
pub struct TestFetcher<C: Constraints> {
152156
/// The cargo package name that contains the blueprint logic
153157
pub cargo_package: BoundedString<C::MaxBinaryNameLength>,

tangle-subxt/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ subxt codegen --file metadata/tangle-testnet-runtime.scale \
3333
--derive Eq \
3434
--derive PartialEq \
3535
--attributes-for-type tangle_primitives::services::field::Field='#[codec(dumb_trait_bound)]' \
36+
--attributes-for-type tangle_primitives::services::sources::TestFetcher='#[deprecated(since = "1.4.4")]' \
3637
--derive-for-type tangle_primitives::services::service::ServiceBlueprint=serde::Serialize,recursive \
3738
--derive-for-type tangle_primitives::services::service::ServiceBlueprint=serde::Deserialize,recursive | rustfmt --edition=2021 --emit=stdout > src/tangle_testnet_runtime.rs
3839
```
0 Bytes
Binary file not shown.

tangle-subxt/src/tangle_testnet_runtime.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75354,6 +75354,7 @@ pub mod api {
7535475354
# [codec (crate = :: subxt_core :: ext :: codec)]
7535575355
#[codec(dumb_trait_bound)]
7535675356
#[decode_as_type(crate_path = ":: subxt_core :: ext :: scale_decode")]
75357+
#[deprecated(since = "1.4.4")]
7535775358
#[encode_as_type(crate_path = ":: subxt_core :: ext :: scale_encode")]
7535875359
pub struct TestFetcher {
7535975360
pub cargo_package:

0 commit comments

Comments
 (0)