Skip to content

Commit

Permalink
migration: remove claims pallet (#1707)
Browse files Browse the repository at this point in the history
* chore: remove claims pallet from centrifuge runtime

* chore: remove claims pallet from dev runtime

* chore: remove claims pallet entirely

* chore: apply suggestions from review
  • Loading branch information
wischli authored Feb 2, 2024
1 parent 146d9d2 commit cc612a2
Show file tree
Hide file tree
Showing 21 changed files with 89 additions and 1,225 deletions.
22 changes: 0 additions & 22 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ members = [
"pallets/anchors",
"pallets/bridge",
"pallets/block-rewards",
"pallets/claims",
"pallets/collator-allowlist",
"pallets/crowdloan-claim",
"pallets/crowdloan-reward",
Expand Down Expand Up @@ -253,7 +252,6 @@ liquidity-pools-gateway-routers = { path = "pallets/liquidity-pools-gateway/rout
pallet-anchors = { path = "pallets/anchors", default-features = false }
pallet-block-rewards = { path = "pallets/block-rewards", default-features = false }
pallet-bridge = { path = "pallets/bridge", default-features = false }
pallet-claims = { path = "pallets/claims", default-features = false }
pallet-collator-allowlist = { path = "pallets/collator-allowlist", default-features = false }
pallet-crowdloan-claim = { path = "pallets/crowdloan-claim", default-features = false }
pallet-crowdloan-reward = { path = "pallets/crowdloan-reward", default-features = false }
Expand Down
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ On top of the [Substrate FRAME](https://docs.substrate.io/reference/frame-pallet

- [**bridge**](https://github.com/centrifuge/centrifuge-chain/tree/main/pallets/bridge) ([docs](https://reference.centrifuge.io/pallet_bridge/index.html)): Connecting [ChainBridge](https://github.com/centrifuge/chainbridge-substrate) to transfer tokens to and from Ethereum.

- [**claims**](https://github.com/centrifuge/centrifuge-chain/tree/main/pallets/claims) ([docs](https://reference.centrifuge.io/pallet_claims/index.html)): Processing claims of liquidity rewards acquired through Tinlake investments.

- [**collator-allowlist**](https://github.com/centrifuge/centrifuge-chain/tree/main/pallets/collator-allowlist) ([docs](https://reference.centrifuge.io/pallet_collator_allowlist/index.html)): Tracking active collators, and allows the root account to manage this list.

- [**crowdloan-claim**](https://github.com/centrifuge/centrifuge-chain/tree/main/pallets/crowdloan-claim) ([docs](https://reference.centrifuge.io/pallet_crowdloan_claim/index.html)): Claiming user rewards for their crowdloan funding support.
Expand Down
1 change: 0 additions & 1 deletion libs/types/src/ids.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ impl<InvestmentId> TypeId for InvestmentAccount<InvestmentId> {
// Pallet-Ids that define pallets accounts
pub const POOLS_PALLET_ID: PalletId = PalletId(*b"roc/pool");
pub const CHAIN_BRIDGE_PALLET_ID: PalletId = PalletId(*b"chnbrdge");
pub const CLAIMS_PALLET_ID: PalletId = PalletId(*b"p/claims");
pub const CROWDLOAN_REWARD_PALLET_ID: PalletId = PalletId(*b"cc/rewrd");
pub const CROWDLOAN_CLAIM_PALLET_ID: PalletId = PalletId(*b"cc/claim");
pub const TREASURY_PALLET_ID: PalletId = PalletId(*b"py/trsry");
Expand Down
57 changes: 0 additions & 57 deletions pallets/claims/Cargo.toml

This file was deleted.

92 changes: 0 additions & 92 deletions pallets/claims/README.md

This file was deleted.

Loading

0 comments on commit cc612a2

Please sign in to comment.