Skip to content

[transaction-controller] Boundless growth of transaction history #4549

@Gudahtt

Description

@Gudahtt

Each transaction has a history property, which tracks changes to the transaction state. This history doesn't currently have a maximum limit and can grow indefinitely, effectively becoming a memory leak. Unfortunately it can grow rather rapidly as well, because it tracks changes to the transaction warning.error state which can update multiple times in a single pending transaction status check.

We should prevent this history from growing unbounded, and maybe replace or severely limit its size in general.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions