Skip to content

Upgrade to 2022-11 and disable unused pallets#30

Merged
henrikdent merged 7 commits intodevelopfrom
feature/disable-pallets-nov
Dec 5, 2022
Merged

Upgrade to 2022-11 and disable unused pallets#30
henrikdent merged 7 commits intodevelopfrom
feature/disable-pallets-nov

Conversation

@henrikdent
Copy link
Contributor

Disables:

  • democracy + elections
  • technical membership (not related to committee)
  • gilt
  • society
  • recovery
  • bounties + child bounties
  • tips
  • lottery
  • mmr (merkle-mountain-range)

The node rpc has a dependency on the mmr rpc so there is a replacement mock that just throws errors now. We could fork the node rpc and remove the dependency but it pulls in a lot of code in our tree that we need to maintain, so I think it's easier to keep the mock if/until we want to enable mmr again (it's currently noted as "This pallet is experimental and not proven to work in production").

@henrikdent henrikdent marked this pull request as ready for review November 14, 2022 07:35
@henrikdent
Copy link
Contributor Author

Also removed dependencies of the removed pallet (final wasm shrunk 25%).

Note bene that the contracts RPC has been removed, should be called via state_call RPC instead (according to substrate PR #12358)

@henrikdent henrikdent changed the base branch from feature/monthly-2022-11 to develop November 14, 2022 11:58
@henrikdent henrikdent changed the title Disable "unused" pallets Upgrade to 2022-11 and disable unused pallets Nov 14, 2022
@henrikdent henrikdent force-pushed the feature/disable-pallets-nov branch from d15cadf to 0302081 Compare November 14, 2022 11:59
@henrikdent henrikdent merged commit a2c8c21 into develop Dec 5, 2022
@henrikdent henrikdent deleted the feature/disable-pallets-nov branch February 20, 2024 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants