Open
Description
- Do we want to add crowdloan-rewards from Moonbeam? See this draft PR feat: Add CrowdloanRewards pallet #18 but wasn't able to resolve errors when trying to incorporate, so created an issue at the link provided in the description, and Moonbeam responded and changed it so we can use their branch 'polkadot-v0.9.17', as mentioned here Errors trying to integrate into another parachain moonbeam-foundation/crowdloan-rewards#52 (comment)
Alternatively we could just use this script to find out the list of contributors https://github.com/Phala-Network/phala-blockchain/blob/master/scripts/js/src/dumpCrowdloan.js - Do we want to add delegated proof of stake using Moonbeam's parachain-staking pallet instead of collator-selection or pallet-staking pallets. See:
- https://moonbeam.network/announcements/moonbeam-collators-announcement/
- https://purestake.github.io/moonbeam/parachain_staking/index.html
It seems that parachain_staking also allows for a list of "delegators" to delegate funds to the collators, whereas collator_selection doesn't appear to include that feature. but parachain_staking only allows list of collators, but doesn't allow list of invulnerables like collator_selection does. and it isn't clear how to integrate parachain_staking instead of collator_selection into pallet_session as shown below:
impl pallet_session::Config for Runtime {
...
type ValidatorIdOf = pallet_collator_selection::IdentityCollator;
...
type SessionManager = CollatorSelection;
I tried to replace collator-selection with Moonbeam's parachain-staking pallet (since apparently it's more decentralized, and collator-selection allows for delegations), but couldn't get it to work at first attempt. other teams like Kilt, Mangata Finance, and Zeitgeist are using it, so we need to have a look at their codebases to see how they incorporated it.
Metadata
Metadata
Assignees
Labels
No labels