-
Notifications
You must be signed in to change notification settings - Fork 115
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #185 from Joystream/development
Rome - initial release
- Loading branch information
Showing
136 changed files
with
27,777 additions
and
6,691 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
target/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,5 @@ joystream_runtime.wasm | |
|
||
# Vim | ||
.*.sw* | ||
|
||
**/Cargo.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,23 @@ | ||
language: rust | ||
|
||
rust: | ||
- 1.34.0 | ||
cache: | ||
- cargo | ||
- 1.41.1 | ||
# Caching saves a lot of time but often causes stalled builds... | ||
# disabled for now | ||
# look into solution here: https://levans.fr/rust_travis_cache.html | ||
# cache: | ||
# - cargo | ||
|
||
before_script: | ||
- rustup component add rustfmt | ||
- ./setup.sh | ||
- rustup component add rustfmt --toolchain 1.41.1-x86_64-unknown-linux-gnu | ||
- rustup update nightly | ||
- rustup target add wasm32-unknown-unknown --toolchain nightly | ||
- cargo +nightly install --git https://github.com/alexcrichton/wasm-gc --force | ||
|
||
script: | ||
# Ensure all checked in code is cargo-fmt'ed | ||
- cargo fmt --all -- --check | ||
- ./build.sh | ||
# Native build and unit tests check | ||
- cargo test --verbose --all | ||
# WASM build check | ||
- cargo build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,196 +1,20 @@ | ||
[package] | ||
authors = ['Joystream'] | ||
edition = '2018' | ||
name = 'joystream-node-runtime' | ||
version = '5.4.0' | ||
|
||
[dependencies] | ||
# restrict version of syn, see https://github.com/paritytech/substrate/issues/2326 | ||
syn = { version = ">= 0.15.26, < 0.15.32", features = ["full"] } | ||
|
||
[features] | ||
default = ['std'] | ||
std = [ | ||
'parity-codec/std', | ||
'parity-codec-derive/std', | ||
'primitives/std', | ||
'substrate-client/std', | ||
'rstd/std', | ||
'runtime-io/std', | ||
'srml-support/std', | ||
'balances/std', | ||
'executive/std', | ||
'aura/std', | ||
'indices/std', | ||
'primitives/std', | ||
'system/std', | ||
'timestamp/std', | ||
'sudo/std', | ||
'version/std', | ||
'serde_derive', | ||
'serde/std', | ||
'safe-mix/std', | ||
'consensus-aura/std', | ||
'staking/std', | ||
'session/std', | ||
'offchain-primitives/std', | ||
'consensus-authorities/std', | ||
'grandpa/std', | ||
'finality-tracker/std', | ||
'forum/std' | ||
[workspace] | ||
members = [ | ||
"runtime", | ||
"runtime-modules/common", | ||
"runtime-modules/content-working-group", | ||
"runtime-modules/forum", | ||
"runtime-modules/governance", | ||
"runtime-modules/hiring", | ||
"runtime-modules/membership", | ||
"runtime-modules/memo", | ||
"runtime-modules/recurring-reward", | ||
"runtime-modules/roles", | ||
"runtime-modules/service-discovery", | ||
"runtime-modules/stake", | ||
"runtime-modules/storage", | ||
"runtime-modules/token-minting", | ||
"runtime-modules/versioned-store", | ||
"runtime-modules/versioned-store-permissions", | ||
] | ||
[dependencies.aura] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
package = 'srml-aura' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.balances] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
package = 'srml-balances' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.consensus] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
package = 'srml-consensus' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.consensus-aura] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
package = 'substrate-consensus-aura-primitives' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.executive] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
package = 'srml-executive' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.indices] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
package = 'srml-indices' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.parity-codec] | ||
default-features = false | ||
version = '3.1' | ||
|
||
[dependencies.parity-codec-derive] | ||
default-features = false | ||
version = '3.1' | ||
|
||
[dependencies.primitives] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
package = 'substrate-primitives' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.rstd] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
package = 'sr-std' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.runtime-io] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
package = 'sr-io' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.runtime-primitives] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
package = 'sr-primitives' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.safe-mix] | ||
default-features = false | ||
version = '1.0' | ||
|
||
[dependencies.serde] | ||
default-features = false | ||
version = '1.0' | ||
|
||
[dependencies.serde_derive] | ||
optional = true | ||
version = '1.0' | ||
|
||
[dependencies.srml-support] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.substrate-client] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.sudo] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
package = 'srml-sudo' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.system] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
package = 'srml-system' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.timestamp] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
package = 'srml-timestamp' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.version] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
package = 'sr-version' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.staking] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
package = 'srml-staking' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.session] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
package = 'srml-session' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.offchain-primitives] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
package = 'substrate-offchain-primitives' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.consensus-authorities] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
package = 'substrate-consensus-authorities' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.grandpa] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
package = 'srml-grandpa' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.finality-tracker] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate.git' | ||
package = 'srml-finality-tracker' | ||
rev = '6dfc3e8b057bb00322136251a0f10305fbb1ad8f' | ||
|
||
[dependencies.forum] | ||
default_features = false | ||
git = 'https://github.com/joystream/substrate-forum-module' | ||
package = 'substrate-forum-module' | ||
tag = "v1.0.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[package] | ||
name = 'substrate-common-module' | ||
version = '1.0.0' | ||
authors = ['Joystream contributors'] | ||
edition = '2018' | ||
|
||
[features] | ||
default = ['std'] | ||
std = [ | ||
'sr-primitives/std', | ||
'srml-support/std', | ||
'system/std', | ||
] | ||
|
||
|
||
[dependencies.sr-primitives] | ||
default_features = false | ||
git = 'https://github.com/paritytech/substrate.git' | ||
package = 'sr-primitives' | ||
rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8' | ||
|
||
[dependencies.srml-support] | ||
default_features = false | ||
git = 'https://github.com/paritytech/substrate.git' | ||
package = 'srml-support' | ||
rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8' | ||
|
||
[dependencies.system] | ||
default_features = false | ||
git = 'https://github.com/paritytech/substrate.git' | ||
package = 'srml-system' | ||
rev = 'c37bb08535c49a12320af7facfd555ce05cce2e8' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// Ensure we're `no_std` when compiling for Wasm. | ||
#![cfg_attr(not(feature = "std"), no_std)] | ||
|
||
pub mod currency; |
Oops, something went wrong.