Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pallet-broker] Fix claim revenue behaviour for zero timeslices #3997

Merged
merged 5 commits into from
Apr 5, 2024

Conversation

seadanda
Copy link
Contributor

@seadanda seadanda commented Apr 5, 2024

This PR adds a check that max_timeslices > 0 and errors if not. It also adds a test for this behaviour and cleans up some misleading docs.

@seadanda seadanda added the T2-pallets This PR/Issue is related to a particular pallet. label Apr 5, 2024
@seadanda seadanda self-assigned this Apr 5, 2024
@seadanda seadanda changed the title [pallet_broker] Fix claim revenue behaviour for zero timeslices [pallet-broker] Fix claim revenue behaviour for zero timeslices Apr 5, 2024
@seadanda seadanda marked this pull request as ready for review April 5, 2024 11:37
@seadanda seadanda requested a review from a team as a code owner April 5, 2024 11:37
@seadanda seadanda added this pull request to the merge queue Apr 5, 2024
Merged via the queue into master with commit ba0f8de Apr 5, 2024
139 of 144 checks passed
@seadanda seadanda deleted the donal-claim-revenue-fix branch April 5, 2024 14:09
seadanda added a commit that referenced this pull request Apr 8, 2024
This PR adds a check that `max_timeslices > 0` and errors if not. It
also adds a test for this behaviour and cleans up some misleading docs.
Ank4n pushed a commit that referenced this pull request Apr 9, 2024
This PR adds a check that `max_timeslices > 0` and errors if not. It
also adds a test for this behaviour and cleans up some misleading docs.
dharjeezy pushed a commit to dharjeezy/polkadot-sdk that referenced this pull request Apr 9, 2024
…tytech#3997)

This PR adds a check that `max_timeslices > 0` and errors if not. It
also adds a test for this behaviour and cleans up some misleading docs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T2-pallets This PR/Issue is related to a particular pallet.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants