diff --git a/sdk/src/types/api/plugins/participation/types.rs b/sdk/src/types/api/plugins/participation/types.rs index 88c9f35a84..cfab17c7c3 100644 --- a/sdk/src/types/api/plugins/participation/types.rs +++ b/sdk/src/types/api/plugins/participation/types.rs @@ -12,7 +12,7 @@ use getset::Getters; use hashbrown::HashMap; use packable::PackableExt; -use crate::types::{api::plugins::participation::error::Error, block::impl_id}; +use crate::types::api::plugins::participation::error::Error; /// Participation tag. pub const PARTICIPATION_TAG: &str = "PARTICIPATE"; @@ -51,7 +51,7 @@ pub struct ParticipationEvent { pub data: ParticipationEventData, } -impl_id!( +crate::impl_id!( /// A participation event id. pub ParticipationEventId { pub const LENGTH: usize = 32; diff --git a/sdk/src/types/block/macro.rs b/sdk/src/types/block/macro.rs index b7a5b6695a..74b74a6ec8 100644 --- a/sdk/src/types/block/macro.rs +++ b/sdk/src/types/block/macro.rs @@ -229,7 +229,6 @@ macro_rules! impl_id { )? }; } -pub(crate) use impl_id; /// Convenience macro to serialize types to string via serde. #[cfg(feature = "serde")] @@ -297,7 +296,6 @@ macro_rules! create_bitflags { } }; } -pub(crate) use create_bitflags; #[macro_export] macro_rules! impl_serde_typed_dto { diff --git a/sdk/src/types/block/output/feature/mod.rs b/sdk/src/types/block/output/feature/mod.rs index e3d0e49982..ef936e372b 100644 --- a/sdk/src/types/block/output/feature/mod.rs +++ b/sdk/src/types/block/output/feature/mod.rs @@ -29,7 +29,6 @@ pub use self::{ tag::TagFeature, }; use crate::types::block::{ - create_bitflags, output::{StorageScore, StorageScoreParameters}, Error, }; @@ -126,7 +125,7 @@ impl Feature { crate::def_is_as_opt!(Feature: Sender, Issuer, Metadata, Tag, BlockIssuer, Staking); } -create_bitflags!( +crate::create_bitflags!( /// A bitflags-based representation of the set of active [`Feature`]s. pub FeatureFlags, u16, diff --git a/sdk/src/types/block/output/unlock_condition/mod.rs b/sdk/src/types/block/output/unlock_condition/mod.rs index 6a6c9688f2..030fd5be67 100644 --- a/sdk/src/types/block/output/unlock_condition/mod.rs +++ b/sdk/src/types/block/output/unlock_condition/mod.rs @@ -32,7 +32,6 @@ pub use self::{ }; use crate::types::block::{ address::Address, - create_bitflags, output::{StorageScore, StorageScoreParameters}, protocol::ProtocolParameters, slot::SlotIndex, @@ -135,7 +134,7 @@ impl UnlockCondition { ); } -create_bitflags!( +crate::create_bitflags!( /// A bitflags-based representation of the set of active [`UnlockCondition`]s. pub UnlockConditionFlags, u16,