This repository was archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
disputes pallet: Remove spam slots #6345
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
78134e4
disputes pallet: Filter disputes with votes less than supermajority t…
tdimitrov ef1823e
Remove `max_spam_slots` usages
tdimitrov ec7e53c
Remove `SpamSlots`
tdimitrov 2a0a7ee
Remove `SpamSlotChange`
tdimitrov 23fc0cf
Remove `Error<T>::PotentialSpam` and stale comments
tdimitrov ccfa0b1
`create_disputes_with_no_spam` -> `create_disputes`
tdimitrov bdd193f
Make tests compile - wip commit
tdimitrov 5a1800a
Rework `test_dispute_timeout`. Rename `update_spam_slots` to `filter_…
tdimitrov 5518563
Remove `dispute_statement_becoming_onesided_due_to_spamslots_is_accep…
tdimitrov 82a62ee
Fix `test_provide_multi_dispute_success_and_other`
tdimitrov 1d3eb05
Remove an old comment
tdimitrov a0e60de
Remove spam slots from tests - clean todo comments
tdimitrov e02089d
Remove test - `test_decrement_spam`
tdimitrov d1a468f
todo comments
tdimitrov 7519851
Update TODO comments
tdimitrov d4df3d0
Extract `test_unconfirmed_are_ignored` as separate test case
tdimitrov 397a060
Remove dead code
tdimitrov 84cae48
Fix `test_unconfirmed_are_ignored`
tdimitrov 306acd3
Remove dead code in `filter_dispute_data`
tdimitrov b6661ce
Fix weights (related to commit "Remove `SpamSlots`")
tdimitrov 8c5f10a
Disputes migration - first try
tdimitrov 80fda2e
Remove `dispute_max_spam_slots` + storage migration
tdimitrov 28993af
Fix `HostConfig` migration tests
tdimitrov f04fc04
Deprecate `SpamSlots`
tdimitrov d4b8b5b
Code review feedback
tdimitrov ac7c5c8
Fix weights in disputes migration
tdimitrov 1905b6f
Revert "Deprecate `SpamSlots`"
tdimitrov 746a589
Make mod migration public
tdimitrov 647d409
Remove `SpamSlots` from disputes pallet and use `storage_alias` in th…
tdimitrov 68f956c
Fix call to `clear()` for `SpamSlots` in migration
tdimitrov df82049
Update migration and add a `try-runtime` test
tdimitrov 535482f
Add `pre_upgrade` `try-runtime` test
tdimitrov 49068a4
Fix some test names in `HostConfiguration` migration
tdimitrov 09ed433
Link spamslots migration in all runtimes
tdimitrov c33d777
Add `test_unconfirmed_disputes_cause_block_import_error`
tdimitrov 577d4b3
Update guide
tdimitrov 50fdc93
Update runtime/parachains/src/configuration/migration.rs
tdimitrov 0a567eb
Code review feedback - update logs
tdimitrov ab5933b
Code review feedback: fix weights
tdimitrov 1989026
Update runtime/parachains/src/disputes.rs
tdimitrov 06f53bb
Additional logs in disputes migration
tdimitrov 0cd90da
Merge branch 'master' into tsv-runtime-spamslots
tdimitrov 91075dd
Fix merge conflicts
tdimitrov 8831582
Add version checks in try-runtime tests
tdimitrov b11ce8b
Fix a compilation warning`
tdimitrov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.