Swap broadcast-failure message invites retry while the signed tx can still land (hung RPC) — double-execution risk inside the deadline window #359
Labels
No labels
agent:fix_bugfix
agent:fix_conflicts
agent:fix_security
agent:gap_analysis
agent:implement
agent:implement
agent:implement
agent:open_issues
agent:ready
agent:research
agent:security_audit
agent:verify
architecture
backend
blocker:hybrid
blocker:launch
blocker:limit-orders
blocker:v2
block:log_only
block:security
bug
ci
contracts
correctness
deploy
dev
devops
docs
documentation
duplicate
e2e
enhancement
epic
feature
frontend
functional-completion
gas
good first issue
governance
help wanted
high-risk
hooks
hybrid
indexer
infra
infrastructure
integrators
invalid
launch-blocker
limit-orders
localnet
localterra
low priority
missing-implementation
needs-design
ops
performance
priority
high
priority
medium
product
qa
QA
question
ready
ready
research
scripts
security
security-hardening
smartcontracts
tech-debt
testing
ux
UX
v2
verification
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-dex-terraclassic#359
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Found during #337 ERR-00-03 (broadcast timeout) — build
3169af0, Cosmostation, EMBER/CORAL pair.Repro (RPC hang, not refusal — the common mainnet failure mode):
So the failure copy is wrong about the state and actively invites a duplicate: after signing, the tx exists; "try again" within the deadline window = double-execution. The msg-level deadline does bound the window (this tx landed inside it), but it's minutes wide — plenty of time to retry.
Suggested handling for broadcast failure AFTER signing:
The messaging/recovery half of ERR-00-03 otherwise behaves (honest banners, usable UI, no infinite pending) — the hazard is specifically the retry invitation plus the false "could not broadcast" claim.
mentioned in issue #337
mentioned in commit
cd178131admentioned in merge request !867
mentioned in commit
839ab90a61mentioned in commit
748e36af7bmentioned in issue #360
mentioned in issue #361
mentioned in merge request !870
mentioned in issue #368
mentioned in merge request !877
mentioned in commit
080d0af46amentioned in commit
1154cb6ff3mentioned in merge request !874
mentioned in commit
778813600amentioned in commit
337f6becc2mentioned in merge request !1037
mentioned in merge request !1039
mentioned in issue #567
mentioned in merge request !1091