Skip to content

Commit 65701dc

Browse files
authored
fix: remove left overs from crowdloan pallet (#308)
* fix: remove left overs from crowdloan pallet * Version 1.3.1 * remove old migration
1 parent 085e11f commit 65701dc

File tree

28 files changed

+49
-439
lines changed

28 files changed

+49
-439
lines changed

Cargo.lock

+15-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

nodes/parachain/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build = "build.rs"
44
description = "KILT parachain"
55
edition = "2018"
66
name = "kilt-parachain"
7-
version = "1.3.0"
7+
version = "1.3.1"
88

99
[[bin]]
1010
name = "kilt-parachain"

nodes/parachain/src/chain_spec/peregrine.rs

+3-6
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ use kilt_primitives::{
2525
AccountId, AuthorityId, Balance, BlockNumber,
2626
};
2727
use peregrine_runtime::{
28-
BalancesConfig, CouncilConfig, CrowdloanContributorsConfig, GenesisConfig, InflationInfo, KiltLaunchConfig,
29-
MinCollatorStake, ParachainInfoConfig, ParachainStakingConfig, SessionConfig, SudoConfig, SystemConfig,
30-
TechnicalCommitteeConfig, VestingConfig, WASM_BINARY,
28+
BalancesConfig, CouncilConfig, GenesisConfig, InflationInfo, KiltLaunchConfig, MinCollatorStake,
29+
ParachainInfoConfig, ParachainStakingConfig, SessionConfig, SudoConfig, SystemConfig, TechnicalCommitteeConfig,
30+
VestingConfig, WASM_BINARY,
3131
};
3232
use sc_service::ChainType;
3333
use sp_core::{crypto::UncheckedInto, sr25519};
@@ -200,9 +200,6 @@ fn testnet_genesis(
200200
.chain(botlabs_accounts.iter().cloned().map(|(who, total, _, _)| (who, total)))
201201
.collect(),
202202
},
203-
crowdloan_contributors: CrowdloanContributorsConfig {
204-
registrar_account: TRANSFER_ACCOUNT.into(),
205-
},
206203
sudo: SudoConfig { key: root_key },
207204
parachain_info: ParachainInfoConfig { parachain_id: id },
208205
kilt_launch: KiltLaunchConfig {

nodes/parachain/src/chain_spec/spiritnet.rs

+3-6
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ use sc_telemetry::TelemetryEndpoints;
2929
use sp_core::{crypto::UncheckedInto, sr25519};
3030
use sp_runtime::traits::Zero;
3131
use spiritnet_runtime::{
32-
BalancesConfig, CouncilConfig, CrowdloanContributorsConfig, GenesisConfig, InflationInfo, KiltLaunchConfig,
33-
MinCollatorStake, ParachainInfoConfig, ParachainStakingConfig, SessionConfig, SystemConfig,
34-
TechnicalCommitteeConfig, VestingConfig, WASM_BINARY,
32+
BalancesConfig, CouncilConfig, GenesisConfig, InflationInfo, KiltLaunchConfig, MinCollatorStake,
33+
ParachainInfoConfig, ParachainStakingConfig, SessionConfig, SystemConfig, TechnicalCommitteeConfig, VestingConfig,
34+
WASM_BINARY,
3535
};
3636

3737
use crate::chain_spec::{get_account_id_from_seed, get_from_seed, TELEMETRY_URL};
@@ -229,9 +229,6 @@ fn testnet_genesis(
229229
.chain(owned_accounts.iter().cloned().map(|(who, total, _, _)| (who, total)))
230230
.collect(),
231231
},
232-
crowdloan_contributors: CrowdloanContributorsConfig {
233-
registrar_account: transfer_account.clone(),
234-
},
235232
parachain_info: ParachainInfoConfig { parachain_id: id },
236233
kilt_launch: KiltLaunchConfig {
237234
vesting: claimable_accounts

nodes/standalone/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ authors = ["KILT <info@kilt.io>"]
33
build = "build.rs"
44
edition = "2018"
55
name = "mashnet-node"
6-
version = "1.3.0"
6+
version = "1.3.1"
77

88
[[bin]]
99
name = "mashnet-node"

nodes/standalone/src/chain_spec.rs

+2-5
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
2121
use kilt_primitives::{constants::BLOCKS_PER_YEAR, AccountId, AccountPublic, Balance, BlockNumber};
2222
use mashnet_node_runtime::{
23-
BalancesConfig, CrowdloanContributorsConfig, GenesisConfig, KiltLaunchConfig, SessionConfig, SudoConfig,
24-
SystemConfig, VestingConfig, WASM_BINARY,
23+
BalancesConfig, GenesisConfig, KiltLaunchConfig, SessionConfig, SudoConfig, SystemConfig, VestingConfig,
24+
WASM_BINARY,
2525
};
2626

2727
use hex_literal::hex;
@@ -264,9 +264,6 @@ fn testnet_genesis(
264264
.collect(),
265265
transfer_account: TRANSFER_ACCOUNT.into(),
266266
},
267-
crowdloan_contributors: CrowdloanContributorsConfig {
268-
registrar_account: TRANSFER_ACCOUNT.into(),
269-
},
270267
vesting: VestingConfig { vesting: vec![] },
271268
}
272269
}

pallets/attestation/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Enables adding and revoking attestations."
44
edition = "2018"
55
name = "attestation"
66
repository = "https://github.com/KILTprotocol/mashnet-node"
7-
version = "1.3.0"
7+
version = "1.3.1"
88

99
[package.metadata.docs.rs]
1010
targets = ["x86_64-unknown-linux-gnu"]

pallets/crowdloan/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Substrate pallet allowing to register crowdloan contributors."
44
edition = "2018"
55
name = "crowdloan"
66
repository = "https://github.com/KILTprotocol/mashnet-node"
7-
version = "1.3.0"
7+
version = "1.3.1"
88

99
[package.metadata.docs.rs]
1010
targets = ["x86_64-unknown-linux-gnu"]

pallets/ctype/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Enables adding CTypes."
44
edition = "2018"
55
name = "ctype"
66
repository = "https://github.com/KILTprotocol/mashnet-node"
7-
version = "1.3.0"
7+
version = "1.3.1"
88

99
[package.metadata.docs.rs]
1010
targets = ["x86_64-unknown-linux-gnu"]

pallets/delegation/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Enables creating and revoking root nodes of delegation hierarchie
44
edition = "2018"
55
name = "delegation"
66
repository = "https://github.com/KILTprotocol/mashnet-node"
7-
version = "1.3.0"
7+
version = "1.3.1"
88

99
[package.metadata.docs.rs]
1010
targets = ["x86_64-unknown-linux-gnu"]

pallets/did/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Enables adding and removing decentralized identifiers (DIDs)."
44
edition = "2018"
55
name = "did"
66
repository = "https://github.com/KILTprotocol/mashnet-node"
7-
version = "1.3.0"
7+
version = "1.3.1"
88

99
[package.metadata.docs.rs]
1010
targets = ["x86_64-unknown-linux-gnu"]

pallets/kilt-launch/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Enables automatic unlocking of balance from genesis block"
44
edition = "2018"
55
name = "kilt-launch"
66
repository = "https://github.com/KILTprotocol/mashnet-node"
7-
version = "1.3.0"
7+
version = "1.3.1"
88

99
[package.metadata.docs.rs]
1010
targets = ["x86_64-unknown-linux-gnu"]

pallets/pallet-did-lookup/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Lookup the DID for a blockchain account."
44
edition = "2018"
55
name = "pallet-did-lookup"
66
repository = "https://github.com/KILTprotocol/mashnet-node"
7-
version = "1.3.0"
7+
version = "1.3.1"
88

99
[package.metadata.docs.rs]
1010
targets = ["x86_64-unknown-linux-gnu"]

pallets/pallet-inflation/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = "Substrate pallet issueing a pre-configured amount of tokens to th
44
edition = "2018"
55
name = "pallet-inflation"
66
repository = "https://github.com/KILTprotocol/mashnet-node"
7-
version = "1.3.0"
7+
version = "1.3.1"
88

99
[package.metadata.docs.rs]
1010
targets = ["x86_64-unknown-linux-gnu"]

pallets/parachain-staking/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ authors = ["KILT <info@kilt.io>"]
33
description = "Parachain parachain-staking pallet for collator delegation and selection as well as reward distribution"
44
edition = "2018"
55
name = "parachain-staking"
6-
version = "1.3.0"
6+
version = "1.3.1"
77

88
[dependencies]
99
hex-literal = "0.2.1"

runtimes/peregrine/Cargo.toml

+1-5
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
authors = ["KILT <info@kilt.io>"]
33
edition = "2018"
44
name = "peregrine-runtime"
5-
version = "1.3.0"
5+
version = "1.3.1"
66

77
[dependencies]
88
codec = {package = "parity-scale-codec", version = "2.3.1", default-features = false, features = ["derive"]}
@@ -19,7 +19,6 @@ pallet-transaction-payment-rpc-runtime-api = {git = "https://github.com/parityte
1919

2020
# KILT pallets & primitives
2121
attestation = {default-features = false, path = "../../pallets/attestation"}
22-
crowdloan = {path = "../../pallets/crowdloan", default-features = false}
2322
ctype = {default-features = false, path = "../../pallets/ctype"}
2423
delegation = {default-features = false, path = "../../pallets/delegation"}
2524
did = {default-features = false, path = "../../pallets/did"}
@@ -96,7 +95,6 @@ default = ["std"]
9695
fast-gov = ["kilt-primitives/fast-gov"]
9796
runtime-benchmarks = [
9897
"attestation/runtime-benchmarks",
99-
"crowdloan/runtime-benchmarks",
10098
"ctype/runtime-benchmarks",
10199
"cumulus-pallet-session-benchmarking",
102100
"cumulus-pallet-session-benchmarking/runtime-benchmarks",
@@ -129,7 +127,6 @@ runtime-benchmarks = [
129127
std = [
130128
"attestation/std",
131129
"codec/std",
132-
"crowdloan/std",
133130
"ctype/std",
134131
"cumulus-pallet-aura-ext/std",
135132
"cumulus-pallet-parachain-system/std",
@@ -191,7 +188,6 @@ std = [
191188
]
192189
try-runtime = [
193190
"attestation/try-runtime",
194-
"crowdloan/try-runtime",
195191
"ctype/try-runtime",
196192
"delegation/try-runtime",
197193
"did/try-runtime",

0 commit comments

Comments
 (0)