Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

filter_multi_dispute_data should use with_transaction #4055

@rphmeier

Description

@rphmeier

https://crates.parity.io/frame_support/storage/fn.with_transaction.html

filter_multi_dispute_data updates storage, which means that the state after calling it is not fresh. It should instead run within a storage transaction whose result is rolled back after completion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    I8-refactorCode needs refactoring.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions