Skip to content

Complete TxStatusManager Service tests #2838

@MitchTurner

Description

@MitchTurner

Implement the missing tests:

// Tests to implement
// 1. `status_update()` sends correct notifications for `tx_status_change` and
//    `new_tx_notification_sender` depending on the `TransactionStatus` variant.
// 2. `status_update()` updates the `statuses` map with the correct `TransactionStatus`.
//     for example `status_update()` does not update the `statuses` map
//     with the `TransactionStatus::SqueezedOut` (if we decide so)
// 3. Pruning of old statuses
//    - upon storage in DB
//    - other pruning scenarios if we decide to implement them
// 4. `status_update()` is called from all components: TxPool, Consensus, WorkerService and P2P
// 5. Signature is verified before the preconfirmations are accepted

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