Skip to content

Can no longer mark a failed meetup as completed #275

@echevrier

Description

@echevrier

Since paritytech/substrate#11927 changes, the storage don't persist when a call return an error. See paritytech/substrate#11533 (comment)
So

<IssuedRewards<T>>::insert((cid, cindex), meetup_index, ());
will not be saved.
The test claim_rewards_error_results_in_meetup_marked_as_completed fails at
assert!(IssuedRewards::<TestRuntime>::contains_key((cid, cindex), 1));

Metadata

Metadata

Assignees

No one assigned

    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