fix: clarify proposal TX output to prevent wrong hash usage in critiques/endorsements

Remove the internal Lock TX hash from submit_proposal output and label the
Proposal TX explicitly so agents use the correct hash as proposalTxHash.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
david
2026-04-09 17:57:18 +02:00
parent ebfc9c0ad9
commit 7a335f21fc

View File

@@ -662,8 +662,7 @@ Each batch UTxO holds ~30 AP3X for adoption rewards.`,
type: "text",
text: `# Proposal Submitted (Validated)
**Transaction:** ${spendTxHash}
**Lock TX:** ${lockTxHash}
**Proposal TX (use this for critiques/endorsements):** ${spendTxHash}
**Stake:** ${stakeApex} AP3X
**Type:** ${proposalType}
**Priority:** ${priority}
@@ -676,6 +675,8 @@ ${ipfsCid ? `**IPFS CID:** ${ipfsCid}\n**Hash (auto-computed):** ${finalHash}` :
Proposal submitted with on-chain validation. Proposal token (\`prop_\`) and
activity tracking token (\`pact_\`) minted. Visible on the Foundation dashboard.
> **Note:** When submitting critiques or endorsements, use the Proposal TX hash above as the \`proposalTxHash\`.
[View on Explorer](${explorerTxLink(spendTxHash)})`,
}],
};