fix: thread --announce-only through stake/liquidity/crowd submission paths#899
fix: thread --announce-only through stake/liquidity/crowd submission paths#899bitloi wants to merge 4 commits intolatent-to:stagingfrom
Conversation
ca5ba97 to
30fc840
Compare
b4807ac to
c420a37
Compare
…unce-only-stake-liquidity-crowd # Conflicts: # tests/unit_tests/test_stake_add.py
|
@ibraheem-abe Thanks for your review. I just fixed the conflict, would you please review this PR as well? |
thewhaleking
left a comment
There was a problem hiding this comment.
LGTM but want @ibraheem-abe to verify
|
The forwarding looks right to me, but I think the success UX is still a bit off for In that mode we’re only submitting Some of these paths still seem to report success as if the real action already happened, which feels misleading. Ideally we should branch the success handling for A disclaimer might be useful too in cases where we interact with staking calls and show the slippage table etc @thewhaleking wdyt |
Now that you mention it, that is probably why I didn't fully implement this. |
Should effort be made to add this branching right now or during/after V10? |
|
@thewhaleking @ibraheem-abe Do you want me to add announce-only success messaging in this PR or as a follow-up? |
Closes #898
--announce-onlywas accepted at the CLI layer but dropped on multiple stake/liquidity/crowd paths before extrinsic submission.This change:
announce_onlyfrom CLI handlers into downstream command functionsannounce_onlytosign_and_send_extrinsic/sign_and_send_batch_extrinsicunstake -> unstake_allpath to forwardproxy+announce_only