Skip to content

Commit a0f3002

Browse files
committed
node: add namada_tx_hash field to CometBFT tx result
1 parent 59d6814 commit a0f3002

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/node/src/shell/finalize_block.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -889,6 +889,10 @@ where
889889
tx_results.push(tendermint::abci::types::ExecTxResult {
890890
code: result_code.into(),
891891
gas_used,
892+
info: serde_json::to_string(&serde_json::json!({
893+
"namada_tx_hash": tx_hash,
894+
}))
895+
.unwrap(),
892896
..Default::default()
893897
});
894898

0 commit comments

Comments
 (0)