-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Multi-Block-Migrations, poll hook and new System callbacks
#1781
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
Merged
Merged
Changes from 101 commits
Commits
Show all changes
136 commits
Select commit
Hold shift + click to select a range
7b74965
Import #14414
ggwpez 5ca965e
Fixup tests
ggwpez 2a5d351
Fix tests
ggwpez debede3
Make shit compile
ggwpez f27091b
Fix tests
ggwpez 2eb5095
Clippy
ggwpez c4a5b57
Fix
ggwpez ecef8df
Fix test
ggwpez d128cd8
Fix defensive behaviour
ggwpez 10c63ed
Fix
ggwpez 11ddb74
Apply suggestions from code review
ggwpez 1c80b7e
Add docs
ggwpez 73a403b
Add inherent_order
ggwpez b0872fc
Add inherent order trait stub
ggwpez 7c7f56e
Merge remote-tracking branch 'origin/master' into oty-after-inherents
ggwpez 91b965a
Check inhernet order
ggwpez 0090a14
Ensure inherents are ordered
ggwpez 0e813fc
Fix all inherent order stuff and test
ggwpez 821a327
Make stuff compile
ggwpez a251841
Add on_poll to pallets
ggwpez 4d69aa4
Call hooks
ggwpez b76709c
Call migrations
ggwpez 779a1b2
Remove unwrap
ggwpez 91ee7ff
Fix tests
ggwpez 03bd6d5
Update ui tests
ggwpez 22b8529
Review fixes
ggwpez ddd6b36
fmt
ggwpez c01da99
Merge remote-tracking branch 'origin/master' into oty-after-inherents
ggwpez a776dc9
fmt
ggwpez 6e20c6e
Update substrate/frame/executive/src/tests.rs
ggwpez b7d2d15
Update substrate/frame/support/src/migrations.rs
ggwpez 8c05371
Update substrate/frame/support/src/migrations.rs
ggwpez 4ba87c5
Apply suggestions from code review
ggwpez 7e97ec2
review fixes
ggwpez c0a8736
Fix compile
ggwpez c7d351b
Remove inherent ordering
ggwpez 8c286cc
Cleanup
ggwpez 74c5dad
Merge remote-tracking branch 'origin/master' into oty-after-inherents
ggwpez 445000d
fmt
ggwpez 76fb0f6
Check that pallet is configured
ggwpez fc8490d
Cleanup
ggwpez cabd815
Rename after_inherents to last_inherent
ggwpez aa9646d
Cleanup
ggwpez 0b80d25
Beauty fixes
ggwpez b751f86
Merge branch 'master' of https://github.com/paritytech/polkadot-sdk i…
6fe7ac4
".git/.scripts/commands/bench/bench.sh" --subcommand=pallet --runtime…
47f2509
Update substrate/frame/support/src/migrations.rs
ggwpez 888ed99
Update substrate/frame/support/src/traits/hooks.rs
ggwpez c892609
Update substrate/frame/support/src/traits/hooks.rs
ggwpez 990a350
Update substrate/frame/migrations/src/tests.rs
ggwpez ad68d88
Update substrate/frame/migrations/src/tests.rs
ggwpez 262c6af
Update substrate/frame/migrations/src/lib.rs
ggwpez 6f1d180
Use derive_impl
ggwpez e08c56f
Rename to TransactionForbidden
ggwpez 5d7a133
Review fixes
ggwpez 7d2a438
Update substrate/client/block-builder/src/lib.rs
ggwpez aa046d3
Finally remove last_inherent
ggwpez f6e2a27
Simplify code
ggwpez c3e21c4
Add more tests
ggwpez 32f8429
tests
ggwpez f42f7df
Merge branch 'master' into oty-after-inherents
ggwpez 20e931a
Fixup tests after merge
ggwpez f6e06a2
Update substrate/frame/migrations/src/lib.rs
ggwpez 9a402e1
Update substrate/frame/executive/src/lib.rs
ggwpez 492dbd0
Update substrate/frame/migrations/Cargo.toml
ggwpez 8fe5134
Update substrate/frame/support/src/migrations.rs
ggwpez afdd752
Apply suggestions from code review
ggwpez a2c2cca
Add docs
ggwpez 9f80434
Fixup runtimes
ggwpez ed0e8d5
Fix
ggwpez e325a56
Review fixes
ggwpez 900c6c5
fixes
ggwpez e9a8212
Remove MBMs engine from Executive
ggwpez d303294
Fix test
ggwpez 1ea9b15
Clippy
ggwpez da95824
Fix try_execute_block
ggwpez 6b68aea
Fix doctest
ggwpez b16dffe
Add fuse comment
ggwpez 2c26e25
Swap pre_inherents and note_finished_initialize
ggwpez cbb97be
Final fixes
ggwpez d166bfa
fix benchmarks
ggwpez b0e7d50
Merge remote-tracking branch 'origin/master' into oty-after-inherents
ggwpez b8df700
Add SafeMode adapter to handle failed migrations
ggwpez a947c93
Fix
ggwpez b45e28c
Merge remote-tracking branch 'origin/master' into oty-after-inherents
ggwpez 017b3ad
Dont reexport stuff
ggwpez cb3c710
Fmt
ggwpez 5d80401
Lockfile
ggwpez 1825aaa
Fix macro export
ggwpez a6bffb1
Merge remote-tracking branch 'origin/master' into oty-after-inherents
ggwpez 6b919df
Update lockfile
ggwpez b72ec2c
Fix
ggwpez 8dfdc16
Please build
ggwpez bc10038
Do proper benchmarking
ggwpez 0b643a0
Break loop early when out of weight
ggwpez fb63f08
Merge remote-tracking branch 'origin/master' into oty-after-inherents
ggwpez 66cb02e
format toml files
ggwpez b2594ec
Ignore target folder
ggwpez 03f1c71
fmt
ggwpez 8550cf7
Update lockfile
ggwpez e0b3874
Test set_code rejects during MBM
ggwpez a9d1474
Use default configs
ggwpez d973edc
Merge remote-tracking branch 'origin/master' into oty-after-inherents
ggwpez 9cea489
Fixup merge
ggwpez 66047af
Fix
ggwpez b79dc45
Merge remote-tracking branch 'origin/master' into oty-after-inherents
ggwpez b372868
fmt
ggwpez 642a83b
Remove unneeded config
ggwpez 32c382e
Clippy
ggwpez 4b8ad61
Add missing config items
ggwpez d279316
Fix mock configs
ggwpez 67479a6
Remove unused import
ggwpez d4330bd
Clippy
ggwpez cd1aa20
Fix mermaid execute block graph
ggwpez 5d37d68
Fix migration order
ggwpez 0fb1ac2
Review fixes
ggwpez 1aed440
Merge remote-tracking branch 'origin/master' into oty-after-inherents
ggwpez 3dffae1
Introduce IsInherent
ggwpez 4a99674
Add execution phases: ApplyInherent and AfterInherent
ggwpez 213c659
Add to workspace, thanks CI 🙈
ggwpez 2cfdb0d
Revert "Add execution phases: ApplyInherent and AfterInherent"
ggwpez d43a8bc
Merge remote-tracking branch 'origin/master' into oty-after-inherents
ggwpez 390cf21
Add docs
ggwpez 5a63c1f
Format TOML files
ggwpez cfd01a8
Update UI tests
ggwpez 853b3c0
Add prdoc
ggwpez afe900c
Merge remote-tracking branch 'origin/master' into oty-after-inherents
ggwpez 73957a2
Lockfile
ggwpez 071809c
Merge remote-tracking branch 'origin/master' into oty-after-inherents
ggwpez adf40a9
Re-generate zombienet chainspec - hope this helps
ggwpez e194efa
Lockfile
ggwpez af1393f
Use correct RA version
ggwpez 851b1e4
Revert "Re-generate zombienet chainspec - hope this helps"
ggwpez f8f5491
Merge remote-tracking branch 'origin/master' into oty-after-inherents
ggwpez bd79a2e
Lockfile
ggwpez 1e9e4e7
Merge branch 'master' into oty-after-inherents
ggwpez 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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.