diff --git a/Cargo.lock b/Cargo.lock index a5c6703e..ca95a0a5 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1138,21 +1138,6 @@ dependencies = [ "memchr", ] -[[package]] -name = "cozy-chess" -version = "0.3.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f0aa2dcdbe66b10019af0f81ee4f404ca12c1d24e56f47e7f2588954f8bfa306" -dependencies = [ - "cozy-chess-types", -] - -[[package]] -name = "cozy-chess-types" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f4a557c6659b8705d301732f473c9a61659c740ffda3e3485e79d1d4b7a1e12" - [[package]] name = "cpp_demangle" version = "0.3.5" @@ -5647,26 +5632,6 @@ dependencies = [ "sp-std", ] -[[package]] -name = "pallet-chess" -version = "4.0.0-dev" -source = "git+https://github.com/SubstrateChess/pallet-chess.git?branch=polkadot-v0.9.37#ebd727358e5ec87747d7b02adea0ea78b2c5e77f" -dependencies = [ - "cozy-chess", - "frame-benchmarking", - "frame-support", - "frame-system", - "log", - "pallet-assets", - "pallet-balances", - "parity-scale-codec", - "scale-info", - "sp-core", - "sp-io", - "sp-runtime", - "sp-std", -] - [[package]] name = "pallet-child-bounties" version = "4.0.0-dev" @@ -12225,7 +12190,6 @@ dependencies = [ "pallet-aura", "pallet-authorship", "pallet-balances", - "pallet-chess", "pallet-collator-selection", "pallet-collective", "pallet-contracts", diff --git a/Cargo.toml b/Cargo.toml index f4b58d86..f434254b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,7 +48,6 @@ jsonrpsee = { version = "0.16.2" } pallet-dex-rpc = { version = "0.0.1", git = "https://github.com/paritytech/substrate-dex.git", default-features = false, branch = "polkadot-v0.9.37" } pallet-dex = { version = "0.0.1", git = "https://github.com/paritytech/substrate-dex.git", default-features = false, branch = "polkadot-v0.9.37" } pallet-dex-rpc-runtime-api = { version = "0.0.1", git = "https://github.com/paritytech/substrate-dex.git", default-features = false, branch = "polkadot-v0.9.37" } -pallet-chess = { git = "https://github.com/SubstrateChess/pallet-chess.git", default-features = false, branch = "polkadot-v0.9.37" } # Trappist Pallets pallet-asset-registry = { default-features = false, path = "pallets/asset-registry" } diff --git a/runtime/trappist/Cargo.toml b/runtime/trappist/Cargo.toml index d833adce..9db7638e 100644 --- a/runtime/trappist/Cargo.toml +++ b/runtime/trappist/Cargo.toml @@ -99,7 +99,6 @@ pallet-xcm-benchmarks = { workspace = true, optional = true } # External Pallets pallet-dex = { workspace = true } pallet-dex-rpc-runtime-api = { workspace = true } -pallet-chess = { workspace = true } # Trappist Pallets pallet-asset-registry = {workspace = true } @@ -134,7 +133,6 @@ std = [ "pallet-aura/std", "pallet-authorship/std", "pallet-balances/std", - "pallet-chess/std", "pallet-collator-selection/std", "pallet-collective/std", "pallet-contracts/std", diff --git a/runtime/trappist/src/impls.rs b/runtime/trappist/src/impls.rs index c607e521..b6a98bca 100644 --- a/runtime/trappist/src/impls.rs +++ b/runtime/trappist/src/impls.rs @@ -82,7 +82,6 @@ impl Contains for RuntimeBlackListedCalls { RuntimeCall::Dex(_) => false, RuntimeCall::PolkadotXcm(_) => false, RuntimeCall::Treasury(_) => false, - RuntimeCall::Chess(_) => false, RuntimeCall::Contracts(_) => false, RuntimeCall::Uniques(_) => false, RuntimeCall::AssetRegistry(_) => false, diff --git a/runtime/trappist/src/lib.rs b/runtime/trappist/src/lib.rs index c41e8c6f..93353a2a 100644 --- a/runtime/trappist/src/lib.rs +++ b/runtime/trappist/src/lib.rs @@ -587,24 +587,6 @@ impl pallet_asset_registry::Config for Runtime { type BenchmarkHelper = AssetRegistryBenchmarkHelper; } -parameter_types! { - pub const ChessPalletId: PalletId = PalletId(*b"subchess"); - pub const IncentiveShare: u8 = 10; // janitor gets 10% of the prize -} - -impl pallet_chess::Config for Runtime { - type PalletId = ChessPalletId; - type RuntimeEvent = RuntimeEvent; - type WeightInfo = pallet_chess::weights::SubstrateWeight; - type Assets = Assets; - type AssetBalance = u128; - type BulletPeriod = ConstU32<{ 1 * MINUTES }>; // ~1 minute - type BlitzPeriod = ConstU32<{ 5 * MINUTES }>; // ~5 minutes - type RapidPeriod = ConstU32<{ 15 * MINUTES }>; // ~15 minutes - type DailyPeriod = ConstU32<{ 25 * HOURS }>; // ~24 hours - type IncentiveShare = IncentiveShare; -} - type TreasuryApproveCancelOrigin = EitherOfDiverse< EnsureRoot, pallet_collective::EnsureProportionAtLeast, @@ -715,8 +697,6 @@ construct_runtime!( Dex: pallet_dex::{Pallet, Call, Storage, Event} = 110, AssetRegistry: pallet_asset_registry::{Pallet, Call, Storage, Event} = 111, - // Chess - Chess: pallet_chess::{Pallet, Call, Storage, Event} = 120, } );