fix(frontend): recover from account sequence mismatch on mint (#499) #1039
No reviewers
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!1039
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/499-mint-sequence-mismatch"
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?
Summary
getAuthInfo(false)) so Mint/other txs do not reuse a stale cached sequence when the same account is active elsewhere.account sequence mismatch), re-sign and re-broadcast once using the chain-expected sequence via sharedbroadcastTerraExecuteContracts(not Mint-page-only logic; not #359 recovery).Wallet out of sync. Try again.(anti cognitive overload / #489); raw chain text stays inconsole.error.Issue criteria
Test plan
terraAccountSequenceunit teststerraBroadcastRecoverycode-32 retry success + no #359 recoveryhumanizeTerraTxErrorsequence mismatch mappingDocs / invariants
docs/frontend.mdbroadcast invariants (#499)docs/runbooks/soft-launch-faucet.mdAGENTS_FRONTEND_TX_BROADCAST_TIMEOUT.md,AGENTS_SOFT_LAUNCH_FAUCET.md,AGENTS_FRONTEND_USER_ERRORS.mdCloses #499
Bugbot is not enabled for your account, so this pull request was not reviewed.
Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.
mentioned in commit
b734964e7bmentioned in issue #499