Skip to content

Commit

Permalink
feat: add support for TenureChange transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
obycode committed Dec 20, 2023
1 parent 85d171b commit 7c1affc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion components/chainhook-sdk/src/indexer/stacks/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -745,7 +745,7 @@ pub fn get_tx_description(
(format!("coinbase"), StacksTransactionKind::Coinbase)
}
TransactionPayload::TenureChange(_) => {
todo!("TenureChange")
(format!("tenure change"), StacksTransactionKind::TenureChange)
}
TransactionPayload::PoisonMicroblock(_, _) => {
unimplemented!()
Expand Down
1 change: 1 addition & 0 deletions components/chainhook-types-rs/src/rosetta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ pub enum StacksTransactionKind {
ContractDeployment(StacksContractDeploymentData),
NativeTokenTransfer,
Coinbase,
TenureChange,
BitcoinOp(BitcoinOpData),
Unsupported,
}
Expand Down

0 comments on commit 7c1affc

Please sign in to comment.