This repository has been archived by the owner on Nov 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Bound uses of Call
#11649
Merged
Merged
Bound uses of Call
#11649
Changes from 30 commits
Commits
Show all changes
112 commits
Select commit
Hold shift + click to select a range
40c2ba9
Introduce preimages module in traits
gavofyork 3cb8e01
Multisize Preimages
gavofyork 63ed95c
Len not actually necessary
gavofyork 0fd5714
Tweaks to the preimage API
gavofyork 1ef2d71
Fixes
gavofyork 8b4977c
Get Scheduler building with new API
gavofyork 357cc6a
Merge remote-tracking branch 'origin/master' into gav-no-stored-call
gavofyork 769e953
Scheduler tests pass
gavofyork 933e83a
Bounded Scheduler 🎉
gavofyork ba676a1
Use Agenda holes and introduce IncompleteSince to avoid need to resch…
gavofyork 631891c
Tests pass with new weight system
gavofyork 2d31ac8
New benchmarks
gavofyork 84f92fe
Merge remote-tracking branch 'origin/master' into gav-no-stored-call
gavofyork 0178600
Add missing file
gavofyork 9c48793
Merge branch 'gav-no-stored-call' of github.com:paritytech/substrate …
gavofyork 5d73773
Drop preimage when permenantly overeight
gavofyork 82ac0dc
Drop preimage when permenantly overeight
gavofyork ec4d8e1
Referenda uses latest preimage API
gavofyork b1a6835
Testing ok
gavofyork e10eae7
Adding tests
ggwpez 4f15361
fmt
ggwpez 1cbf473
Add preimage migration
ggwpez aab0ad1
Docs
gavofyork 79271bc
Merge branch 'gav-no-stored-call' of github.com:paritytech/substrate …
gavofyork 9bcc2ef
Remove dbg
gavofyork 6359cb0
Refactor Democracy
gavofyork dd50271
Refactor Democracy
gavofyork 48b795a
Add final MEL
gavofyork 484670f
Remove silly maps
gavofyork 0690846
Fixes
gavofyork 6780a75
Merge remote-tracking branch 'origin/master' into gav-no-stored-call
gavofyork 9572f81
Minor refactor
gavofyork b3e8d6e
Formatting
gavofyork db99f24
Fixes
gavofyork 9e1c25b
Fixes
gavofyork c542f7f
Fixes
gavofyork 0b8c496
Update frame/preimage/src/lib.rs
gavofyork 44a6b5f
Add migrations to Democracy
gavofyork 466e4a0
WIP
ggwpez a89cd0a
Resolve conflicts
ggwpez 8849049
Revert "Resolve conflicts"
ggwpez d349bc0
Merge master
ggwpez 785d9e6
Undo wrong resolves...
ggwpez 9728b78
WIP
ggwpez 32d7aa8
Make compile
ggwpez e488eca
massage clippy
ggwpez 63c8517
More clippy
ggwpez 20656ce
clippy annoyance
ggwpez 6c99921
clippy annoyance
ggwpez 11dfb6a
Fix benchmarks
ggwpez 4ac00b6
Merge remote-tracking branch 'origin/master' into gav-no-stored-call
ggwpez 3db7abf
add missing file
gavofyork f4d639e
Add missing file
gavofyork 7e0b347
Test <Preimage as QueryPreimage>
ggwpez cf86a1a
Merge remote-tracking branch 'origin/master' into gav-no-stored-call
ggwpez 2f41c0d
More tests
ggwpez 1c671c9
Clippy harassment
ggwpez 76da5fb
Add test
ggwpez 14ca132
Merge remote-tracking branch 'origin/master' into gav-no-stored-call
ggwpez 956e4cf
clippy
ggwpez ffde364
Fixup tests
ggwpez 870a9d5
Remove old stuff
ggwpez 5c1a253
fmt
ggwpez 3bcf6a1
Test <Scheduler as Anon> trait functions
ggwpez 957a45e
Update pallet-ui tests
ggwpez fd220e6
More scheduler trait test
ggwpez eb2ce75
More tests
ggwpez 763c86a
Merge remote-tracking branch 'origin/master' into gav-no-stored-call
ggwpez 713f685
Apply review suggestion
ggwpez f2a3792
Beauty fixes
ggwpez 25f624c
Add Scheduler test migration_v3_to_v4_works
ggwpez 1415583
Merge fixup
ggwpez d142086
Keep referenda benchmarks instantiatable
ggwpez 81013b9
Update weights
ggwpez 47d4759
Use new scheduler weight functions
ggwpez 3c42ca3
Use new democracy weight functions
ggwpez 2282050
Merge remote-tracking branch 'origin/master' into gav-no-stored-call
ggwpez ff9e860
Merge remote-tracking branch 'origin/master' into gav-no-stored-call
ggwpez 54ceffb
Use weight compare functions
ggwpez 9764d05
Update pallet-ui tests
ggwpez 531c334
Merge remote-tracking branch 'origin/master' into gav-no-stored-call
ggwpez bd84085
More renaming…
ggwpez 307e784
More renaming…
ggwpez a255822
Add comment
ggwpez 4005e94
Implement OnRuntimeUpgrade for scheduler::v3_to_v4 migration
ggwpez 93bb222
Clippy
ggwpez 87b5c25
Handle undecodable Agendas
ggwpez 2eaddda
Remove trash
ggwpez 121f8db
Merge remote-tracking branch 'origin/master' into gav-no-stored-call
ggwpez c6a64d5
Fix test
ggwpez 2532867
Use new OnRuntimeUpgrade functions
ggwpez 8445446
fix test
ggwpez 976f0c5
Merge remote-tracking branch 'origin/master' into gav-no-stored-call
29c56c4
Fix BoundedSlice::truncate_from
ggwpez 0e90699
Fix pre_upgrade hook return values
ggwpez a31a134
Add more error logging
ggwpez c8df546
Find too large preimages in the pre_upgrade hook
ggwpez 9af2704
Test that too large Calls in agendas are ignored
ggwpez 298b05b
Use new OnRuntimeUpgrade hooks
ggwpez 8b177a2
works fine - just more logs
ggwpez e236364
Fix staking migration
ggwpez 03e1dea
Merge remote-tracking branch 'origin/master' into gav-no-stored-call
af9c6c0
Merge remote-tracking branch 'origin/master' into gav-no-stored-call
ggwpez 9ff37ef
Fix UI tests
ggwpez 13c6993
Remove multisig's Calls (#12072)
gavofyork f3598ac
Fix test
ggwpez c600414
Fix multisig benchmarks
ggwpez 12cedf1
Merge branch 'master' of https://github.com/paritytech/substrate into…
1e02f7d
".git/.scripts/bench-bot.sh" pallet dev pallet_democracy
3ab1ecf
Merge branch 'master' of https://github.com/paritytech/substrate into…
b53d4b3
".git/.scripts/bench-bot.sh" pallet dev pallet_scheduler
8d66549
".git/.scripts/bench-bot.sh" pallet dev pallet_preimage
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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 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 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we map error and then unwrap?