Skip to content

Commit

Permalink
Drop crowdloan pallet (fix runtime version section)
Browse files Browse the repository at this point in the history
  • Loading branch information
akru committed Nov 19, 2022
1 parent 673dc41 commit 8412083
Show file tree
Hide file tree
Showing 10 changed files with 34 additions and 143 deletions.
133 changes: 25 additions & 108 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion bin/node/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "robonomics-node"
version = "2.5.0"
version = "2.6.0"
authors = ["Airalab <[email protected]>"]
description = "Robonomics node implementation in Rust & Substrate."
edition = "2021"
Expand Down
2 changes: 1 addition & 1 deletion rpc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "robonomics-rpc"
version = "2.5.0"
version = "2.6.0"
authors = ["Airalab <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
Expand Down
6 changes: 1 addition & 5 deletions runtime/alpha/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "alpha-runtime"
version = "2.5.0"
version = "2.6.0"
authors = ["Airalab <[email protected]>"]
edition = "2021"
build = "build.rs"
Expand Down Expand Up @@ -47,7 +47,6 @@ pallet-transaction-payment = { git = "https://github.com/paritytech/substrate",
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.28", default-features = false }

# robonomics dependencies
pallet-robonomics-crowdloan = { path = "../../frame/crowdloan", default-features = false }
pallet-robonomics-rws = { path = "../../frame/rws", default-features = false }
pallet-robonomics-launch = { path = "../../frame/launch", default-features = false }
pallet-robonomics-datalog = { path = "../../frame/datalog", default-features = false }
Expand All @@ -72,7 +71,6 @@ xcm-executor = { git = "https://github.com/paritytech/polkadot", default-feature
pallet-xcm = { path = "../../vendor/pallet-xcm", default-features = false }
polkadot-parachain = { git = "https://github.com/paritytech/polkadot", default-features = false, branch = "release-v0.9.28" }
polkadot-primitives = { git = 'https://github.com/paritytech/polkadot', default-features = false, branch = "release-v0.9.28" }
rococo-runtime = { git = 'https://github.com/paritytech/polkadot', default-features = false, branch = "release-v0.9.28" }

[build-dependencies]
substrate-wasm-builder = { git = "https://github.com/paritytech/substrate", branch = "polkadot-v0.9.28" }
Expand Down Expand Up @@ -108,7 +106,6 @@ std = [
"pallet-timestamp/std",
"pallet-transaction-payment/std",
"pallet-transaction-payment-rpc-runtime-api/std",
"pallet-robonomics-crowdloan/std",
"pallet-robonomics-rws/std",
"pallet-robonomics-launch/std",
"pallet-robonomics-datalog/std",
Expand All @@ -129,6 +126,5 @@ std = [
"pallet-xcm/std",
"polkadot-parachain/std",
"polkadot-primitives/std",
"rococo-runtime/std",
"scale-info/std",
]
11 changes: 1 addition & 10 deletions runtime/alpha/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("robonomics-alpha"),
impl_name: create_runtime_str!("robonomics-airalab"),
authoring_version: 1,
spec_version: 9,
spec_version: 11,
impl_version: 0,
apis: RUNTIME_API_VERSIONS,
transaction_version: 1,
Expand Down Expand Up @@ -355,14 +355,6 @@ impl cumulus_pallet_parachain_system::Config for Runtime {
type CheckAssociatedRelayNumber = cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases;
}

impl pallet_robonomics_crowdloan::Config for Runtime {
type ParachainId = ParachainInfo;
type XcmRouter = xcm_config::XcmRouter;
type RelayRuntime = rococo_runtime::Runtime;
type RelayCall = rococo_runtime::Call;
type Event = Event;
}

parameter_types! {
pub const WindowSize: u64 = 128;
pub const MaximumMessageSize: usize = 512;
Expand Down Expand Up @@ -472,7 +464,6 @@ construct_runtime! {
TransactionPayment: pallet_transaction_payment,

// Robonomics Network pallets.
Crowdloan: pallet_robonomics_crowdloan,
Datalog: pallet_robonomics_datalog,
Launch: pallet_robonomics_launch,
RWS: pallet_robonomics_rws,
Expand Down
2 changes: 1 addition & 1 deletion runtime/ipci/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ipci-runtime"
version = "2.5.0"
version = "2.6.0"
authors = ["Airalab <[email protected]>"]
edition = "2021"
build = "build.rs"
Expand Down
2 changes: 1 addition & 1 deletion runtime/local/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "local-runtime"
version = "2.5.0"
version = "2.6.0"
authors = ["Airalab <[email protected]>"]
edition = "2021"
build = "build.rs"
Expand Down
Loading

0 comments on commit 8412083

Please sign in to comment.