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:
@@ -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)})`,
|
||||
}],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user