-
Notifications
You must be signed in to change notification settings - Fork 6
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
Integrate Treasury and Council Pallets with Enhanced Configuration and Benchmarking #716
Merged
Conversation
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
asiniscalchi
force-pushed
the
feature/add_treasury
branch
from
August 8, 2024 10:47
9e8f920
to
9d125d4
Compare
/describe |
github-actions
bot
changed the title
Feature/add treasury
Integrate and Configure Treasury Pallet in Runtime
Aug 8, 2024
PR Description updated to latest commit (8c7292b) |
magecnion
reviewed
Aug 28, 2024
This has to be merged after #723 |
Integrate and configure pallet_elections_phragmen in runtime
luispdm
approved these changes
Sep 2, 2024
magecnion
approved these changes
Sep 2, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
PR Type
Enhancement, Configuration changes
Description
RuntimeBlockWeights
andRuntimeBlockLength
.Changes walkthrough 📝
8 files
lib.rs
Update block weight and length configurations
primitives/src/lib.rs
MAXIMUM_BLOCK_WEIGHT
andNORMAL_DISPATCH_RATIO
constants.parachains_common
.BlockLength
andBlockWeights
toRuntimeBlockLength
andRuntimeBlockWeights
.apis.rs
Use RuntimeBlockWeights in runtime API
runtime/laos/src/apis.rs
RuntimeBlockWeights
instead ofBlockWeights
.lib.rs
Integrate Treasury and Council pallets into runtime
runtime/laos/src/lib.rs
migrations
module.Treasury
andCouncil
pallets into the runtime.migrations.rs
Add migrations module
runtime/laos/src/migrations.rs
mod.rs
Add weights for collective and treasury pallets
runtime/laos/src/weights/mod.rs
pallet_collective
andpallet_treasury
to weights.pallet_collective.rs
Add weights for pallet_collective
runtime/laos/src/weights/pallet_collective.rs
pallet_collective
.pallet_treasury.rs
Add weights for pallet_treasury
runtime/laos/src/weights/pallet_treasury.rs
pallet_treasury
.run_all_benchmarking.sh
Add development mode to benchmarking script
scripts/run_all_benchmarking.sh
1 files
benchmarks.rs
Include Treasury pallet in benchmarks
runtime/laos/src/benchmarks.rs
pallet_treasury
to benchmarks.5 files
collective_council.rs
Add collective council configuration
runtime/laos/src/configs/collective_council.rs
collective_council
.members.
mod.rs
Add collective council and treasury modules
runtime/laos/src/configs/mod.rs
collective_council
andtreasury
modules.system.rs
Update system configuration for block weights and length
runtime/laos/src/configs/system.rs
BlockWeights
andBlockLength
to useRuntimeBlockWeights
andRuntimeBlockLength
.treasury.rs
Add Treasury pallet configuration
runtime/laos/src/configs/treasury.rs
account.
xcm_message_queue.rs
Update XCM message queue configuration
runtime/laos/src/configs/xcm_message_queue.rs
RuntimeBlockWeights
instead ofBlockWeights
.1 files
Cargo.toml
Add dependencies for treasury and collective pallets
Cargo.toml
pallet-treasury
andpallet-collective
.