-
Notifications
You must be signed in to change notification settings - Fork 378
Introduce Fellowship into Collectives #2186
Introduce Fellowship into Collectives #2186
Conversation
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.
The code looks sane. I think it'd be good to add some integration tests (either/both with Zombienet and XCM Simulator) to make sure this interacts with the Relay Chain in the way we want it to.
parachains/runtimes/collectives/collectives-polkadot/src/fellowship/mod.rs
Outdated
Show resolved
Hide resolved
parachains/runtimes/collectives/collectives-polkadot/src/fellowship/mod.rs
Outdated
Show resolved
Hide resolved
parachains/runtimes/collectives/collectives-polkadot/src/lib.rs
Outdated
Show resolved
Hide resolved
parachains/runtimes/collectives/collectives-polkadot/src/lib.rs
Outdated
Show resolved
Hide resolved
Yes, I am working on it (Zombienet option). |
Co-authored-by: joe petrowski <25483142+joepetrowski@users.noreply.github.com>
parachains/runtimes/collectives/collectives-polkadot/src/fellowship/origins.rs
Outdated
Show resolved
Hide resolved
parachains/runtimes/collectives/collectives-polkadot/src/fellowship/origins.rs
Outdated
Show resolved
Hide resolved
parachains/runtimes/collectives/collectives-polkadot/src/impls.rs
Outdated
Show resolved
Hide resolved
parachains/runtimes/collectives/collectives-polkadot/src/lib.rs
Outdated
Show resolved
Hide resolved
A few grumbles but looks ok otherwise. |
@bkontur this PR touches bridges' runtimes as well, please have a look. |
parachains/runtimes/collectives/collectives-polkadot/src/constants.rs
Outdated
Show resolved
Hide resolved
parachains/runtimes/collectives/collectives-polkadot/src/lib.rs
Outdated
Show resolved
Hide resolved
parachains/runtimes/collectives/collectives-polkadot/src/lib.rs
Outdated
Show resolved
Hide resolved
// We only allow the Fellows to send messages. | ||
type SendXcmOrigin = EnsureXcmOrigin<RuntimeOrigin, FellowsToPlurality>; |
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.
This will still allow Root to send messages though, right? Eventually we will need to relax this to allow the Alliance and other collectives to send certain messages.
* updated xcm configs for collectives and statemint * remove xcm send from safe filter * remove prod_or_fast * remove empty line * drop redundant aggregation
bot merge |
* master: Companion for #13624 (#2354) Introduce Fellowship into Collectives (#2186) NFTs 2.0 on Statemine (#2314) Bump assert_cmd from 2.0.8 to 2.0.10 (#2341) Bump clap from 4.1.8 to 4.1.11 (#2352) Companion for substrate #13312: Rename `Deterministic` to `Enforce` (#2350) [Companion #13634] keystore overhaul (iter) (#2345) Revert #2304 (#2349) Deprecate Currency: Companion for #12951 (#2334) Bump ci-linux image for rust 1.68 Always pass port to jsonrpsee WebSocket client (#2339) bump zombienet to v1.3.40 (#2348) Improve build times by disabling wasm-builder in `no_std` (#2308) Bump toml from 0.7.2 to 0.7.3 (#2340) Bump serde from 1.0.152 to 1.0.156 (#2329) Parachains should charge for proof size weight (#2326) dmp-queue: Store messages if already processed more than the maximum (#2343) [Companion #13615] Keystore overhaul (#2336) Bump quote from 1.0.23 to 1.0.26 (#2331)
This pull request has been mentioned on Polkadot Forum. There might be relevant details there: https://forum.polkadot.network/t/polkadot-release-analysis-v0-9-41-v0-9-42/2828/1 |
Introducing the Polkadot Fellowship into Collectives Parachain.
The Fellowship setup is same as in the initial version of paritytech/polkadot#6701, with additional aliases and constants for the readability.
Includes XCM configurations to send Fellows Origin over XCM and accept the FellowshipAdmin Origin from the Relay Chain.
Slashed Assets teleported to the Treasury.
Companion for paritytech/polkadot#6701