Skip to content

Serialize nonces in outgoing messages #133

Description

@jannikluhn

The API calls PendingNonceAt when sending a registration transaction. If there's two calls very close to each other, PendingNonceAt will return the same value, so both transactions will have the same nonce.

To fix this, we should have a transaction sender component that keeps track of used nonces internally and does not assign the same nonce twice. It should also watch transactions and return the receipt to the caller. If transactions get stuck, it should resend them with current gas prices.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions