Skip to content

Commit

Permalink
cosmetics and copyright
Browse files Browse the repository at this point in the history
  • Loading branch information
brenzi committed Oct 27, 2023
1 parent 7660efe commit 425cae6
Show file tree
Hide file tree
Showing 3 changed files with 135 additions and 130 deletions.
259 changes: 132 additions & 127 deletions system-parachains/encointer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,20 @@ name = 'encointer-runtime'
# patch revision must match runtime spec_version
version = '1.5.16'
authors = ["Encointer <[email protected]>"]
license = "GPL-3.0"
edition = "2021"
description = "Runtime for Encointer Network (kusama system chain)"
homepage = "https://encointer.org"
repository = "https://github.com/polkadot-fellows/runtimes"
license = "GPL-3.0-or-later"

[dependencies]
codec = { package = "parity-scale-codec", version = "3.0.0", default-features = false, features = [
"derive",
"derive",
] }
hex-literal = { version = "0.4.1", optional = true }
log = { version = "0.4.20", default-features = false }
scale-info = { version = "2.9.0", default-features = false, features = [
"derive",
"derive",
] }

# encointer deps
Expand Down Expand Up @@ -74,143 +77,145 @@ xcm-builder = { package = "staging-xcm-builder", default-features = false, versi
xcm-executor = { package = "staging-xcm-executor", default-features = false, version = "2.0.0" }

# Cumulus dependencies
cumulus-pallet-aura-ext = { default-features = false , version = "0.2.0" }
cumulus-pallet-dmp-queue = { default-features = false , version = "0.2.0" }
cumulus-pallet-parachain-system = { default-features = false, features = ["parameterized-consensus-hook",] , version = "0.2.0" }
cumulus-pallet-xcm = { default-features = false , version = "0.2.0" }
cumulus-pallet-xcmp-queue = { default-features = false , version = "0.2.0" }
cumulus-primitives-core = { default-features = false , version = "0.2.0" }
cumulus-primitives-timestamp = { default-features = false , version = "0.2.0" }
cumulus-primitives-utility = { default-features = false , version = "0.2.0" }
parachain-info = { package = "staging-parachain-info", default-features = false , version = "0.2.0" }
parachains-common = { default-features = false , version = "2.0.0" }
cumulus-pallet-aura-ext = { default-features = false, version = "0.2.0" }
cumulus-pallet-dmp-queue = { default-features = false, version = "0.2.0" }
cumulus-pallet-parachain-system = { default-features = false, features = [
"parameterized-consensus-hook",
], version = "0.2.0" }
cumulus-pallet-xcm = { default-features = false, version = "0.2.0" }
cumulus-pallet-xcmp-queue = { default-features = false, version = "0.2.0" }
cumulus-primitives-core = { default-features = false, version = "0.2.0" }
cumulus-primitives-timestamp = { default-features = false, version = "0.2.0" }
cumulus-primitives-utility = { default-features = false, version = "0.2.0" }
parachain-info = { package = "staging-parachain-info", default-features = false, version = "0.2.0" }
parachains-common = { default-features = false, version = "2.0.0" }

# Used for runtime benchmarking


[build-dependencies]
substrate-wasm-builder = { optional = true , version = "12.0.0" }
substrate-wasm-builder = { optional = true, version = "12.0.0" }

[features]
default = ["std"]
runtime-benchmarks = [
"cumulus-pallet-xcmp-queue/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"hex-literal",
"pallet-balances/runtime-benchmarks",
"pallet-collective/runtime-benchmarks",
"pallet-encointer-balances/runtime-benchmarks",
"pallet-encointer-bazaar/runtime-benchmarks",
"pallet-encointer-ceremonies/runtime-benchmarks",
"pallet-encointer-communities/runtime-benchmarks",
"pallet-encointer-faucet/runtime-benchmarks",
"pallet-encointer-reputation-commitments/runtime-benchmarks",
"pallet-encointer-scheduler/runtime-benchmarks",
"pallet-membership/runtime-benchmarks",
"pallet-proxy/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"pallet-treasury/runtime-benchmarks",
"pallet-utility/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
"cumulus-pallet-xcmp-queue/runtime-benchmarks",
"frame-benchmarking/runtime-benchmarks",
"frame-support/runtime-benchmarks",
"frame-system-benchmarking/runtime-benchmarks",
"frame-system/runtime-benchmarks",
"hex-literal",
"pallet-balances/runtime-benchmarks",
"pallet-collective/runtime-benchmarks",
"pallet-encointer-balances/runtime-benchmarks",
"pallet-encointer-bazaar/runtime-benchmarks",
"pallet-encointer-ceremonies/runtime-benchmarks",
"pallet-encointer-communities/runtime-benchmarks",
"pallet-encointer-faucet/runtime-benchmarks",
"pallet-encointer-reputation-commitments/runtime-benchmarks",
"pallet-encointer-scheduler/runtime-benchmarks",
"pallet-membership/runtime-benchmarks",
"pallet-proxy/runtime-benchmarks",
"pallet-timestamp/runtime-benchmarks",
"pallet-treasury/runtime-benchmarks",
"pallet-utility/runtime-benchmarks",
"pallet-xcm/runtime-benchmarks",
"sp-runtime/runtime-benchmarks",
"xcm-builder/runtime-benchmarks",
"xcm-executor/runtime-benchmarks",
]
std = [
"codec/std",
"cumulus-pallet-aura-ext/std",
"cumulus-pallet-dmp-queue/std",
"cumulus-pallet-parachain-system/std",
"cumulus-pallet-xcm/std",
"cumulus-pallet-xcmp-queue/std",
"cumulus-primitives-core/std",
"cumulus-primitives-timestamp/std",
"cumulus-primitives-utility/std",
"encointer-balances-tx-payment-rpc-runtime-api/std",
"encointer-balances-tx-payment/std",
"encointer-primitives/serde_derive",
"encointer-primitives/std",
"frame-executive/std",
"frame-support/std",
"frame-system-rpc-runtime-api/std",
"frame-system/std",
"frame-try-runtime/std",
"log/std",
"pallet-asset-tx-payment/std",
"pallet-aura/std",
"pallet-balances/std",
"pallet-collective/std",
"pallet-encointer-balances/std",
"pallet-encointer-bazaar-rpc-runtime-api/std",
"pallet-encointer-bazaar/std",
"pallet-encointer-ceremonies-rpc-runtime-api/std",
"pallet-encointer-ceremonies/std",
"pallet-encointer-communities-rpc-runtime-api/std",
"pallet-encointer-communities/std",
"pallet-encointer-faucet/std",
"pallet-encointer-reputation-commitments/std",
"pallet-encointer-scheduler/std",
"pallet-insecure-randomness-collective-flip/std",
"pallet-membership/std",
"pallet-proxy/std",
"pallet-timestamp/std",
"pallet-transaction-payment-rpc-runtime-api/std",
"pallet-transaction-payment/std",
"pallet-treasury/std",
"pallet-utility/std",
"pallet-xcm/std",
"parachain-info/std",
"parachains-common/std",
"scale-info/std",
"sp-api/std",
"sp-block-builder/std",
"sp-consensus-aura/std",
"sp-core/std",
"sp-inherents/std",
"sp-offchain/std",
"sp-runtime/std",
"sp-session/std",
"sp-std/std",
"sp-transaction-pool/std",
"sp-version/std",
"substrate-wasm-builder",
"xcm-builder/std",
"xcm-executor/std",
"xcm/std",
"codec/std",
"cumulus-pallet-aura-ext/std",
"cumulus-pallet-dmp-queue/std",
"cumulus-pallet-parachain-system/std",
"cumulus-pallet-xcm/std",
"cumulus-pallet-xcmp-queue/std",
"cumulus-primitives-core/std",
"cumulus-primitives-timestamp/std",
"cumulus-primitives-utility/std",
"encointer-balances-tx-payment-rpc-runtime-api/std",
"encointer-balances-tx-payment/std",
"encointer-primitives/serde_derive",
"encointer-primitives/std",
"frame-executive/std",
"frame-support/std",
"frame-system-rpc-runtime-api/std",
"frame-system/std",
"frame-try-runtime/std",
"log/std",
"pallet-asset-tx-payment/std",
"pallet-aura/std",
"pallet-balances/std",
"pallet-collective/std",
"pallet-encointer-balances/std",
"pallet-encointer-bazaar-rpc-runtime-api/std",
"pallet-encointer-bazaar/std",
"pallet-encointer-ceremonies-rpc-runtime-api/std",
"pallet-encointer-ceremonies/std",
"pallet-encointer-communities-rpc-runtime-api/std",
"pallet-encointer-communities/std",
"pallet-encointer-faucet/std",
"pallet-encointer-reputation-commitments/std",
"pallet-encointer-scheduler/std",
"pallet-insecure-randomness-collective-flip/std",
"pallet-membership/std",
"pallet-proxy/std",
"pallet-timestamp/std",
"pallet-transaction-payment-rpc-runtime-api/std",
"pallet-transaction-payment/std",
"pallet-treasury/std",
"pallet-utility/std",
"pallet-xcm/std",
"parachain-info/std",
"parachains-common/std",
"scale-info/std",
"sp-api/std",
"sp-block-builder/std",
"sp-consensus-aura/std",
"sp-core/std",
"sp-inherents/std",
"sp-offchain/std",
"sp-runtime/std",
"sp-session/std",
"sp-std/std",
"sp-transaction-pool/std",
"sp-version/std",
"substrate-wasm-builder",
"xcm-builder/std",
"xcm-executor/std",
"xcm/std",
]


try-runtime = [
"cumulus-pallet-aura-ext/try-runtime",
"cumulus-pallet-dmp-queue/try-runtime",
"cumulus-pallet-parachain-system/try-runtime",
"cumulus-pallet-xcm/try-runtime",
"cumulus-pallet-xcmp-queue/try-runtime",
"frame-executive/try-runtime",
"frame-system/try-runtime",
"frame-try-runtime/try-runtime",
"pallet-asset-tx-payment/try-runtime",
"pallet-aura/try-runtime",
"pallet-balances/try-runtime",
"pallet-collective/try-runtime",
"pallet-encointer-balances/try-runtime",
"pallet-encointer-bazaar/try-runtime",
"pallet-encointer-ceremonies/try-runtime",
"pallet-encointer-communities/try-runtime",
"pallet-encointer-faucet/try-runtime",
"pallet-encointer-reputation-commitments/try-runtime",
"pallet-encointer-scheduler/try-runtime",
"pallet-insecure-randomness-collective-flip/try-runtime",
"pallet-membership/try-runtime",
"pallet-proxy/try-runtime",
"pallet-scheduler/try-runtime",
"pallet-timestamp/try-runtime",
"pallet-transaction-payment/try-runtime",
"pallet-treasury/try-runtime",
"pallet-utility/try-runtime",
"pallet-xcm/try-runtime",
"parachain-info/try-runtime",
"cumulus-pallet-aura-ext/try-runtime",
"cumulus-pallet-dmp-queue/try-runtime",
"cumulus-pallet-parachain-system/try-runtime",
"cumulus-pallet-xcm/try-runtime",
"cumulus-pallet-xcmp-queue/try-runtime",
"frame-executive/try-runtime",
"frame-system/try-runtime",
"frame-try-runtime/try-runtime",
"pallet-asset-tx-payment/try-runtime",
"pallet-aura/try-runtime",
"pallet-balances/try-runtime",
"pallet-collective/try-runtime",
"pallet-encointer-balances/try-runtime",
"pallet-encointer-bazaar/try-runtime",
"pallet-encointer-ceremonies/try-runtime",
"pallet-encointer-communities/try-runtime",
"pallet-encointer-faucet/try-runtime",
"pallet-encointer-reputation-commitments/try-runtime",
"pallet-encointer-scheduler/try-runtime",
"pallet-insecure-randomness-collective-flip/try-runtime",
"pallet-membership/try-runtime",
"pallet-proxy/try-runtime",
"pallet-scheduler/try-runtime",
"pallet-timestamp/try-runtime",
"pallet-transaction-payment/try-runtime",
"pallet-treasury/try-runtime",
"pallet-utility/try-runtime",
"pallet-xcm/try-runtime",
"parachain-info/try-runtime",
]
2 changes: 1 addition & 1 deletion system-parachains/encointer/src/deal_with_fees.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2019 Alain Brenzikofer
// Copyright (c) 2023 Encointer Association
// This file is part of Encointer
//
// Encointer is free software: you can redistribute it and/or modify
Expand Down
4 changes: 2 additions & 2 deletions system-parachains/encointer/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) 2019 Alain Brenzikofer
// Copyright (c) 2023 Encointer Association
// This file is part of Encointer
//
// Encointer is free software: you can redistribute it and/or modify
Expand All @@ -20,7 +20,7 @@
//! * perform ceremonies and receive a community income
//! * pay fees in the respective community currency
//!
//! The configuration (especially XCM) is almost identical to `statemine`. Therefore, upstream
//! The configuration (especially XCM) is almost identical to `asset-hub`. Therefore, upstream
//! updates should always check the diff to see if there are some configuration updates.
#![cfg_attr(not(feature = "std"), no_std)]
Expand Down

0 comments on commit 425cae6

Please sign in to comment.