Skip to content

feat: increase seqnum#351

Merged
andreabadesso merged 3 commits into
masterfrom
feat/increase-seqnum
Jan 28, 2026
Merged

feat: increase seqnum#351
andreabadesso merged 3 commits into
masterfrom
feat/increase-seqnum

Conversation

@andreabadesso
Copy link
Copy Markdown
Collaborator

@andreabadesso andreabadesso commented Jan 27, 2026

Motivation

When users call GET /wallet/address/info to get seqnum before submitting nano contract transactions, the daemon syncs events slowly, so multiple rapid calls return the same seqnum, causing transaction conflicts.

Acceptance Criteria

  • txProposalCreate increments the caller address's seqnum when the transaction is a nano contract
  • The increment happens atomically within the existing transaction block alongside tx proposal creation and UTXO marking

Checklist

  • If you are requesting a merge into master, confirm this code is production-ready and can be included in future releases as soon as it gets merged
  • Make sure either the unit tests and/or the QA tests are capable of testing the new features
  • Make sure you do not include new dependencies in the project unless strictly necessary and do not include dev-dependencies as production ones. More dependencies increase the possibility of one of them being hijacked and affecting us.

@andreabadesso andreabadesso self-assigned this Jan 27, 2026
@andreabadesso andreabadesso added the enhancement New feature or request label Jan 27, 2026
@andreabadesso andreabadesso moved this from Todo to In Progress (Done) in Hathor Network Jan 27, 2026
@pedroferreira1 pedroferreira1 moved this from In Progress (Done) to In Review (WIP) in Hathor Network Jan 28, 2026
@andreabadesso andreabadesso merged commit d81d8ad into master Jan 28, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from In Review (WIP) to Waiting to be deployed in Hathor Network Jan 28, 2026
@andreabadesso andreabadesso deleted the feat/increase-seqnum branch January 28, 2026 17:50
@andreabadesso andreabadesso mentioned this pull request Jan 28, 2026
2 tasks
@andreabadesso andreabadesso moved this from Waiting to be deployed to Done in Hathor Network Jan 28, 2026
This was referenced Jan 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants