[package] authors = ['Joystream contributors'] edition = '2018' name = 'joystream-node-runtime' # Follow convention: https://github.com/Joystream/substrate-runtime-joystream/issues/1 # {Authoring}.{Spec}.{Impl} of the RuntimeVersion version = '10.5.0' [dependencies] # Third-party dependencies serde = { version = "1.0.101", optional = true, features = ["derive"] } lazy_static = {version = "1.4.0", features = ["spin_no_std"] } lite-json = { version = '0.1.3', default-features = false} codec = { package = 'parity-scale-codec', version = '1.3.4', default-features = false, features = ['derive'] } smallvec = "1.6.0" # Substrate primitives sp-std = { package = 'sp-std', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} sp-arithmetic = { package = 'sp-arithmetic', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} sp-runtime = { package = 'sp-runtime', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} sp-offchain = { package = 'sp-offchain', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} sp-core = { package = 'sp-core', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} sp-authority-discovery = { package = 'sp-authority-discovery', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} sp-consensus-babe = { package = 'sp-consensus-babe', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} sp-transaction-pool = { package = 'sp-transaction-pool', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} sp-session = { package = 'sp-session', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} sp-block-builder = { package = 'sp-block-builder', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} sp-api = { package = 'sp-api', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} sp-version = { package = 'sp-version', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} sp-staking = { package = 'sp-staking', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} sp-application-crypto = { package = 'sp-application-crypto', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} # Frame frame-support = { package = 'frame-support', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} frame-executive = { package = 'frame-executive', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} frame-system-rpc-runtime-api = { package = 'frame-system-rpc-runtime-api', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} frame-system = { package = 'frame-system', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} # Pallets pallet-grandpa = { package = 'pallet-grandpa', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} pallet-staking-reward-curve = { package = 'pallet-staking-reward-curve', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} pallet-babe = { package = 'pallet-babe', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} pallet-transaction-payment = { package = 'pallet-transaction-payment', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} pallet-transaction-payment-rpc-runtime-api = { package = 'pallet-transaction-payment-rpc-runtime-api', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} pallet-authorship = { package = 'pallet-authorship', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} pallet-session = { package = 'pallet-session', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} pallet-offences = { package = 'pallet-offences', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} pallet-finality-tracker = { package = 'pallet-finality-tracker', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} pallet-randomness-collective-flip = { package = 'pallet-randomness-collective-flip', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} pallet-authority-discovery = { package = 'pallet-authority-discovery', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} pallet-sudo = { package = 'pallet-sudo', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} pallet-staking = { package = 'pallet-staking', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} pallet-timestamp = { package = 'pallet-timestamp', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} pallet-balances = { package = 'pallet-balances', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} pallet-im-online = { package = 'pallet-im-online', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} substrate-utility = { package = 'pallet-utility', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} # Benchmarking frame-benchmarking = { git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62', default-features = false, optional = true } frame-system-benchmarking = { git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62', default-features = false, optional = true } pallet-offences-benchmarking = { git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62', default-features = false, optional = true } pallet-session-benchmarking = { git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62', default-features = false, optional = true } hex-literal = { optional = true, version = '0.3.1' } # Joystream common = { package = 'pallet-common', default-features = false, path = '../runtime-modules/common'} forum = { package = 'pallet-forum', default-features = false, path = '../runtime-modules/forum'} membership = { package = 'pallet-membership', default-features = false, path = '../runtime-modules/membership'} referendum = { package = 'pallet-referendum', default-features = false, path = '../runtime-modules/referendum'} council = { package = 'pallet-council', default-features = false, path = '../runtime-modules/council'} working-group = { package = 'pallet-working-group', default-features = false, path = '../runtime-modules/working-group'} storage = { package = 'pallet-storage', default-features = false, path = '../runtime-modules/storage'} proposals-engine = { package = 'pallet-proposals-engine', default-features = false, path = '../runtime-modules/proposals/engine'} proposals-discussion = { package = 'pallet-proposals-discussion', default-features = false, path = '../runtime-modules/proposals/discussion'} proposals-codex = { package = 'pallet-proposals-codex', default-features = false, path = '../runtime-modules/proposals/codex'} pallet-constitution = { package = 'pallet-constitution', default-features = false, path = '../runtime-modules/constitution' } staking-handler = { package = 'pallet-staking-handler', default-features = false, path = '../runtime-modules/staking-handler'} bounty = { package = 'pallet-bounty', default-features = false, path = '../runtime-modules/bounty'} blog = { package = 'pallet-blog', default-features = false, path = '../runtime-modules/blog'} content = { package = 'pallet-content', default-features = false, path = '../runtime-modules/content'} joystream-utility = { package = 'pallet-utility', default-features = false, path = '../runtime-modules/utility'} [dev-dependencies] sp-io = { package = 'sp-io', default-features = false, git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62'} strum = {version = "0.19", default-features = false} [build-dependencies] wasm-builder-runner = { version = "1.0.5", package = "substrate-wasm-builder-runner", git = 'https://github.com/paritytech/substrate.git', rev = '2cd20966cc09b059817c3ebe12fc130cdd850d62' } [features] default = ['std'] no_std = [] std = [ # Third-party dependencies 'serde', 'codec/std', # Substrate primitives 'sp-std/std', 'sp-core/std', 'sp-api/std', 'sp-version/std', 'sp-runtime/std', 'sp-arithmetic/std', 'sp-offchain/std', 'sp-authority-discovery/std', 'sp-consensus-babe/std', 'sp-transaction-pool/std', 'sp-block-builder/std', 'sp-session/std', 'sp-staking/std', 'sp-application-crypto/std', # Frame 'frame-support/std', 'frame-executive/std', 'frame-system-rpc-runtime-api/std', 'frame-system/std', # Pallets 'pallet-timestamp/std', 'pallet-balances/std', 'pallet-transaction-payment/std', 'pallet-transaction-payment-rpc-runtime-api/std', 'pallet-grandpa/std', 'pallet-babe/std', 'pallet-session/std', 'pallet-finality-tracker/std', 'pallet-authority-discovery/std', 'pallet-authorship/std', 'pallet-randomness-collective-flip/std', 'pallet-staking/std', # 'pallet-staking-reward-curve/std', // don't have 'std' features 'pallet-sudo/std', 'pallet-im-online/std', 'pallet-offences/std', 'substrate-utility/std', # Joystream 'common/std', 'forum/std', 'membership/std', 'council/std', 'referendum/std', 'working-group/std', 'storage/std', 'proposals-engine/std', 'proposals-discussion/std', 'proposals-codex/std', 'pallet-constitution/std', 'staking-handler/std', 'bounty/std', 'blog/std', 'joystream-utility/std', 'content/std', ] runtime-benchmarks = [ "hex-literal", "frame-support/runtime-benchmarks", "sp-runtime/runtime-benchmarks", "frame-benchmarking", "frame-system-benchmarking", "frame-system/runtime-benchmarks", "pallet-offences-benchmarking", "pallet-session-benchmarking", "pallet-balances/runtime-benchmarks", "pallet-im-online/runtime-benchmarks", "pallet-staking/runtime-benchmarks", "pallet-timestamp/runtime-benchmarks", "substrate-utility/runtime-benchmarks", # Joystream "proposals-discussion/runtime-benchmarks", "proposals-engine/runtime-benchmarks", "proposals-codex/runtime-benchmarks", "joystream-utility/runtime-benchmarks", "pallet-constitution/runtime-benchmarks", "working-group/runtime-benchmarks", "forum/runtime-benchmarks", "membership/runtime-benchmarks", "council/runtime-benchmarks", "referendum/runtime-benchmarks", "bounty/runtime-benchmarks", 'storage/runtime-benchmarks', "blog/runtime-benchmarks", ] # Staging and testing configurations # configuration suitable for staging networks and playground staging_runtime = [] playground_runtime = ['staging_runtime'] # configuration suitable for integration testing testing_runtime = []