Skip to content
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

Remove nft, nft-sales & migration pallets #1730

Merged
merged 3 commits into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 0 additions & 81 deletions Cargo.lock

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

6 changes: 0 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ members = [
"pallets/liquidity-pools-gateway/routers",
"pallets/liquidity-rewards",
"pallets/loans",
"pallets/migration",
"pallets/nft",
"pallets/nft-sales",
"pallets/oracle-feed",
"pallets/oracle-collection",
"pallets/order-book",
Expand Down Expand Up @@ -273,9 +270,6 @@ pallet-liquidity-pools = { path = "pallets/liquidity-pools", default-features =
pallet-liquidity-pools-gateway = { path = "pallets/liquidity-pools-gateway", default-features = false }
pallet-liquidity-rewards = { path = "pallets/liquidity-rewards", default-features = false }
pallet-loans = { path = "pallets/loans", default-features = false }
pallet-migration-manager = { path = "pallets/migration", default-features = false }
pallet-nft = { path = "pallets/nft", default-features = false }
pallet-nft-sales = { path = "pallets/nft-sales", default-features = false }
pallet-oracle-feed = { path = "pallets/oracle-feed", default-features = false }
pallet-oracle-collection = { path = "pallets/oracle-collection", default-features = false }
pallet-order-book = { path = "pallets/order-book", default-features = false }
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 @@ -31,7 +31,6 @@ pub const CHAIN_BRIDGE_PALLET_ID: PalletId = PalletId(*b"chnbrdge");
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");
pub const NFT_SALES_PALLET_ID: PalletId = PalletId(*b"pal/nfts");
pub const STAKE_POT_PALLET_ID: PalletId = PalletId(*b"PotStake");
pub const BLOCK_REWARDS_PALLET_ID: PalletId = PalletId(*b"cfg/blrw");
pub const LIQUIDITY_REWARDS_PALLET_ID: PalletId = PalletId(*b"cfg/lqrw");
Expand Down
37 changes: 18 additions & 19 deletions pallets/liquidity-pools-gateway/routers/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ targets = ["x86_64-unknown-linux-gnu"]
[dependencies]
frame-support = { workspace = true }
frame-system = { workspace = true }
hex = { version = "0.4.3", default-features = false }
hex = { workspace = true }
parity-scale-codec = { workspace = true }
scale-info = { workspace = true }
sp-std = { workspace = true }
Expand All @@ -28,39 +28,38 @@ xcm = { workspace = true }
xcm-primitives = { workspace = true }

# EVM
ethabi = { version = "16.0", default-features = false }
ethabi = { workspace = true }
pallet-ethereum = { workspace = true }
pallet-evm = { workspace = true }

# Custom crates
cfg-traits = { path = "../../../libs/traits", default-features = false }
cfg-types = { path = "../../../libs/types", default-features = false }
cfg-traits = { workspace = true }
cfg-types = { workspace = true }

# Local pallets
pallet-ethereum-transaction = { path = "../../ethereum-transaction", default-features = false }
pallet-liquidity-pools-gateway = { path = "../.", default-features = false }
pallet-ethereum-transaction = { workspace = true }
pallet-liquidity-pools-gateway = { workspace = true }

[dev-dependencies]
lazy_static = "1.4.0"
lazy_static = { workspace = true }

cumulus-primitives-core = { workspace = true }
cumulus-primitives-core = { workspace = true, default-features = true }

xcm-builder = { workspace = true }
xcm-executor = { workspace = true }
xcm-builder = { workspace = true, default-features = true }
xcm-executor = { workspace = true, default-features = true }

pallet-evm-chain-id = { workspace = true }
pallet-evm-precompile-simple = { workspace = true }
pallet-evm-chain-id = { workspace = true, default-features = true }
pallet-evm-precompile-simple = { workspace = true, default-features = true }
pallet-timestamp = { workspace = true, default-features = true }

sp-core = { workspace = true }
sp-io = { workspace = true }
sp-core = { workspace = true, default-features = true }
sp-io = { workspace = true, default-features = true }

# TODO(william): Used to be "https://github.com/moonbeam-foundation/open-runtime-module-library", branch = "moonbeam-polkadot-v0.9.43"
orml-traits = { workspace = true }
orml-traits = { workspace = true, default-features = true }

cfg-mocks = { path = "../../../libs/mocks" }
cfg-primitives = { path = "../../../libs/primitives" }
pallet-balances = { workspace = true }
cfg-mocks = { workspace = true, default-features = true }
cfg-primitives = { workspace = true, default-features = true }
pallet-balances = { workspace = true, default-features = true }

[features]
default = ["std"]
Expand Down
66 changes: 0 additions & 66 deletions pallets/migration/Cargo.toml

This file was deleted.

Loading
Loading