diff --git a/docs/rpc/components/schemas/get-transaction.schema.yaml b/docs/rpc/components/schemas/get-transaction.schema.yaml index 3e30e6a24e..bed3832540 100644 --- a/docs/rpc/components/schemas/get-transaction.schema.yaml +++ b/docs/rpc/components/schemas/get-transaction.schema.yaml @@ -14,3 +14,9 @@ properties: result: type: string description: Transaction execution result (Clarity value) + block_height: + type: [integer, "null"] + description: Height of the block where the transaction was included + is_canonical: + type: boolean + description: Whether the block where this transaction was included is in the canonical chain tip diff --git a/stacks-common/src/util/macros.rs b/stacks-common/src/util/macros.rs index cbf602cfa1..ac3d6f94ab 100644 --- a/stacks-common/src/util/macros.rs +++ b/stacks-common/src/util/macros.rs @@ -426,8 +426,8 @@ macro_rules! impl_array_newtype { } } + #[allow(clippy::non_canonical_clone_impl)] impl Clone for $thing { - #[allow(clippy::non_canonical_clone_impl)] fn clone(&self) -> Self { $thing(self.0.clone()) }