diff --git a/Cargo.toml b/Cargo.toml index 75080094ef..e6d16fc1c6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ authors = ['Joystream'] edition = '2018' name = 'joystream-node-runtime' -version = '1.0.1' +version = '4.1.0' [features] default = ['std'] @@ -15,7 +15,6 @@ std = [ 'runtime-io/std', 'srml-support/std', 'balances/std', - 'fees/std', 'executive/std', 'aura/std', 'indices/std', @@ -30,48 +29,46 @@ std = [ 'consensus-aura/std', 'staking/std', 'session/std', + 'offchain-primitives/std', + 'consensus-authorities/std', + 'grandpa/std', + 'finality-tracker/std', ] [dependencies.aura] default_features = false git = 'https://github.com/joystream/substrate.git' package = 'srml-aura' -rev = 'df5e65927780b323482e2e8b5031822f423a032d' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' [dependencies.balances] default_features = false git = 'https://github.com/joystream/substrate.git' package = 'srml-balances' -rev = 'df5e65927780b323482e2e8b5031822f423a032d' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' [dependencies.consensus] default_features = false git = 'https://github.com/joystream/substrate.git' package = 'srml-consensus' -rev = 'df5e65927780b323482e2e8b5031822f423a032d' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' [dependencies.consensus-aura] default_features = false git = 'https://github.com/joystream/substrate.git' package = 'substrate-consensus-aura-primitives' -rev = 'df5e65927780b323482e2e8b5031822f423a032d' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' [dependencies.executive] default_features = false git = 'https://github.com/joystream/substrate.git' package = 'srml-executive' -rev = 'df5e65927780b323482e2e8b5031822f423a032d' - -[dependencies.fees] -default_features = false -git = 'https://github.com/joystream/substrate.git' -package = 'srml-fees' -rev = 'df5e65927780b323482e2e8b5031822f423a032d' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' [dependencies.indices] default_features = false git = 'https://github.com/joystream/substrate.git' package = 'srml-indices' -rev = 'df5e65927780b323482e2e8b5031822f423a032d' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' [dependencies.parity-codec] default-features = false @@ -85,25 +82,25 @@ version = '3.1' default_features = false git = 'https://github.com/joystream/substrate.git' package = 'substrate-primitives' -rev = 'df5e65927780b323482e2e8b5031822f423a032d' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' [dependencies.rstd] default_features = false git = 'https://github.com/joystream/substrate.git' package = 'sr-std' -rev = 'df5e65927780b323482e2e8b5031822f423a032d' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' [dependencies.runtime-io] default_features = false git = 'https://github.com/joystream/substrate.git' package = 'sr-io' -rev = 'df5e65927780b323482e2e8b5031822f423a032d' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' [dependencies.runtime-primitives] default_features = false git = 'https://github.com/joystream/substrate.git' package = 'sr-primitives' -rev = 'df5e65927780b323482e2e8b5031822f423a032d' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' [dependencies.safe-mix] default-features = false @@ -120,45 +117,69 @@ version = '1.0' [dependencies.srml-support] default_features = false git = 'https://github.com/joystream/substrate.git' -rev = 'df5e65927780b323482e2e8b5031822f423a032d' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' [dependencies.substrate-client] default_features = false git = 'https://github.com/joystream/substrate.git' -rev = 'df5e65927780b323482e2e8b5031822f423a032d' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' [dependencies.sudo] default_features = false git = 'https://github.com/joystream/substrate.git' package = 'srml-sudo' -rev = 'df5e65927780b323482e2e8b5031822f423a032d' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' [dependencies.system] default_features = false git = 'https://github.com/joystream/substrate.git' package = 'srml-system' -rev = 'df5e65927780b323482e2e8b5031822f423a032d' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' [dependencies.timestamp] default_features = false git = 'https://github.com/joystream/substrate.git' package = 'srml-timestamp' -rev = 'df5e65927780b323482e2e8b5031822f423a032d' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' [dependencies.version] default_features = false git = 'https://github.com/joystream/substrate.git' package = 'sr-version' -rev = 'df5e65927780b323482e2e8b5031822f423a032d' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' [dependencies.staking] default_features = false git = 'https://github.com/joystream/substrate.git' package = 'srml-staking' -rev = 'df5e65927780b323482e2e8b5031822f423a032d' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' [dependencies.session] default_features = false git = 'https://github.com/joystream/substrate.git' package = 'srml-session' -rev = 'df5e65927780b323482e2e8b5031822f423a032d' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' + +[dependencies.offchain-primitives] +default_features = false +git = 'https://github.com/joystream/substrate.git' +package = 'substrate-offchain-primitives' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' + +[dependencies.consensus-authorities] +default_features = false +git = 'https://github.com/joystream/substrate.git' +package = 'substrate-consensus-authorities' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' + +[dependencies.grandpa] +default_features = false +git = 'https://github.com/joystream/substrate.git' +package = 'srml-grandpa' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' + +[dependencies.finality-tracker] +default_features = false +git = 'https://github.com/joystream/substrate.git' +package = 'srml-finality-tracker' +rev = '89bbb7b6d0e076f0eda736b330f5f792aa2e2991' \ No newline at end of file diff --git a/src/governance/council.rs b/src/governance/council.rs index 2d02895a21..2a954b1651 100644 --- a/src/governance/council.rs +++ b/src/governance/council.rs @@ -1,5 +1,3 @@ -#![cfg_attr(not(feature = "std"), no_std)] - use rstd::prelude::*; use runtime_primitives::traits::{As, Zero}; use srml_support::{decl_event, decl_module, decl_storage, ensure, StorageValue}; @@ -68,7 +66,7 @@ decl_module! { pub struct Module for enum Call where origin: T::Origin { fn deposit_event() = default; - fn on_finalise(now: T::BlockNumber) { + fn on_finalize(now: T::BlockNumber) { if now == Self::term_ends_at() { Self::deposit_event(RawEvent::CouncilTermEnded(now)); T::CouncilTermEnded::council_term_ended(); diff --git a/src/governance/election.rs b/src/governance/election.rs index 59d3976ffb..31a5de4495 100644 --- a/src/governance/election.rs +++ b/src/governance/election.rs @@ -1,14 +1,11 @@ -#![cfg_attr(not(feature = "std"), no_std)] - use rstd::prelude::*; -use srml_support::traits::Currency; +use srml_support::traits::{Currency, ReservableCurrency}; use srml_support::{ decl_event, decl_module, decl_storage, dispatch::Result, ensure, StorageMap, StorageValue, }; use system::{self, ensure_signed}; -use runtime_primitives::traits::{As, Hash, Zero /*SimpleArithmetic*/}; -//use {balances}; +use runtime_primitives::traits::{As, Hash, Zero}; use rstd::collections::btree_map::BTreeMap; use rstd::ops::Add; @@ -721,7 +718,7 @@ decl_module! { fn deposit_event() = default; // No origin so this is a priviledged call - fn on_finalise(now: T::BlockNumber) { + fn on_finalize(now: T::BlockNumber) { Self::check_if_stage_is_ending(now); } @@ -1068,7 +1065,7 @@ mod tests { let applicant = 20 as u64; let starting_balance = 1000 as u32; - Balances::set_free_balance(&applicant, starting_balance); + let _ = Balances::deposit_creating(&applicant, starting_balance); let stake = 100 as u32; @@ -1098,7 +1095,7 @@ mod tests { ); let additional_stake = 100 as u32; - Balances::set_free_balance(&applicant, additional_stake); + let _ = Balances::deposit_creating(&applicant, additional_stake); assert!(Election::try_add_applicant(applicant, additional_stake).is_ok()); assert_eq!( @@ -1113,7 +1110,7 @@ mod tests { fn using_transferable_seat_stake_should_work() { with_externalities(&mut initial_test_ext(), || { let applicant = 20 as u64; - Balances::set_free_balance(&applicant, 5000); + let _ = Balances::deposit_creating(&applicant, 5000); >::put(vec![applicant]); save_transferable_stake( @@ -1235,11 +1232,11 @@ mod tests { #[test] fn refunding_applicant_stakes_should_work() { with_externalities(&mut initial_test_ext(), || { - Balances::set_free_balance(&1, 1000); - Balances::set_free_balance(&2, 2000); - Balances::set_reserved_balance(&2, 5000); - Balances::set_free_balance(&3, 3000); - Balances::set_reserved_balance(&3, 5000); + let _ = Balances::deposit_creating(&1, 1000); + let _ = Balances::deposit_creating(&2, 7000); + let _ = Balances::reserve(&2, 5000); + let _ = Balances::deposit_creating(&3, 8000); + let _ = Balances::reserve(&3, 5000); >::put(vec![1, 2, 3]); @@ -1313,7 +1310,7 @@ mod tests { #[test] fn voting_should_work() { with_externalities(&mut initial_test_ext(), || { - Balances::set_free_balance(&20, 1000); + let _ = Balances::deposit_creating(&20, 1000); let payload = vec![10u8]; let commitment = ::Hashing::hash(&payload[..]); @@ -1340,7 +1337,7 @@ mod tests { #[test] fn votes_can_be_covered_by_transferable_stake() { with_externalities(&mut initial_test_ext(), || { - Balances::set_free_balance(&20, 1000); + let _ = Balances::deposit_creating(&20, 1000); save_transferable_stake( 20, @@ -1372,7 +1369,7 @@ mod tests { #[test] fn voting_without_enough_balance_should_not_work() { with_externalities(&mut initial_test_ext(), || { - Balances::set_free_balance(&20, 100); + let _ = Balances::deposit_creating(&20, 100); save_transferable_stake( 20, @@ -1395,7 +1392,7 @@ mod tests { #[test] fn voting_with_existing_commitment_should_not_work() { with_externalities(&mut initial_test_ext(), || { - Balances::set_free_balance(&20, 1000); + let _ = Balances::deposit_creating(&20, 1000); save_transferable_stake( 20, @@ -1720,8 +1717,8 @@ mod tests { with_externalities(&mut initial_test_ext(), || { >::put(vec![100, 200, 300]); - Balances::set_free_balance(&100, 1000); - Balances::set_reserved_balance(&100, 1000); + let _ = Balances::deposit_creating(&100, 2000); + let _ = Balances::reserve(&100, 1000); >::insert( 100, @@ -1774,12 +1771,12 @@ mod tests { fn refunding_voting_stakes_should_work() { with_externalities(&mut initial_test_ext(), || { // voters' balances - Balances::set_free_balance(&10, 1000); - Balances::set_reserved_balance(&10, 5000); - Balances::set_free_balance(&20, 2000); - Balances::set_reserved_balance(&20, 5000); - Balances::set_free_balance(&30, 3000); - Balances::set_reserved_balance(&30, 5000); + let _ = Balances::deposit_creating(&10, 6000); + let _ = Balances::reserve(&10, 5000); + let _ = Balances::deposit_creating(&20, 7000); + let _ = Balances::reserve(&20, 5000); + let _ = Balances::deposit_creating(&30, 8000); + let _ = Balances::reserve(&30, 5000); save_transferable_stake( 10, @@ -1854,8 +1851,8 @@ mod tests { with_externalities(&mut initial_test_ext(), || { >::put(vec![10, 20, 30]); - Balances::set_free_balance(&10, 1000); - Balances::set_reserved_balance(&10, 5000); + let _ = Balances::deposit_creating(&10, 6000); + let _ = Balances::reserve(&10, 5000); save_transferable_stake( 10, TransferableStake { @@ -1864,8 +1861,8 @@ mod tests { }, ); - Balances::set_free_balance(&20, 2000); - Balances::set_reserved_balance(&20, 5000); + let _ = Balances::deposit_creating(&20, 7000); + let _ = Balances::reserve(&20, 5000); save_transferable_stake( 20, TransferableStake { @@ -1874,8 +1871,8 @@ mod tests { }, ); - Balances::set_free_balance(&30, 3000); - Balances::set_reserved_balance(&30, 5000); + let _ = Balances::deposit_creating(&30, 8000); + let _ = Balances::reserve(&30, 5000); save_transferable_stake( 30, TransferableStake { @@ -1941,7 +1938,7 @@ mod tests { >::put(10); for i in 1..30 { - Balances::set_free_balance(&(i as u64), 50000); + let _ = Balances::deposit_creating(&(i as u64), 50000); } System::set_block_number(1); @@ -1958,7 +1955,7 @@ mod tests { let n = 1 + Election::announcing_period(); System::set_block_number(n); - Election::on_finalise(n); + let _ = Election::on_finalize(n); for i in 1..20 { assert!(Election::vote( @@ -1985,7 +1982,7 @@ mod tests { let n = n + Election::voting_period(); System::set_block_number(n); - Election::on_finalise(n); + let _ = Election::on_finalize(n); for i in 1..20 { assert!(Election::reveal( @@ -2015,7 +2012,7 @@ mod tests { let n = n + Election::revealing_period(); System::set_block_number(n); - Election::on_finalise(n); + let _ = Election::on_finalize(n); assert_eq!( Council::active_council().len(), diff --git a/src/governance/mock.rs b/src/governance/mock.rs index 9d7f1d6423..bdbb7863ff 100644 --- a/src/governance/mock.rs +++ b/src/governance/mock.rs @@ -7,7 +7,7 @@ pub use system; pub use primitives::{Blake2Hasher, H256}; pub use runtime_primitives::{ testing::{Digest, DigestItem, Header, UintAuthorityId}, - traits::{BlakeTwo256, IdentityLookup, OnFinalise}, + traits::{BlakeTwo256, IdentityLookup, OnFinalize}, BuildStorage, }; @@ -89,8 +89,9 @@ impl balances::Trait for Test { /// Handler for when a new account is created. type OnNewAccount = (); - /// A function that returns true iff a given account can transfer its funds to another account. - type EnsureAccountLiquid = (); + type TransactionPayment = (); + type DustRemoval = (); + type TransferPayment = (); } impl GovernanceCurrency for Test { diff --git a/src/governance/mod.rs b/src/governance/mod.rs index 3eb484b453..9f63204781 100644 --- a/src/governance/mod.rs +++ b/src/governance/mod.rs @@ -1,6 +1,4 @@ -#![cfg_attr(not(feature = "std"), no_std)] - -use srml_support::traits::{ArithmeticType, Currency}; +use srml_support::traits::{Currency, LockableCurrency, ReservableCurrency}; use system; pub mod council; @@ -11,10 +9,12 @@ mod sealed_vote; mod stake; pub trait GovernanceCurrency: system::Trait + Sized { - type Currency: ArithmeticType - + Currency<::AccountId, Balance = BalanceOf>; + type Currency: Currency + + ReservableCurrency + + LockableCurrency; } -pub type BalanceOf = <::Currency as ArithmeticType>::Type; +pub type BalanceOf = + <::Currency as Currency<::AccountId>>::Balance; mod mock; diff --git a/src/governance/proposals.rs b/src/governance/proposals.rs index d09fd0edca..cf0de52e78 100644 --- a/src/governance/proposals.rs +++ b/src/governance/proposals.rs @@ -1,11 +1,14 @@ use rstd::prelude::*; use runtime_io::print; use runtime_primitives::traits::{As, Hash, Zero}; -use srml_support::traits::Currency; +use srml_support::traits::{Currency, ReservableCurrency}; use srml_support::{ decl_event, decl_module, decl_storage, dispatch, ensure, StorageMap, StorageValue, }; -use system::{self, ensure_signed}; +use { + consensus, + system::{self, ensure_signed}, +}; #[cfg(test)] use primitives::storage::well_known_keys; @@ -117,7 +120,7 @@ pub struct TallyResult { finalized_at: BlockNumber, } -pub trait Trait: timestamp::Trait + council::Trait + GovernanceCurrency { +pub trait Trait: timestamp::Trait + council::Trait + consensus::Trait + GovernanceCurrency { /// The overarching event type. type Event: From> + Into<::Event>; @@ -181,7 +184,7 @@ decl_storage! { /// Max duration of proposal in blocks until it will be expired if not enough votes. VotingPeriod get(voting_period) config(): T::BlockNumber = T::BlockNumber::sa(DEFAULT_VOTING_PERIOD_IN_SECS / - >::block_period().as_()); + (>::minimum_period().as_() * 2)); NameMaxLen get(name_max_len) config(): u32 = DEFAULT_NAME_MAX_LEN; DescriptionMaxLen get(description_max_len) config(): u32 = DEFAULT_DESCRIPTION_MAX_LEN; @@ -320,7 +323,7 @@ decl_module! { } // Called on every block - fn on_finalise(n: T::BlockNumber) { + fn on_finalize(n: T::BlockNumber) { if let Err(e) = Self::end_block(n) { print(e); } @@ -555,7 +558,7 @@ mod tests { // or public keys. `u64` is used as the `AccountId` and no `Signature`s are requried. use runtime_primitives::{ testing::{Digest, DigestItem, Header, UintAuthorityId}, - traits::{BlakeTwo256, IdentityLookup, OnFinalise}, + traits::{BlakeTwo256, IdentityLookup}, BuildStorage, }; use srml_support::*; @@ -594,8 +597,10 @@ mod tests { type Balance = u64; type OnFreeBalanceZero = (); type OnNewAccount = (); - type EnsureAccountLiquid = (); type Event = (); + type TransactionPayment = (); + type DustRemoval = (); + type TransferPayment = (); } impl timestamp::Trait for Test { @@ -791,8 +796,7 @@ mod tests { #[test] fn member_create_proposal() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&PROPOSER1, initial_balance()); - Balances::increase_total_stake_by(initial_balance()); + let _ = Balances::deposit_creating(&PROPOSER1, initial_balance()); assert_ok!(_create_default_proposal()); assert_eq!(Proposals::active_proposal_ids().len(), 1); @@ -837,8 +841,7 @@ mod tests { #[test] fn cannot_create_proposal_with_small_stake() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&PROPOSER1, initial_balance()); - Balances::increase_total_stake_by(initial_balance()); + let _ = Balances::deposit_creating(&PROPOSER1, initial_balance()); assert_eq!( _create_proposal(None, Some(min_stake() - 1), None, None, None), @@ -854,8 +857,7 @@ mod tests { #[test] fn cannot_create_proposal_when_stake_is_greater_than_balance() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&PROPOSER1, initial_balance()); - Balances::increase_total_stake_by(initial_balance()); + let _ = Balances::deposit_creating(&PROPOSER1, initial_balance()); assert_eq!( _create_proposal(None, Some(initial_balance() + 1), None, None, None), @@ -871,8 +873,7 @@ mod tests { #[test] fn cannot_create_proposal_with_empty_values() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&PROPOSER1, initial_balance()); - Balances::increase_total_stake_by(initial_balance()); + let _ = Balances::deposit_creating(&PROPOSER1, initial_balance()); // Empty name: assert_eq!( @@ -897,8 +898,7 @@ mod tests { #[test] fn cannot_create_proposal_with_too_long_values() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&PROPOSER1, initial_balance()); - Balances::increase_total_stake_by(initial_balance()); + let _ = Balances::deposit_creating(&PROPOSER1, initial_balance()); // Too long name: assert_eq!( @@ -938,8 +938,7 @@ mod tests { #[test] fn owner_cancel_proposal() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&PROPOSER1, initial_balance()); - Balances::increase_total_stake_by(initial_balance()); + let _ = Balances::deposit_creating(&PROPOSER1, initial_balance()); assert_ok!(_create_default_proposal()); assert_ok!(Proposals::cancel_proposal(Origin::signed(PROPOSER1), 1)); @@ -960,8 +959,7 @@ mod tests { #[test] fn owner_cannot_cancel_proposal_if_its_finalized() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&PROPOSER1, initial_balance()); - Balances::increase_total_stake_by(initial_balance()); + let _ = Balances::deposit_creating(&PROPOSER1, initial_balance()); assert_ok!(_create_default_proposal()); assert_ok!(Proposals::cancel_proposal(Origin::signed(PROPOSER1), 1)); @@ -988,9 +986,8 @@ mod tests { #[test] fn not_owner_cannot_cancel_proposal() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&PROPOSER1, initial_balance()); - Balances::set_free_balance(&PROPOSER2, initial_balance()); - Balances::increase_total_stake_by(initial_balance() * 2); + let _ = Balances::deposit_creating(&PROPOSER1, initial_balance()); + let _ = Balances::deposit_creating(&PROPOSER2, initial_balance()); assert_ok!(_create_default_proposal()); assert_eq!( Proposals::cancel_proposal(Origin::signed(PROPOSER2), 1), @@ -1005,8 +1002,8 @@ mod tests { #[test] fn councilor_vote_on_proposal() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&PROPOSER1, initial_balance()); - Balances::increase_total_stake_by(initial_balance()); + let _ = Balances::deposit_creating(&PROPOSER1, initial_balance()); + assert_ok!(_create_default_proposal()); assert_ok!(Proposals::vote_on_proposal( @@ -1029,8 +1026,8 @@ mod tests { #[test] fn councilor_cannot_vote_on_proposal_twice() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&PROPOSER1, initial_balance()); - Balances::increase_total_stake_by(initial_balance()); + let _ = Balances::deposit_creating(&PROPOSER1, initial_balance()); + assert_ok!(_create_default_proposal()); assert_ok!(Proposals::vote_on_proposal( @@ -1048,8 +1045,8 @@ mod tests { #[test] fn autovote_with_approve_when_councilor_creates_proposal() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&COUNCILOR1, initial_balance()); - Balances::increase_total_stake_by(initial_balance()); + let _ = Balances::deposit_creating(&COUNCILOR1, initial_balance()); + assert_ok!(_create_proposal(Some(COUNCILOR1), None, None, None, None)); // Check that a vote has been sent automatically, @@ -1065,8 +1062,8 @@ mod tests { #[test] fn not_councilor_cannot_vote_on_proposal() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&PROPOSER1, initial_balance()); - Balances::increase_total_stake_by(initial_balance()); + let _ = Balances::deposit_creating(&PROPOSER1, initial_balance()); + assert_ok!(_create_default_proposal()); assert_eq!( Proposals::vote_on_proposal(Origin::signed(NOT_COUNCILOR), 1, Approve), @@ -1078,8 +1075,8 @@ mod tests { #[test] fn councilor_cannot_vote_on_proposal_if_it_has_been_cancelled() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&PROPOSER1, initial_balance()); - Balances::increase_total_stake_by(initial_balance()); + let _ = Balances::deposit_creating(&PROPOSER1, initial_balance()); + assert_ok!(_create_default_proposal()); assert_ok!(Proposals::cancel_proposal(Origin::signed(PROPOSER1), 1)); assert_eq!( @@ -1092,8 +1089,7 @@ mod tests { #[test] fn councilor_cannot_vote_on_proposal_if_tally_has_been_finalized() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&PROPOSER1, initial_balance()); - Balances::increase_total_stake_by(initial_balance()); + let _ = Balances::deposit_creating(&PROPOSER1, initial_balance()); assert_ok!(_create_default_proposal()); @@ -1114,7 +1110,7 @@ mod tests { assert_eq!(Proposals::votes_by_proposal(1), expected_votes); System::set_block_number(2); - Proposals::on_finalise(2); + let _ = Proposals::end_block(2); assert!(Proposals::active_proposal_ids().is_empty()); assert_eq!(Proposals::proposals(1).status, Approved); @@ -1133,8 +1129,7 @@ mod tests { #[test] fn approve_proposal_when_all_councilors_approved_it() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&PROPOSER1, initial_balance()); - Balances::increase_total_stake_by(initial_balance()); + let _ = Balances::deposit_creating(&PROPOSER1, initial_balance()); assert_ok!(_create_default_proposal()); @@ -1157,7 +1152,7 @@ mod tests { assert_runtime_code_empty!(); System::set_block_number(2); - Proposals::on_finalise(2); + let _ = Proposals::end_block(2); // Check that runtime code has been updated after proposal approved. assert_runtime_code!(wasm_code()); @@ -1188,8 +1183,7 @@ mod tests { #[test] fn approve_proposal_when_all_councilors_voted_and_only_quorum_approved() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&PROPOSER1, initial_balance()); - Balances::increase_total_stake_by(initial_balance()); + let _ = Balances::deposit_creating(&PROPOSER1, initial_balance()); assert_ok!(_create_default_proposal()); @@ -1214,7 +1208,7 @@ mod tests { assert_runtime_code_empty!(); System::set_block_number(2); - Proposals::on_finalise(2); + let _ = Proposals::end_block(2); // Check that runtime code has been updated after proposal approved. assert_runtime_code!(wasm_code()); @@ -1245,8 +1239,7 @@ mod tests { #[test] fn approve_proposal_when_voting_period_expired_if_only_quorum_voted() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&PROPOSER1, initial_balance()); - Balances::increase_total_stake_by(initial_balance()); + let _ = Balances::deposit_creating(&PROPOSER1, initial_balance()); assert_ok!(_create_default_proposal()); @@ -1270,14 +1263,14 @@ mod tests { let expiration_block = System::block_number() + Proposals::voting_period(); System::set_block_number(2); - Proposals::on_finalise(2); + let _ = Proposals::end_block(2); // Check that runtime code has NOT been updated yet, // because not all councilors voted and voting period is not expired yet. assert_runtime_code_empty!(); System::set_block_number(expiration_block); - Proposals::on_finalise(expiration_block); + let _ = Proposals::end_block(expiration_block); // Check that runtime code has been updated after proposal approved. assert_runtime_code!(wasm_code()); @@ -1308,8 +1301,7 @@ mod tests { #[test] fn reject_proposal_when_all_councilors_voted_and_quorum_not_reached() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&PROPOSER1, initial_balance()); - Balances::increase_total_stake_by(initial_balance()); + let _ = Balances::deposit_creating(&PROPOSER1, initial_balance()); assert_ok!(_create_default_proposal()); @@ -1334,7 +1326,7 @@ mod tests { assert_runtime_code_empty!(); System::set_block_number(2); - Proposals::on_finalise(2); + let _ = Proposals::end_block(2); // Check that runtime code has NOT been updated after proposal slashed. assert_runtime_code_empty!(); @@ -1368,8 +1360,7 @@ mod tests { #[test] fn reject_proposal_when_all_councilors_rejected_it() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&PROPOSER1, initial_balance()); - Balances::increase_total_stake_by(initial_balance()); + let _ = Balances::deposit_creating(&PROPOSER1, initial_balance()); assert_ok!(_create_default_proposal()); @@ -1392,7 +1383,7 @@ mod tests { assert_runtime_code_empty!(); System::set_block_number(2); - Proposals::on_finalise(2); + let _ = Proposals::end_block(2); // Check that runtime code has NOT been updated after proposal rejected. assert_runtime_code_empty!(); @@ -1426,8 +1417,7 @@ mod tests { #[test] fn slash_proposal_when_all_councilors_slashed_it() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&PROPOSER1, initial_balance()); - Balances::increase_total_stake_by(initial_balance()); + let _ = Balances::deposit_creating(&PROPOSER1, initial_balance()); assert_ok!(_create_default_proposal()); @@ -1450,7 +1440,7 @@ mod tests { assert_runtime_code_empty!(); System::set_block_number(2); - Proposals::on_finalise(2); + let _ = Proposals::end_block(2); // Check that runtime code has NOT been updated after proposal slashed. assert_runtime_code_empty!(); @@ -1493,8 +1483,7 @@ mod tests { #[test] fn expire_proposal_when_not_all_councilors_voted_and_quorum_not_reached() { with_externalities(&mut new_test_ext(), || { - Balances::set_free_balance(&PROPOSER1, initial_balance()); - Balances::increase_total_stake_by(initial_balance()); + let _ = Balances::deposit_creating(&PROPOSER1, initial_balance()); assert_ok!(_create_default_proposal()); @@ -1518,7 +1507,7 @@ mod tests { let expiration_block = System::block_number() + Proposals::voting_period(); System::set_block_number(expiration_block); - Proposals::on_finalise(expiration_block); + let _ = Proposals::end_block(expiration_block); // Check that runtime code has NOT been updated after proposal slashed. assert_runtime_code_empty!(); diff --git a/src/governance/sealed_vote.rs b/src/governance/sealed_vote.rs index ac08ff9e4e..5a018f53db 100644 --- a/src/governance/sealed_vote.rs +++ b/src/governance/sealed_vote.rs @@ -1,5 +1,3 @@ -#![cfg_attr(not(feature = "std"), no_std)] - use parity_codec::Encode; use rstd::vec::Vec; use srml_support::ensure; diff --git a/src/governance/stake.rs b/src/governance/stake.rs index 7a9c6c417d..d26bdb807e 100644 --- a/src/governance/stake.rs +++ b/src/governance/stake.rs @@ -1,5 +1,3 @@ -#![cfg_attr(not(feature = "std"), no_std)] - use rstd::cmp::Ordering; use runtime_primitives::traits::SimpleArithmetic; diff --git a/src/lib.rs b/src/lib.rs index 73e8646f10..3d7c7b454a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -18,7 +18,7 @@ pub mod governance; use governance::{council, election, proposals}; pub mod storage; use storage::{ - content_directory, data_directory, data_object_storage_registry, data_object_type_registry, + data_directory, data_object_storage_registry, data_object_type_registry, downloads, }; mod membership; @@ -27,22 +27,26 @@ mod traits; use membership::members; mod migration; mod roles; -use roles::actors; - use client::{ block_builder::api::{self as block_builder_api, CheckInherentsResult, InherentData}, - impl_runtime_apis, runtime_api, + impl_runtime_apis, runtime_api as client_api, }; +use grandpa::fg_primitives::{self, ScheduledChange}; #[cfg(feature = "std")] use primitives::bytes; -use primitives::{Ed25519AuthorityId, OpaqueMetadata}; -use rstd::prelude::*; +use primitives::{ed25519, OpaqueMetadata}; +use roles::actors; +use rstd::prelude::*; // needed for Vec use runtime_primitives::{ create_runtime_str, generic, - traits::{self as runtime_traits, BlakeTwo256, Block as BlockT, Convert, StaticLookup}, + traits::{ + self as runtime_traits, AuthorityIdFor, BlakeTwo256, Block as BlockT, + CurrencyToVoteHandler, DigestFor, NumberFor, StaticLookup, Verify, + }, transaction_validity::TransactionValidity, - ApplyResult, Ed25519Signature, + AnySignature, ApplyResult, }; + #[cfg(feature = "std")] use version::NativeVersion; use version::RuntimeVersion; @@ -54,14 +58,24 @@ pub use consensus::Call as ConsensusCall; pub use runtime_primitives::BuildStorage; pub use runtime_primitives::{Perbill, Permill}; pub use srml_support::{construct_runtime, StorageValue}; +pub use staking::StakerStatus; pub use timestamp::BlockPeriod; pub use timestamp::Call as TimestampCall; -/// Alias to Ed25519 pubkey that identifies an account on the chain. -pub type AccountId = primitives::H256; +/// The type that is used for identifying authorities. +pub type AuthorityId = ::Signer; + +/// The type used by authorities to prove their ID. +pub type AuthoritySignature = ed25519::Signature; + +/// Alias to pubkey that identifies an account on the chain. +pub type AccountId = ::Signer; -/// Alias for ContentId, used in various places -pub type ContentId = u64; +/// The type used by accounts to prove their ID. +pub type AccountSignature = AnySignature; + +/// Alias for ContentId, used in various places. +pub type ContentId = primitives::H256; /// A hash of some data used by the chain. pub type Hash = primitives::H256; @@ -81,30 +95,39 @@ pub mod opaque { /// Opaque, encoded, unchecked extrinsic. #[derive(PartialEq, Eq, Clone, Default, Encode, Decode)] - #[cfg_attr(feature = "std", derive(Serialize, Deserialize, Debug))] + #[cfg_attr(feature = "std", derive(Serialize, Deserialize))] pub struct UncheckedExtrinsic(#[cfg_attr(feature = "std", serde(with = "bytes"))] pub Vec); + #[cfg(feature = "std")] + impl std::fmt::Debug for UncheckedExtrinsic { + fn fmt(&self, fmt: &mut std::fmt::Formatter) -> std::fmt::Result { + write!(fmt, "{}", primitives::hexdisplay::HexDisplay::from(&self.0)) + } + } impl runtime_traits::Extrinsic for UncheckedExtrinsic { fn is_signed(&self) -> Option { None } } /// Opaque block header type. - pub type Header = - generic::Header>; + pub type Header = generic::Header< + BlockNumber, + BlakeTwo256, + generic::DigestItem, + >; /// Opaque block type. pub type Block = generic::Block; /// Opaque block identifier type. pub type BlockId = generic::BlockId; /// Opaque session key type. - pub type SessionKey = Ed25519AuthorityId; + pub type SessionKey = AuthorityId; } /// This runtime version. pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("joystream-node"), impl_name: create_runtime_str!("joystream-node"), - authoring_version: 3, - spec_version: 5, + authoring_version: 4, + spec_version: 1, impl_version: 0, apis: RUNTIME_API_VERSIONS, }; @@ -149,7 +172,7 @@ impl aura::Trait for Runtime { impl consensus::Trait for Runtime { /// The identifier we use to refer to authorities. - type SessionKey = Ed25519AuthorityId; + type SessionKey = AuthorityId; // The aura module handles offline-reports internally // rather than using an explicit report system. type InherentOfflineReport = (); @@ -157,16 +180,8 @@ impl consensus::Trait for Runtime { type Log = Log; } -/// Session key conversion. -pub struct SessionKeyConversion; -impl Convert for SessionKeyConversion { - fn convert(a: AccountId) -> Ed25519AuthorityId { - a.to_fixed_bytes().into() - } -} - impl session::Trait for Runtime { - type ConvertAccountIdToSessionKey = SessionKeyConversion; + type ConvertAccountIdToSessionKey = (); type OnSessionChange = (Staking,); type Event = Event; } @@ -193,18 +208,15 @@ impl balances::Trait for Runtime { /// The type for recording an account's balance. type Balance = u128; /// What to do if an account's free balance gets zeroed. - type OnFreeBalanceZero = Staking; + type OnFreeBalanceZero = (Staking, Session); /// What to do if a new account is created. - type OnNewAccount = Indices; - /// Restrict whether an account can transfer funds. We don't place any further restrictions. - type EnsureAccountLiquid = (Staking, Actors); + type OnNewAccount = (); /// The uniquitous event type. type Event = Event; -} -impl fees::Trait for Runtime { - type TransferAsset = Balances; - type Event = Event; + type TransactionPayment = (); + type DustRemoval = (); + type TransferPayment = (); } impl sudo::Trait for Runtime { @@ -215,8 +227,11 @@ impl sudo::Trait for Runtime { impl staking::Trait for Runtime { type Currency = balances::Module; + type CurrencyToVote = CurrencyToVoteHandler; type OnRewardMinted = (); type Event = Event; + type Slash = (); + type Reward = (); } impl governance::GovernanceCurrency for Runtime { @@ -251,6 +266,7 @@ impl storage::data_object_type_registry::Trait for Runtime { impl storage::data_directory::Trait for Runtime { type Event = Event; type ContentId = ContentId; + type SchemaId = u64; type Members = Members; type Roles = Actors; type IsActiveDataObjectType = DataObjectTypeRegistry; @@ -270,13 +286,6 @@ impl storage::data_object_storage_registry::Trait for Runtime { type ContentIdExists = DataDirectory; } -impl storage::content_directory::Trait for Runtime { - type Event = Event; - type MetadataId = u64; - type SchemaId = u64; - type Members = Members; -} - impl members::Trait for Runtime { type Event = Event; type MemberId = u64; @@ -294,8 +303,18 @@ impl actors::Trait for Runtime { type Members = Members; } +impl grandpa::Trait for Runtime { + type SessionKey = AuthorityId; + type Log = Log; + type Event = Event; +} + +impl finality_tracker::Trait for Runtime { + type OnFinalizationStalled = grandpa::SyncedAuthorities; +} + construct_runtime!( - pub enum Runtime with Log(InternalLog: DigestItem) where + pub enum Runtime with Log(InternalLog: DigestItem) where Block = Block, NodeBlock = opaque::Block, UncheckedExtrinsic = UncheckedExtrinsic @@ -308,20 +327,20 @@ construct_runtime!( Balances: balances, Session: session, Staking: staking::{default, OfflineWorker}, - Fees: fees::{Module, Storage, Config, Event}, Sudo: sudo, + FinalityTracker: finality_tracker::{Module, Call, Inherent}, + Grandpa: grandpa::{Module, Call, Storage, Config, Log(), Event}, Proposals: proposals::{Module, Call, Storage, Event, Config}, CouncilElection: election::{Module, Call, Storage, Event, Config}, Council: council::{Module, Call, Storage, Event, Config}, Memo: memo::{Module, Call, Storage, Event}, Members: members::{Module, Call, Storage, Event, Config}, Migration: migration::{Module, Call, Storage, Event}, - Actors: actors::{Module, Call, Storage, Event}, + Actors: actors::{Module, Call, Storage, Event, Config}, DataObjectTypeRegistry: data_object_type_registry::{Module, Call, Storage, Event, Config}, DataDirectory: data_directory::{Module, Call, Storage, Event}, DataObjectStorageRegistry: data_object_storage_registry::{Module, Call, Storage, Event, Config}, DownloadSessions: downloads::{Module, Call, Storage, Event, Config}, - ContentDirectory: content_directory::{Module, Call, Storage, Event, Config}, } ); @@ -337,33 +356,33 @@ pub type Block = generic::Block; pub type BlockId = generic::BlockId; /// Unchecked extrinsic type as expected by this runtime. pub type UncheckedExtrinsic = - generic::UncheckedMortalCompactExtrinsic; + generic::UncheckedMortalCompactExtrinsic; /// Extrinsic type that has already been checked. pub type CheckedExtrinsic = generic::CheckedExtrinsic; /// Executive: handles dispatch to the various modules. -pub type Executive = executive::Executive; +pub type Executive = executive::Executive; // Implement our runtime API endpoints. This is just a bunch of proxying. impl_runtime_apis! { - impl runtime_api::Core for Runtime { + impl client_api::Core for Runtime { fn version() -> RuntimeVersion { VERSION } - fn authorities() -> Vec { - Consensus::authorities() - } - fn execute_block(block: Block) { Executive::execute_block(block) } - fn initialise_block(header: &::Header) { - Executive::initialise_block(header) + fn initialize_block(header: &::Header) { + Executive::initialize_block(header) + } + + fn authorities() -> Vec> { + panic!("Deprecated, please use `AuthoritiesApi`.") } } - impl runtime_api::Metadata for Runtime { + impl client_api::Metadata for Runtime { fn metadata() -> OpaqueMetadata { Runtime::metadata().into() } @@ -374,8 +393,8 @@ impl_runtime_apis! { Executive::apply_extrinsic(extrinsic) } - fn finalise_block() -> ::Header { - Executive::finalise_block() + fn finalize_block() -> ::Header { + Executive::finalize_block() } fn inherent_extrinsics(data: InherentData) -> Vec<::Extrinsic> { @@ -391,15 +410,61 @@ impl_runtime_apis! { } } - impl runtime_api::TaggedTransactionQueue for Runtime { + impl client_api::TaggedTransactionQueue for Runtime { fn validate_transaction(tx: ::Extrinsic) -> TransactionValidity { Executive::validate_transaction(tx) } } + impl offchain_primitives::OffchainWorkerApi for Runtime { + fn offchain_worker(number: NumberFor) { + Executive::offchain_worker(number) + } + } + + impl fg_primitives::GrandpaApi for Runtime { + fn grandpa_pending_change(digest: &DigestFor) + -> Option>> + { + for log in digest.logs.iter().filter_map(|l| match l { + Log(InternalLog::grandpa(grandpa_signal)) => Some(grandpa_signal), + _ => None + }) { + if let Some(change) = Grandpa::scrape_digest_change(log) { + return Some(change); + } + } + None + } + + fn grandpa_forced_change(digest: &DigestFor) + -> Option<(NumberFor, ScheduledChange>)> + { + for log in digest.logs.iter().filter_map(|l| match l { + Log(InternalLog::grandpa(grandpa_signal)) => Some(grandpa_signal), + _ => None + }) { + if let Some(change) = Grandpa::scrape_digest_forced_change(log) { + return Some(change); + } + } + None + } + + fn grandpa_authorities() -> Vec<(AuthorityId, u64)> { + Grandpa::grandpa_authorities() + } + } + impl consensus_aura::AuraApi for Runtime { fn slot_duration() -> u64 { Aura::slot_duration() } } + + impl consensus_authorities::AuthoritiesApi for Runtime { + fn authorities() -> Vec> { + Consensus::authorities() + } + } } diff --git a/src/membership/members.rs b/src/membership/members.rs index f3f19623bc..6d32f276f0 100644 --- a/src/membership/members.rs +++ b/src/membership/members.rs @@ -1,5 +1,3 @@ -#![cfg_attr(not(feature = "std"), no_std)] - use crate::governance::{BalanceOf, GovernanceCurrency}; use crate::traits::{Members, Roles}; use parity_codec::Codec; diff --git a/src/membership/mock.rs b/src/membership/mock.rs index c4e0317dd7..7cacab22d5 100644 --- a/src/membership/mock.rs +++ b/src/membership/mock.rs @@ -2,12 +2,13 @@ pub use super::members; pub use crate::governance::GovernanceCurrency; +pub use srml_support::traits::Currency; pub use system; pub use primitives::{Blake2Hasher, H256}; pub use runtime_primitives::{ testing::{Digest, DigestItem, Header, UintAuthorityId}, - traits::{BlakeTwo256, IdentityLookup, OnFinalise}, + traits::{BlakeTwo256, IdentityLookup, OnFinalize}, BuildStorage, }; @@ -60,8 +61,9 @@ impl balances::Trait for Test { /// Handler for when a new account is created. type OnNewAccount = (); - /// A function that returns true iff a given account can transfer its funds to another account. - type EnsureAccountLiquid = (); + type TransactionPayment = (); + type DustRemoval = (); + type TransferPayment = (); } impl GovernanceCurrency for Test { diff --git a/src/membership/mod.rs b/src/membership/mod.rs index 4823630e62..91eca5f127 100644 --- a/src/membership/mod.rs +++ b/src/membership/mod.rs @@ -1,5 +1,3 @@ -#![cfg_attr(not(feature = "std"), no_std)] - pub mod members; mod mock; diff --git a/src/membership/tests.rs b/src/membership/tests.rs index c1865ba22f..8b8796543d 100644 --- a/src/membership/tests.rs +++ b/src/membership/tests.rs @@ -51,7 +51,7 @@ fn buy_default_membership_as_alice() -> dispatch::Result { } fn set_alice_free_balance(balance: u32) { - Balances::set_free_balance(&ALICE_ACCOUNT_ID, balance); + let _ = Balances::deposit_creating(&ALICE_ACCOUNT_ID, balance); } #[test] diff --git a/src/memo.rs b/src/memo.rs index 142f40a4b2..fdda6481d1 100644 --- a/src/memo.rs +++ b/src/memo.rs @@ -1,5 +1,3 @@ -#![cfg_attr(not(feature = "std"), no_std)] - use crate::governance::GovernanceCurrency; use rstd::prelude::*; use runtime_primitives::traits::Zero; diff --git a/src/migration.rs b/src/migration.rs index 3aa4027428..b86ef11eba 100644 --- a/src/migration.rs +++ b/src/migration.rs @@ -1,12 +1,10 @@ -#![cfg_attr(not(feature = "std"), no_std)] - -use crate::governance::BalanceOf; +//use crate::governance::BalanceOf; use crate::membership::members; use crate::roles::actors; use crate::VERSION; use rstd::prelude::*; use runtime_io::print; -use runtime_primitives::traits::As; +//use runtime_primitives::traits::As; use srml_support::{decl_event, decl_module, decl_storage, StorageValue}; use system; @@ -15,7 +13,7 @@ use system; // the runtime doesn't need to maintain any logic for old migrations. All knowledge about state of the chain and runtime // prior to the new runtime taking over is implicit in the migration code implementation. If assumptions are incorrect // behaviour is undefined. -const MIGRATION_FOR_SPEC_VERSION: u32 = 5; +const MIGRATION_FOR_SPEC_VERSION: u32 = 2; impl Module { fn runtime_initialization() { @@ -25,28 +23,6 @@ impl Module { print("running runtime initializers"); - >::initialize_storage(); - - // Initialize Storage provider role parameters - >::set_role_parameters( - actors::Role::Storage, - actors::RoleParameters { - min_stake: BalanceOf::::sa(3000), - max_actors: 10, - reward: BalanceOf::::sa(10), - reward_period: T::BlockNumber::sa(600), - unbonding_period: T::BlockNumber::sa(600), - entry_request_fee: BalanceOf::::sa(50), - - // not currently used - min_actors: 5, - bonding_period: T::BlockNumber::sa(600), - min_service_period: T::BlockNumber::sa(600), - startup_grace_period: T::BlockNumber::sa(600), - }, - ); - >::set_available_roles(vec![actors::Role::Storage]); - // ... // add initialization of other modules introduced in this runtime // ... @@ -66,7 +42,7 @@ decl_storage! { trait Store for Module as Migration { /// Records at what runtime spec version the store was initialized. This allows the runtime /// to know when to run initialize code if it was installed as an update. - pub SpecVersion get(spec_version) build(|_| Some(VERSION.spec_version)) : Option; + pub SpecVersion get(spec_version) build(|_| VERSION.spec_version) : Option; } } @@ -80,7 +56,7 @@ decl_module! { pub struct Module for enum Call where origin: T::Origin { fn deposit_event() = default; - fn on_initialise(_now: T::BlockNumber) { + fn on_initialize(_now: T::BlockNumber) { if Self::spec_version().map_or(true, |spec_version| VERSION.spec_version > spec_version) { // mark store version with current version of the runtime >::put(VERSION.spec_version); diff --git a/src/roles/actors.rs b/src/roles/actors.rs index 3b2cd9000f..781ccddbaf 100644 --- a/src/roles/actors.rs +++ b/src/roles/actors.rs @@ -1,19 +1,17 @@ -#![cfg_attr(not(feature = "std"), no_std)] - use crate::governance::{BalanceOf, GovernanceCurrency}; use parity_codec_derive::{Decode, Encode}; use rstd::prelude::*; use runtime_primitives::traits::{As, Bounded, MaybeDebug, Zero}; -use srml_support::traits::{Currency, EnsureAccountLiquid}; -use srml_support::{ - decl_event, decl_module, decl_storage, dispatch, ensure, StorageMap, StorageValue, -}; +use srml_support::traits::{Currency, LockIdentifier, LockableCurrency, WithdrawReasons}; +use srml_support::{decl_event, decl_module, decl_storage, ensure, StorageMap, StorageValue}; use system::{self, ensure_signed}; use crate::traits::{Members, Roles}; static MSG_NO_ACTOR_FOR_ROLE: &str = "For the specified role, no actor is currently staked."; +const STAKING_ID: LockIdentifier = *b"role_stk"; + #[derive(Encode, Decode, Copy, Clone, Eq, PartialEq, Debug)] pub enum Role { Storage, @@ -56,6 +54,25 @@ pub struct RoleParameters { pub entry_request_fee: BalanceOf, } +impl Default for RoleParameters { + fn default() -> Self { + Self { + min_stake: BalanceOf::::sa(3000), + max_actors: 10, + reward: BalanceOf::::sa(10), + reward_period: T::BlockNumber::sa(600), + unbonding_period: T::BlockNumber::sa(600), + entry_request_fee: BalanceOf::::sa(50), + + // not currently used + min_actors: 5, + bonding_period: T::BlockNumber::sa(600), + min_service_period: T::BlockNumber::sa(600), + startup_grace_period: T::BlockNumber::sa(600), + } + } +} + #[derive(Encode, Decode, Clone)] pub struct Actor { pub member_id: MemberId, @@ -80,16 +97,29 @@ pub type Request = ( ); pub type Requests = Vec>; -pub const REQUEST_LIFETIME: u64 = 300; -pub const DEFAULT_REQUEST_CLEARING_INTERVAL: u64 = 100; +pub const DEFAULT_REQUEST_LIFETIME: u64 = 300; +pub const REQUEST_CLEARING_INTERVAL: u64 = 100; decl_storage! { trait Store for Module as Actors { /// requirements to enter and maintain status in roles - pub Parameters get(parameters) : map Role => Option>; + pub Parameters get(parameters) build(|config: &GenesisConfig| { + if config.enable_storage_role { + let storage_params: RoleParameters = Default::default(); + vec![(Role::Storage, storage_params)] + } else { + vec![] + } + }): map Role => Option>; /// the roles members can enter into - pub AvailableRoles get(available_roles) : Vec; + pub AvailableRoles get(available_roles) build(|config: &GenesisConfig| { + if config.enable_storage_role { + vec![(Role::Storage)] + } else { + vec![] + } + }): Vec; /// Actors list pub ActorAccountIds get(actor_account_ids) : Vec; @@ -103,17 +133,19 @@ decl_storage! { /// actor accounts associated with a member id pub AccountIdsByMemberId get(account_ids_by_member_id) : map MemberId => Vec; - /// tokens locked until given block number - pub Bondage get(bondage) : map T::AccountId => T::BlockNumber; - /// First step before enter a role is registering intent with a new account/key. /// This is done by sending a role_entry_request() from the new account. /// The member must then send a stake() transaction to approve the request and enter the desired role. /// The account making the request will be bonded and must have /// sufficient balance to cover the minimum stake for the role. /// Bonding only occurs after successful entry into a role. - /// The request expires after REQUEST_LIFETIME blocks pub RoleEntryRequests get(role_entry_requests) : Requests; + + /// Entry request expires after this number of blocks + pub RequestLifeTime get(request_life_time) config(request_life_time) : u64 = DEFAULT_REQUEST_LIFETIME; + } + add_extra_genesis { + config(enable_storage_role): bool; } } @@ -182,9 +214,13 @@ impl Module { unbonding_period: T::BlockNumber, ) { // simple unstaking ...only applying unbonding period - >::insert( + let value = T::Currency::free_balance(&actor_account); + T::Currency::set_lock( + STAKING_ID, &actor_account, + value, >::block_number() + unbonding_period, + WithdrawReasons::all(), ); Self::remove_actor_from_service(actor_account, role, member_id); @@ -193,7 +229,7 @@ impl Module { impl Roles for Module { fn is_role_account(account_id: &T::AccountId) -> bool { - >::exists(account_id) || >::exists(account_id) + >::exists(account_id) } fn account_has_role(account_id: &T::AccountId, role: Role) -> bool { @@ -219,9 +255,9 @@ decl_module! { pub struct Module for enum Call where origin: T::Origin { fn deposit_event() = default; - fn on_initialise(now: T::BlockNumber) { + fn on_initialize(now: T::BlockNumber) { // clear expired requests - if now % T::BlockNumber::sa(DEFAULT_REQUEST_CLEARING_INTERVAL) == T::BlockNumber::zero() { + if now % T::BlockNumber::sa(REQUEST_CLEARING_INTERVAL) == T::BlockNumber::zero() { let requests: Requests = Self::role_entry_requests() .into_iter() .filter(|request| request.3 < now) @@ -231,7 +267,7 @@ decl_module! { } } - fn on_finalise(now: T::BlockNumber) { + fn on_finalize(now: T::BlockNumber) { // payout rewards to actors for role in Self::available_roles().iter() { @@ -243,7 +279,7 @@ decl_module! { if now > actor.joined_at + params.reward_period { // send reward to member account - not the actor account if let Ok(member_account) = T::Members::lookup_account_by_member_id(actor.member_id) { - let _ = T::Currency::reward(&member_account, params.reward); + let _ = T::Currency::deposit_into_existing(&member_account, params.reward); } } } @@ -251,26 +287,6 @@ decl_module! { } } - if now % T::BlockNumber::sa(100) == T::BlockNumber::zero() { - // clear unbonded accounts - let actor_accounts: Vec = Self::actor_account_ids() - .into_iter() - .filter(|account| { - if >::exists(account) { - if Self::bondage(account) > now { - true - } else { - >::remove(account); - false - } - } else { - true - } - }) - .collect(); - >::put(actor_accounts); - } - // eject actors not staking the minimum // iterating over available roles, so if a role has been removed at some point // and an actor hasn't unstaked .. this will not apply to them.. which doesn't really matter @@ -298,7 +314,7 @@ decl_module! { let _ = T::Currency::slash(&sender, fee); >::mutate(|requests| { - let expires = >::block_number()+ T::BlockNumber::sa(REQUEST_LIFETIME); + let expires = >::block_number()+ T::BlockNumber::sa(Self::request_life_time()); requests.push((sender.clone(), member_id, role, expires)); }); Self::deposit_event(RawEvent::EntryRequested(sender, role)); @@ -333,7 +349,8 @@ decl_module! { >::mutate(role, |accounts| accounts.push(actor_account.clone())); >::mutate(&member_id, |accounts| accounts.push(actor_account.clone())); - >::insert(&actor_account, T::BlockNumber::max_value()); + let value = T::Currency::free_balance(&actor_account); + T::Currency::set_lock(STAKING_ID, &actor_account, value, T::BlockNumber::max_value(), WithdrawReasons::all()); >::insert(&actor_account, Actor { member_id, account: actor_account.clone(), @@ -392,13 +409,3 @@ decl_module! { } } } - -impl EnsureAccountLiquid for Module { - fn ensure_account_liquid(who: &T::AccountId) -> dispatch::Result { - if Self::bondage(who) <= >::block_number() { - Ok(()) - } else { - Err("cannot transfer illiquid funds") - } - } -} diff --git a/src/roles/mock.rs b/src/roles/mock.rs index 4dba02bb9a..3cbabef330 100644 --- a/src/roles/mock.rs +++ b/src/roles/mock.rs @@ -3,12 +3,13 @@ pub use super::actors; pub use crate::governance::GovernanceCurrency; use crate::traits::Members; +pub use srml_support::traits::Currency; pub use system; pub use primitives::{Blake2Hasher, H256}; pub use runtime_primitives::{ testing::{Digest, DigestItem, Header, UintAuthorityId}, - traits::{BlakeTwo256, IdentityLookup, OnFinalise}, + traits::{BlakeTwo256, IdentityLookup, OnFinalize}, BuildStorage, }; @@ -61,8 +62,9 @@ impl balances::Trait for Test { /// Handler for when a new account is created. type OnNewAccount = (); - /// A function that returns true iff a given account can transfer its funds to another account. - type EnsureAccountLiquid = (); + type TransactionPayment = (); + type DustRemoval = (); + type TransferPayment = (); } impl GovernanceCurrency for Test { diff --git a/src/roles/mod.rs b/src/roles/mod.rs index 4ddb9c4f5d..5a7681c3bb 100644 --- a/src/roles/mod.rs +++ b/src/roles/mod.rs @@ -1,5 +1,3 @@ -#![cfg_attr(not(feature = "std"), no_std)] - pub mod actors; mod mock; diff --git a/src/roles/tests.rs b/src/roles/tests.rs index da9d630b82..37f9a9d259 100644 --- a/src/roles/tests.rs +++ b/src/roles/tests.rs @@ -1,7 +1,6 @@ #![cfg(test)] use super::mock::*; -//use super::*; use runtime_io::with_externalities; use srml_support::*; @@ -74,7 +73,7 @@ fn make_entry_request() { ); let surplus_balance = 100; - Balances::set_free_balance( + let _ = Balances::deposit_creating( &actor_account, storage_params.entry_request_fee + surplus_balance, ); @@ -97,7 +96,7 @@ fn make_entry_request() { assert_eq!(request.0, actor_account); assert_eq!(request.1, MockMembers::alice_id()); assert_eq!(request.2, actors::Role::Storage); - assert_eq!(request.3, starting_block + actors::REQUEST_LIFETIME); + assert_eq!(request.3, starting_block + Actors::request_life_time()); }); } @@ -117,7 +116,7 @@ fn staking() { >::put(vec![request]); - Balances::set_free_balance(&actor_account, storage_params.min_stake); + let _ = Balances::deposit_creating(&actor_account, storage_params.min_stake); assert!(Actors::stake( Origin::signed(MockMembers::alice_account()), @@ -138,7 +137,8 @@ fn staking() { let account_ids_for_member = Actors::account_ids_by_member_id(MockMembers::alice_id()); assert_eq!(account_ids_for_member, vec![actor_account]); - assert!(>::exists(actor_account)); + let num_of_locks = Balances::locks(&actor_account).len(); + assert_eq!(num_of_locks, 1); }); } @@ -163,7 +163,6 @@ fn unstaking() { >::insert(&actor_account, actor); >::insert(actors::Role::Storage, vec![actor_account]); >::insert(MockMembers::alice_id(), vec![actor_account]); - >::insert(&actor_account, 10000); let current_block = 500; System::set_block_number(current_block); @@ -182,10 +181,8 @@ fn unstaking() { let account_ids_for_member = Actors::account_ids_by_member_id(MockMembers::alice_id()); assert_eq!(account_ids_for_member.len(), 0); - assert!(>::exists(actor_account)); - assert_eq!( - Actors::bondage(actor_account), - current_block + storage_params.unbonding_period - ); + let lock = Balances::locks(&actor_account)[0].clone(); + // assuming this is our lock + assert_eq!(lock.until, current_block + storage_params.unbonding_period); }); } diff --git a/src/storage/content_directory.rs b/src/storage/content_directory.rs index a66b13ee4d..755aadc8b3 100644 --- a/src/storage/content_directory.rs +++ b/src/storage/content_directory.rs @@ -1,5 +1,3 @@ -#![cfg_attr(not(feature = "std"), no_std)] - use crate::storage::data_object_type_registry::Trait as DOTRTrait; use crate::traits::Members; use parity_codec::Codec; diff --git a/src/storage/data_directory.rs b/src/storage/data_directory.rs index a345f40a49..48c9dded27 100644 --- a/src/storage/data_directory.rs +++ b/src/storage/data_directory.rs @@ -1,13 +1,12 @@ -#![cfg_attr(not(feature = "std"), no_std)] - use crate::roles::actors; use crate::storage::data_object_type_registry::Trait as DOTRTrait; use crate::traits::{ContentIdExists, IsActiveDataObjectType, Members, Roles}; use parity_codec::Codec; use parity_codec_derive::{Decode, Encode}; -use primitives::Ed25519AuthorityId; use rstd::prelude::*; -use runtime_primitives::traits::{As, MaybeDebug, MaybeSerializeDebug, Member, SimpleArithmetic}; +use runtime_primitives::traits::{ + As, MaybeDebug, MaybeSerializeDebug, Member, SimpleArithmetic, MaybeDisplay +}; use srml_support::{ decl_event, decl_module, decl_storage, dispatch, ensure, Parameter, StorageMap, StorageValue, }; @@ -16,16 +15,10 @@ use system::{self, ensure_signed}; pub trait Trait: timestamp::Trait + system::Trait + DOTRTrait + MaybeDebug { type Event: From> + Into<::Event>; - type ContentId: Parameter - + Member - + SimpleArithmetic - + Codec - + Default - + Copy - + As - + As - + MaybeSerializeDebug - + PartialEq; + type ContentId: Parameter + Member + MaybeSerializeDebug + MaybeDisplay + Copy + Ord + Default; + + type SchemaId: Parameter + Member + SimpleArithmetic + Codec + Default + Copy + + As + As + MaybeSerializeDebug + PartialEq; type Members: Members; type Roles: Roles; @@ -38,14 +31,19 @@ static MSG_CREATOR_MUST_BE_MEMBER: &str = "Only active members may create conten static MSG_DO_TYPE_MUST_BE_ACTIVE: &str = "Cannot create content for inactive or missing data object type."; -const DEFAULT_FIRST_CONTENT_ID: u64 = 1; +#[derive(Clone, Encode, Decode, PartialEq)] +#[cfg_attr(feature = "std", derive(Debug))] +pub struct BlockAndTime { + pub block: T::BlockNumber, + pub time: T::Moment, +} #[derive(Clone, Encode, Decode, PartialEq)] #[cfg_attr(feature = "std", derive(Debug))] pub enum LiaisonJudgement { Pending, - Rejected, Accepted, + Rejected, } impl Default for LiaisonJudgement { @@ -57,26 +55,68 @@ impl Default for LiaisonJudgement { #[derive(Clone, Encode, Decode, PartialEq)] #[cfg_attr(feature = "std", derive(Debug))] pub struct DataObject { - pub data_object_type: ::DataObjectTypeId, - pub signing_key: Option, - pub size: u64, - pub added_at_block: T::BlockNumber, - pub added_at_time: T::Moment, pub owner: T::AccountId, + pub added_at: BlockAndTime, + pub type_id: ::DataObjectTypeId, + pub size: u64, pub liaison: T::AccountId, pub liaison_judgement: LiaisonJudgement, + + // TODO signing_key: public key supplied by the uploader, + // they sigh the content with this key + + // TODO add support for this field (Some if judgment == Rejected) + // pub rejection_reason: Option>, +} + +#[derive(Clone, Encode, Decode, PartialEq)] +#[cfg_attr(feature = "std", derive(Debug))] +// TODO ContentVisibility +pub enum ContentVisibility { + Draft, // TODO rename to Unlisted? + Public, +} + +impl Default for ContentVisibility { + fn default() -> Self { + ContentVisibility::Draft // TODO make Public by default? + } +} + +#[derive(Clone, Encode, Decode, PartialEq)] +#[cfg_attr(feature = "std", derive(Debug))] +pub struct ContentMetadata { + pub owner: T::AccountId, + pub added_at: BlockAndTime, + pub children_ids: Vec, + pub visibility: ContentVisibility, + pub schema: T::SchemaId, + pub json: Vec, +} + +#[derive(Clone, Encode, Decode, PartialEq)] +#[cfg_attr(feature = "std", derive(Debug))] +pub struct ContentMetadataUpdate { + pub children_ids: Option>, + pub visibility: Option, + pub schema: Option, + pub json: Option>, } decl_storage! { trait Store for Module as DataDirectory { - // Start at this value - pub FirstContentId get(first_content_id) config(first_content_id): T::ContentId = T::ContentId::sa(DEFAULT_FIRST_CONTENT_ID); - // Increment - pub NextContentId get(next_content_id) build(|config: &GenesisConfig| config.first_content_id): T::ContentId = T::ContentId::sa(DEFAULT_FIRST_CONTENT_ID); + // TODO default_liaison = Joystream storage account id. + + // TODO this list of ids should be moved off-chain once we have Content Indexer. + // TODO deprecated, moved tp storage relationship + KnownContentIds get(known_content_ids): Vec = vec![]; + + DataObjectByContentId get(data_object_by_content_id): + map T::ContentId => Option>; - // Mapping of Content ID to Data Object - pub Contents get(contents): map T::ContentId => Option>; + MetadataByContentId get(metadata_by_content_id): + map T::ContentId => Option>; } } @@ -85,25 +125,16 @@ decl_event! { ::ContentId, ::AccountId { - // The account is the Liaison that was selected + // The account is the one who uploaded the content. ContentAdded(ContentId, AccountId), - // The account is the liaison again - only they can reject or accept + // The account is the liaison - only they can reject or accept ContentAccepted(ContentId, AccountId), ContentRejected(ContentId, AccountId), - } -} - -impl ContentIdExists for Module { - fn has_content(which: &T::ContentId) -> bool { - Self::contents(which.clone()).is_some() - } - fn get_data_object(which: &T::ContentId) -> Result, &'static str> { - match Self::contents(which.clone()) { - None => Err(MSG_CID_NOT_FOUND), - Some(data) => Ok(data), - } + // The account is the owner of the content. + MetadataAdded(ContentId, AccountId), + MetadataUpdated(ContentId, AccountId), } } @@ -111,71 +142,170 @@ decl_module! { pub struct Module for enum Call where origin: T::Origin { fn deposit_event() = default; - pub fn add_content(origin, data_object_type_id: ::DataObjectTypeId, - size: u64, signing_key: Option) { - // Origin has to be a member + // TODO send file_name as param so we could create a Draft metadata in this fn + pub fn add_content( + origin, + content_id: T::ContentId, + type_id: ::DataObjectTypeId, + size: u64 + ) { let who = ensure_signed(origin)?; ensure!(T::Members::is_active_member(&who), MSG_CREATOR_MUST_BE_MEMBER); - // Data object type has to be active - ensure!(T::IsActiveDataObjectType::is_active_data_object_type(&data_object_type_id), MSG_DO_TYPE_MUST_BE_ACTIVE); + ensure!(T::IsActiveDataObjectType::is_active_data_object_type(&type_id), + MSG_DO_TYPE_MUST_BE_ACTIVE); + + ensure!(!>::exists(content_id), + "Data object aready added under this content id"); // The liaison is something we need to take from staked roles. The idea // is to select the liaison, for now randomly. let liaison = T::Roles::random_account_for_role(actors::Role::Storage)?; // Let's create the entry then - let new_id = Self::next_content_id(); let data: DataObject = DataObject { - data_object_type: data_object_type_id, - signing_key: signing_key, - size: size, - added_at_block: >::block_number(), - added_at_time: >::now(), - owner: who, - liaison: liaison.clone(), + type_id, + size, + added_at: Self::current_block_and_time(), + owner: who.clone(), + liaison: liaison, liaison_judgement: LiaisonJudgement::Pending, }; - // If we've constructed the data, we can store it and send an event. - >::insert(new_id, data); - >::mutate(|n| { *n += T::ContentId::sa(1); }); - - Self::deposit_event(RawEvent::ContentAdded(new_id, liaison)); + >::insert(&content_id, data); + Self::deposit_event(RawEvent::ContentAdded(content_id, who)); } // The LiaisonJudgement can be updated, but only by the liaison. - fn accept_content(origin, id: T::ContentId) { + fn accept_content(origin, content_id: T::ContentId) { let who = ensure_signed(origin)?; - Self::update_content_judgement(&who, id.clone(), LiaisonJudgement::Accepted)?; - Self::deposit_event(RawEvent::ContentAccepted(id, who)); + Self::update_content_judgement(&who, content_id.clone(), LiaisonJudgement::Accepted)?; + Self::deposit_event(RawEvent::ContentAccepted(content_id, who)); } - fn reject_content(origin, id: T::ContentId) { + fn reject_content(origin, content_id: T::ContentId) { let who = ensure_signed(origin)?; - Self::update_content_judgement(&who, id.clone(), LiaisonJudgement::Rejected)?; - Self::deposit_event(RawEvent::ContentRejected(id, who)); + Self::update_content_judgement(&who, content_id.clone(), LiaisonJudgement::Rejected)?; + Self::deposit_event(RawEvent::ContentRejected(content_id, who)); + } + + fn add_metadata( + origin, + content_id: T::ContentId, + update: ContentMetadataUpdate + ) { + let who = ensure_signed(origin)?; + ensure!(T::Members::is_active_member(&who), + "Only active members can add content metadata"); + + ensure!(!>::exists(&content_id), + "Metadata aready added under this content id"); + + let schema = update.schema.ok_or("Schema is required")?; + Self::validate_metadata_schema(&schema)?; + + let json = update.json.ok_or("JSON is required")?; + Self::validate_metadata_json(&json)?; + + let meta = ContentMetadata { + owner: who.clone(), + added_at: Self::current_block_and_time(), + children_ids: vec![], + visibility: update.visibility.unwrap_or_default(), + schema, + json, + }; + + // TODO temporary hack!!! + // TODO create Storage Relationship. ready = true + + >::insert(&content_id, meta); + >::mutate(|ids| ids.push(content_id)); + Self::deposit_event(RawEvent::MetadataAdded(content_id, who)); + } + + fn update_metadata( + origin, + content_id: T::ContentId, + update: ContentMetadataUpdate + ) { + let who = ensure_signed(origin)?; + + // Even if origin is an owner of metadata, they stil need to be an active member. + ensure!(T::Members::is_active_member(&who), + "Only active members can update content metadata"); + + let has_updates = update.schema.is_some() || update.json.is_some(); + ensure!(has_updates, "No updates provided"); + + let mut meta = Self::metadata_by_content_id(&content_id) + .ok_or("No metadata found by content id")?; + + ensure!(meta.owner == who.clone(), "Only owner can update content metadata"); + + if let Some(schema) = update.schema { + Self::validate_metadata_schema(&schema)?; + meta.schema = schema; + } + if let Some(json) = update.json { + Self::validate_metadata_json(&json)?; + meta.json = json; + } + if let Some(visibility) = update.visibility { + meta.visibility = visibility; + } + + >::insert(&content_id, meta); + Self::deposit_event(RawEvent::MetadataUpdated(content_id, who)); + } + } +} + +impl ContentIdExists for Module { + + fn has_content(content_id: &T::ContentId) -> bool { + Self::data_object_by_content_id(content_id.clone()).is_some() + } + + fn get_data_object(content_id: &T::ContentId) -> Result, &'static str> { + match Self::data_object_by_content_id(content_id.clone()) { + Some(data) => Ok(data), + None => Err(MSG_CID_NOT_FOUND), } } } impl Module { + + fn current_block_and_time() -> BlockAndTime { + BlockAndTime { + block: >::block_number(), + time: >::now(), + } + } + + fn validate_metadata_schema(_schema: &T::SchemaId) -> dispatch::Result { + // TODO validate that schema id is registered. + Ok(()) + } + + fn validate_metadata_json(_json: &Vec) -> dispatch::Result { + // TODO validate a max length of JSON. + Ok(()) + } + fn update_content_judgement( who: &T::AccountId, - id: T::ContentId, + content_id: T::ContentId, judgement: LiaisonJudgement, ) -> dispatch::Result { - // Find the data - let mut data = Self::contents(&id).ok_or(MSG_CID_NOT_FOUND)?; + let mut data = Self::data_object_by_content_id(&content_id).ok_or(MSG_CID_NOT_FOUND)?; // Make sure the liaison matches ensure!(data.liaison == *who, MSG_LIAISON_REQUIRED); - // At this point we can update the data. data.liaison_judgement = judgement; - - // Update and send event. - >::insert(id, data); + >::insert(content_id, data); Ok(()) } @@ -247,4 +377,45 @@ mod tests { assert!(res.is_ok()); }); } + + // TODO update and add more tests for metadata + + // #[test] + // fn add_metadata() { + // with_default_mock_builder(|| { + // let res = + // TestContentDirectory::add_metadata(Origin::signed(1), 1, "foo".as_bytes().to_vec()); + // assert!(res.is_ok()); + // }); + // } + + // #[test] + // fn publish_metadata() { + // with_default_mock_builder(|| { + // let res = + // TestContentDirectory::add_metadata(Origin::signed(1), 1, "foo".as_bytes().to_vec()); + // assert!(res.is_ok()); + + // // Grab ID from event + // let metadata_id = match System::events().last().unwrap().event { + // MetaEvent::content_directory( + // content_directory::RawEvent::MetadataDraftCreated(metadata_id), + // ) => metadata_id, + // _ => 0xdeadbeefu64, // invalid value, unlikely to match + // }; + // assert_ne!(metadata_id, 0xdeadbeefu64); + + // // Publishing a bad ID should fail + // let res = TestContentDirectory::publish_metadata(Origin::signed(1), metadata_id + 1); + // assert!(res.is_err()); + + // // Publishing should not work for non-owners + // let res = TestContentDirectory::publish_metadata(Origin::signed(2), metadata_id); + // assert!(res.is_err()); + + // // For the owner, it should work however + // let res = TestContentDirectory::publish_metadata(Origin::signed(1), metadata_id); + // assert!(res.is_ok()); + // }); + // } } diff --git a/src/storage/data_object_storage_registry.rs b/src/storage/data_object_storage_registry.rs index c55a22e8c2..7b6cf5c9fd 100644 --- a/src/storage/data_object_storage_registry.rs +++ b/src/storage/data_object_storage_registry.rs @@ -1,5 +1,3 @@ -#![cfg_attr(not(feature = "std"), no_std)] - use crate::roles::actors; use crate::storage::data_directory::Trait as DDTrait; use crate::traits::{ContentHasStorage, ContentIdExists, Members, Roles}; @@ -15,16 +13,9 @@ use system::{self, ensure_signed}; pub trait Trait: timestamp::Trait + system::Trait + DDTrait + MaybeDebug { type Event: From> + Into<::Event>; - type DataObjectStorageRelationshipId: Parameter - + Member - + SimpleArithmetic - + Codec - + Default - + Copy - + As - + As - + MaybeSerializeDebug - + PartialEq; + // TODO deprecated + type DataObjectStorageRelationshipId: Parameter + Member + SimpleArithmetic + Codec + + Default + Copy + As + As + MaybeSerializeDebug + PartialEq; type Members: Members; type Roles: Roles; @@ -38,8 +29,10 @@ static MSG_ONLY_STORAGE_PROVIDER_MAY_CREATE_DOSR: &str = static MSG_ONLY_STORAGE_PROVIDER_MAY_CLAIM_READY: &str = "Only the storage provider in a DOSR can decide whether they're ready."; +// TODO deprecated const DEFAULT_FIRST_RELATIONSHIP_ID: u64 = 1; +// TODO deprecated #[derive(Clone, Encode, Decode, PartialEq)] #[cfg_attr(feature = "std", derive(Debug))] pub struct DataObjectStorageRelationship { @@ -50,17 +43,35 @@ pub struct DataObjectStorageRelationship { decl_storage! { trait Store for Module as DataObjectStorageRegistry { + + // TODO deprecated // Start at this value pub FirstRelationshipId get(first_relationship_id) config(first_relationship_id): T::DataObjectStorageRelationshipId = T::DataObjectStorageRelationshipId::sa(DEFAULT_FIRST_RELATIONSHIP_ID); + // TODO deprecated // Increment pub NextRelationshipId get(next_relationship_id) build(|config: &GenesisConfig| config.first_relationship_id): T::DataObjectStorageRelationshipId = T::DataObjectStorageRelationshipId::sa(DEFAULT_FIRST_RELATIONSHIP_ID); + // TODO deprecated // Mapping of Data object types pub Relationships get(relationships): map T::DataObjectStorageRelationshipId => Option>; + // TODO deprecated // Keep a list of storage relationships per CID pub RelationshipsByContentId get(relationships_by_content_id): map T::ContentId => Vec; + + // ------------------------------------------ + // TODO use next storage items insteam: + + // TODO save only if metadata exists and there is at least one relation w/ ready == true. + ReadyContentIds get(ready_content_ids): Vec = vec![]; + + // TODO need? it can be expressed via StorageProvidersByContentId + pub StorageProviderServesContent get(storage_provider_serves_content): + map (T::AccountId, T::ContentId) => bool; + + pub StorageProvidersByContentId get(storage_providers_by_content_id): + map T::ContentId => Vec; } } @@ -70,12 +81,19 @@ decl_event! { ::DataObjectStorageRelationshipId, ::AccountId { + // TODO deprecated DataObjectStorageRelationshipAdded(DataObjectStorageRelationshipId, ContentId, AccountId), DataObjectStorageRelationshipReadyUpdated(DataObjectStorageRelationshipId, bool), + + // NEW & COOL + StorageProviderAddedContent(AccountId, ContentId), + StorageProviderRemovedContent(AccountId, ContentId), } } impl ContentHasStorage for Module { + + // TODO deprecated fn has_storage_provider(which: &T::ContentId) -> bool { let dosr_list = Self::relationships_by_content_id(which); return dosr_list.iter().any(|&dosr_id| { @@ -88,6 +106,7 @@ impl ContentHasStorage for Module { }); } + // TODO deprecated fn is_ready_at_storage_provider(which: &T::ContentId, provider: &T::AccountId) -> bool { let dosr_list = Self::relationships_by_content_id(which); return dosr_list.iter().any(|&dosr_id| { diff --git a/src/storage/data_object_type_registry.rs b/src/storage/data_object_type_registry.rs index 9a290cfd2e..bc7ce0f1c2 100644 --- a/src/storage/data_object_type_registry.rs +++ b/src/storage/data_object_type_registry.rs @@ -1,30 +1,23 @@ -#![cfg_attr(not(feature = "std"), no_std)] - use crate::traits; use parity_codec::Codec; use parity_codec_derive::{Decode, Encode}; use rstd::prelude::*; use runtime_primitives::traits::{As, MaybeDebug, MaybeSerializeDebug, Member, SimpleArithmetic}; use srml_support::{decl_event, decl_module, decl_storage, Parameter, StorageMap, StorageValue}; -use system::{self, ensure_root}; pub trait Trait: system::Trait + MaybeDebug { type Event: From> + Into<::Event>; - type DataObjectTypeId: Parameter - + Member - + SimpleArithmetic - + Codec - + Default - + Copy - + As - + As - + MaybeSerializeDebug - + PartialEq; + type DataObjectTypeId: Parameter + Member + SimpleArithmetic + Codec + Default + Copy + + As + As + MaybeSerializeDebug + PartialEq; } static MSG_DO_TYPE_NOT_FOUND: &str = "Data Object Type with the given ID not found."; +const DEFAULT_TYPE_DESCRIPTION: &str = "Default data object type for audio and video content."; +const DEFAULT_TYPE_ACTIVE: bool = true; +const CREATE_DETAULT_TYPE: bool = true; + const DEFAULT_FIRST_DATA_OBJECT_TYPE_ID: u64 = 1; #[derive(Clone, Encode, Decode, PartialEq)] @@ -38,8 +31,20 @@ pub struct DataObjectType { // - storage tranches (empty is ok) } +impl Default for DataObjectType { + fn default() -> Self { + DataObjectType { + description: DEFAULT_TYPE_DESCRIPTION.as_bytes().to_vec(), + active: DEFAULT_TYPE_ACTIVE, + } + } +} + decl_storage! { trait Store for Module as DataObjectTypeRegistry { + + // TODO hardcode data object type for ID 1 + // Start at this value pub FirstDataObjectTypeId get(first_data_object_type_id) config(first_data_object_type_id): T::DataObjectTypeId = T::DataObjectTypeId::sa(DEFAULT_FIRST_DATA_OBJECT_TYPE_ID); @@ -47,7 +52,7 @@ decl_storage! { pub NextDataObjectTypeId get(next_data_object_type_id) build(|config: &GenesisConfig| config.first_data_object_type_id): T::DataObjectTypeId = T::DataObjectTypeId::sa(DEFAULT_FIRST_DATA_OBJECT_TYPE_ID); // Mapping of Data object types - pub DataObjectTypeMap get(data_object_type): map T::DataObjectTypeId => Option; + pub DataObjectTypes get(data_object_types): map T::DataObjectTypeId => Option; } } @@ -72,29 +77,38 @@ decl_module! { pub struct Module for enum Call where origin: T::Origin { fn deposit_event() = default; - pub fn register_data_object_type(origin, data_object_type: DataObjectType) { - ensure_root(origin)?; + fn on_initialise() { + // Create a default data object type if it was not created yet. + if CREATE_DETAULT_TYPE && !>::exists(Self::first_data_object_type_id()) { + let do_type: DataObjectType = DataObjectType::default(); + let new_type_id = Self::next_data_object_type_id(); + >::insert(new_type_id, do_type); + >::mutate(|n| { *n += T::DataObjectTypeId::sa(1); }); + } + } + + pub fn register_data_object_type(data_object_type: DataObjectType) { let new_do_type_id = Self::next_data_object_type_id(); let do_type: DataObjectType = DataObjectType { description: data_object_type.description.clone(), active: data_object_type.active, }; - >::insert(new_do_type_id, do_type); + >::insert(new_do_type_id, do_type); >::mutate(|n| { *n += T::DataObjectTypeId::sa(1); }); Self::deposit_event(RawEvent::DataObjectTypeRegistered(new_do_type_id)); } - pub fn update_data_object_type(origin, id: T::DataObjectTypeId, data_object_type: DataObjectType) { - ensure_root(origin)?; + // TODO use DataObjectTypeUpdate + pub fn update_data_object_type(id: T::DataObjectTypeId, data_object_type: DataObjectType) { let mut do_type = Self::ensure_data_object_type(id)?; do_type.description = data_object_type.description.clone(); do_type.active = data_object_type.active; - >::insert(id, do_type); + >::insert(id, do_type); Self::deposit_event(RawEvent::DataObjectTypeUpdated(id)); } @@ -102,34 +116,32 @@ decl_module! { // Activate and deactivate functions as separate functions, because // toggling DO types is likely a more common operation than updating // other aspects. - pub fn activate_data_object_type(origin, id: T::DataObjectTypeId) { - ensure_root(origin)?; + // TODO deprecate or express via update_data_type + pub fn activate_data_object_type(id: T::DataObjectTypeId) { let mut do_type = Self::ensure_data_object_type(id)?; do_type.active = true; - >::insert(id, do_type); + >::insert(id, do_type); Self::deposit_event(RawEvent::DataObjectTypeUpdated(id)); } - pub fn deactivate_data_object_type(origin, id: T::DataObjectTypeId) { - ensure_root(origin)?; + pub fn deactivate_data_object_type(id: T::DataObjectTypeId) { let mut do_type = Self::ensure_data_object_type(id)?; do_type.active = false; - >::insert(id, do_type); + >::insert(id, do_type); Self::deposit_event(RawEvent::DataObjectTypeUpdated(id)); } - } } impl Module { fn ensure_data_object_type(id: T::DataObjectTypeId) -> Result { - return Self::data_object_type(&id).ok_or(MSG_DO_TYPE_NOT_FOUND); + return Self::data_object_types(&id).ok_or(MSG_DO_TYPE_NOT_FOUND); } } @@ -250,7 +262,7 @@ mod tests { ); // Retrieve, and ensure it's not active. - let data = TestDataObjectTypeRegistry::data_object_type(TEST_FIRST_DATA_OBJECT_TYPE_ID); + let data = TestDataObjectTypeRegistry::data_object_types(TEST_FIRST_DATA_OBJECT_TYPE_ID); assert!(data.is_some()); assert!(!data.unwrap().active); @@ -273,7 +285,7 @@ mod tests { ); // Ensure that the item is actually activated. - let data = TestDataObjectTypeRegistry::data_object_type(TEST_FIRST_DATA_OBJECT_TYPE_ID); + let data = TestDataObjectTypeRegistry::data_object_types(TEST_FIRST_DATA_OBJECT_TYPE_ID); assert!(data.is_some()); assert!(data.unwrap().active); @@ -283,7 +295,7 @@ mod tests { TEST_FIRST_DATA_OBJECT_TYPE_ID, ); assert!(res.is_ok()); - let data = TestDataObjectTypeRegistry::data_object_type(TEST_FIRST_DATA_OBJECT_TYPE_ID); + let data = TestDataObjectTypeRegistry::data_object_types(TEST_FIRST_DATA_OBJECT_TYPE_ID); assert!(data.is_some()); assert!(!data.unwrap().active); }); diff --git a/src/storage/downloads.rs b/src/storage/downloads.rs index 2c3770a97d..664ce1c771 100644 --- a/src/storage/downloads.rs +++ b/src/storage/downloads.rs @@ -1,5 +1,3 @@ -#![cfg_attr(not(feature = "std"), no_std)] - /* * XXX This module is not really supposed to be used this way, and therefore also lacks tests. * @@ -64,6 +62,7 @@ pub struct DownloadSession { pub content_id: ::ContentId, pub consumer: T::AccountId, pub distributor: T::AccountId, + // TODO use BlockAndTime instead pub initiated_at_block: T::BlockNumber, pub initiated_at_time: T::Moment, pub state: DownloadState, diff --git a/src/storage/mock.rs b/src/storage/mock.rs index 0e7c12cf9a..6b0b8394e3 100644 --- a/src/storage/mock.rs +++ b/src/storage/mock.rs @@ -1,7 +1,7 @@ #![cfg(test)] pub use super::{ - content_directory, data_directory, data_object_storage_registry, data_object_type_registry, + data_directory, data_object_storage_registry, data_object_type_registry, }; use crate::governance::GovernanceCurrency; use crate::roles::actors; @@ -12,7 +12,7 @@ pub use system; pub use primitives::{Blake2Hasher, H256}; pub use runtime_primitives::{ testing::{Digest, DigestItem, Header, UintAuthorityId}, - traits::{BlakeTwo256, IdentityLookup, OnFinalise}, + traits::{BlakeTwo256, IdentityLookup, OnFinalize}, BuildStorage, }; @@ -27,7 +27,6 @@ impl_outer_event! { data_object_type_registry, data_directory, data_object_storage_registry, - content_directory, actors, balances, } @@ -153,13 +152,6 @@ impl data_object_storage_registry::Trait for Test { type ContentIdExists = MockContent; } -impl content_directory::Trait for Test { - type Event = MetaEvent; - type MetadataId = u64; - type SchemaId = u64; - type Members = MockMembers; -} - impl actors::Trait for Test { type Event = MetaEvent; type Members = MockMembers; @@ -191,8 +183,9 @@ impl balances::Trait for Test { /// Handler for when a new account is created. type OnNewAccount = (); - /// A function that returns true iff a given account can transfer its funds to another account. - type EnsureAccountLiquid = (); + type TransactionPayment = (); + type DustRemoval = (); + type TransferPayment = (); } impl GovernanceCurrency for Test { @@ -267,15 +260,6 @@ impl ExtBuilder { .0, ); - t.extend( - content_directory::GenesisConfig:: { - first_metadata_id: self.first_metadata_id, - } - .build_storage() - .unwrap() - .0, - ); - t.into() } } @@ -286,7 +270,6 @@ pub type TestDataObjectType = data_object_type_registry::DataObjectType; pub type TestDataDirectory = data_directory::Module; // pub type TestDataObject = data_directory::DataObject; pub type TestDataObjectStorageRegistry = data_object_storage_registry::Module; -pub type TestContentDirectory = content_directory::Module; pub type TestActors = actors::Module; pub fn with_default_mock_builder R>(f: F) -> R { diff --git a/src/storage/mod.rs b/src/storage/mod.rs index d2536f4f3e..52a52339a3 100644 --- a/src/storage/mod.rs +++ b/src/storage/mod.rs @@ -1,6 +1,3 @@ -#![cfg_attr(not(feature = "std"), no_std)] - -pub mod content_directory; pub mod data_directory; pub mod data_object_storage_registry; pub mod data_object_type_registry; diff --git a/src/traits.rs b/src/traits.rs index c2eba3136a..3e9d6565a2 100644 --- a/src/traits.rs +++ b/src/traits.rs @@ -1,5 +1,3 @@ -#![cfg_attr(not(feature = "std"), no_std)] - use crate::roles::actors; use crate::storage::{data_directory, data_object_storage_registry, data_object_type_registry}; use parity_codec::Codec; diff --git a/wasm/Cargo.lock b/wasm/Cargo.lock index 66fc93ec58..4098e8ad68 100644 --- a/wasm/Cargo.lock +++ b/wasm/Cargo.lock @@ -1,5 +1,57 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +[[package]] +name = "aes-ctr" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "aes-soft 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", + "aesni 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "ctr 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "stream-cipher 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "aes-soft" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "block-cipher-trait 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "opaque-debug 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "aesni" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "block-cipher-trait 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", + "opaque-debug 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "stream-cipher 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "aho-corasick" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "memchr 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "aio-limited" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-executor 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-timer 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "arrayref" version = "0.3.5" @@ -13,6 +65,23 @@ dependencies = [ "nodrop 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "asn1_der" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "asn1_der_derive 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "asn1_der_derive" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.29 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "autocfg" version = "0.1.2" @@ -26,7 +95,7 @@ dependencies = [ "autocfg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "backtrace-sys 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)", "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-demangle 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -36,20 +105,50 @@ name = "backtrace-sys" version = "0.1.28" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cc 1.0.30 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)", + "cc 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "base-x" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "base58" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "bigint" +version = "4.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "bitflags" version = "1.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "bitmask" +version = "0.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "blake2" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "byte-tools 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "crypto-mac 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "digest 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "opaque-debug 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "blake2-rfc" version = "0.2.18" @@ -79,6 +178,14 @@ dependencies = [ "generic-array 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "block-cipher-trait" +version = "0.6.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "generic-array 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "block-padding" version = "0.1.3" @@ -87,6 +194,11 @@ dependencies = [ "byte-tools 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "bs58" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "byte-tools" version = "0.2.0" @@ -97,6 +209,11 @@ name = "byte-tools" version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "byteorder" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "byteorder" version = "1.3.1" @@ -113,7 +230,7 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.30" +version = "1.0.26" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -136,7 +253,7 @@ name = "clear_on_drop" version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cc 1.0.30 (registry+https://github.com/rust-lang/crates.io-index)", + "cc 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -176,6 +293,15 @@ dependencies = [ "smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "crossbeam-deque" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "crossbeam-epoch 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-utils 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "crossbeam-deque" version = "0.6.3" @@ -194,6 +320,20 @@ dependencies = [ "crossbeam-utils 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "crossbeam-epoch" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", + "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", + "crossbeam-utils 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "nodrop 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", + "scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "crossbeam-epoch" version = "0.7.1" @@ -215,6 +355,14 @@ dependencies = [ "crossbeam-utils 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "crossbeam-utils" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "crossbeam-utils" version = "0.6.5" @@ -243,6 +391,33 @@ dependencies = [ "generic-array 0.8.3 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "crypto-mac" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "generic-array 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", + "subtle 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "ctr" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "block-cipher-trait 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", + "stream-cipher 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "cuckoofilter" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "byteorder 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.3.23 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "curve25519-dalek" version = "1.1.3" @@ -255,6 +430,11 @@ dependencies = [ "subtle 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "data-encoding" +version = "2.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "digest" version = "0.6.2" @@ -271,6 +451,20 @@ dependencies = [ "generic-array 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "discard" +version = "1.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "dns-parser" +version = "0.8.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "ed25519-dalek" version = "1.0.0-pre.1" @@ -283,6 +477,11 @@ dependencies = [ "sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "either" +version = "1.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "elastic-array" version = "0.10.2" @@ -293,7 +492,7 @@ dependencies = [ [[package]] name = "environmental" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] @@ -308,6 +507,21 @@ dependencies = [ name = "failure" version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "backtrace 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", + "failure_derive 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "failure_derive" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.29 (registry+https://github.com/rust-lang/crates.io-index)", + "synstructure 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)", +] [[package]] name = "fake-simd" @@ -321,7 +535,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", "static_assertions 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", @@ -366,9 +580,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "futures" -version = "0.1.25" +version = "0.1.26" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "futures-cpupool" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "num_cpus 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "generic-array" version = "0.8.3" @@ -388,17 +611,31 @@ dependencies = [ [[package]] name = "hash-db" -version = "0.11.0" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "hash256-std-hasher" -version = "0.11.0" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "crunchy 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "hashbrown" +version = "0.1.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "hashmap_core" +version = "0.1.10" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "heapsize" version = "0.4.2" @@ -407,18 +644,31 @@ dependencies = [ "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "heck" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "unicode-segmentation 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "hex" +version = "0.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "hex-literal" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "hex-literal-impl 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal-impl 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro-hack 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "hex-literal-impl" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "proc-macro-hack 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -434,6 +684,15 @@ dependencies = [ "generic-array 0.8.3 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "hmac" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "crypto-mac 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "digest 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "hmac-drbg" version = "0.1.2" @@ -460,115 +719,438 @@ dependencies = [ ] [[package]] -name = "impl-codec" -version = "0.2.0" +name = "impl-codec" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "impl-serde" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "integer-sqrt" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "iovec" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "itoa" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "joystream-node-runtime" +version = "4.1.0" +dependencies = [ + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-io 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-version 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-aura 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-balances 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-consensus 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-executive 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-finality-tracker 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-grandpa 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-indices 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-session 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-staking 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-sudo 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-support 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-system 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-timestamp 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-client 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-consensus-aura-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-consensus-authorities 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-offchain-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", +] + +[[package]] +name = "joystream-node-runtime-wasm" +version = "1.0.1" +dependencies = [ + "joystream-node-runtime 4.1.0", +] + +[[package]] +name = "keccak" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "kernel32-sys" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "kvdb" +version = "0.1.0" +source = "git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d#b0317f649ab2c665b7987b8475878fc4d2e1f81d" +dependencies = [ + "elastic-array 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-bytes 0.1.0 (git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d)", +] + +[[package]] +name = "lazy_static" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "lazycell" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "libc" +version = "0.2.51" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "libp2p" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-core 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-core-derive 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-dns 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-floodsub 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-identify 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-kad 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-mdns 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-mplex 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-noise 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-ping 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-plaintext 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-ratelimit 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-secio 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-tcp 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-uds 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-yamux 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-multiaddr 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-multihash 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", + "smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)", + "stdweb 0.4.15 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-executor 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "libp2p-core" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "asn1_der 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bs58 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", + "ed25519-dalek 1.0.0-pre.1 (registry+https://github.com/rust-lang/crates.io-index)", + "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", + "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "multistream-select 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-multiaddr 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-multihash 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", + "protobuf 2.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", + "ring 0.14.6 (registry+https://github.com/rust-lang/crates.io-index)", + "rw-stream-sink 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "secp256k1 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)", + "sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-executor 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-timer 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", + "unsigned-varint 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "untrusted 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", + "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", + "zeroize 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "libp2p-core-derive" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.29 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "libp2p-dns" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-core 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-multiaddr 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-dns-unofficial 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "libp2p-floodsub" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "bs58 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", + "cuckoofilter 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-core 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "protobuf 2.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", + "smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "unsigned-varint 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "libp2p-identify" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", + "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-core 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-multiaddr 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", + "protobuf 2.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-timer 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", + "unsigned-varint 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "libp2p-kad" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "arrayref 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", + "arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", + "bigint 4.4.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bs58 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", + "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-core 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-identify 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-ping 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-multiaddr 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-multihash 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", + "protobuf 2.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", + "smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-timer 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", + "unsigned-varint 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "libp2p-mdns" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "data-encoding 2.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "dns-parser 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-core 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-multiaddr 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", + "smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-reactor 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-timer 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-udp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "libp2p-mplex" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", + "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-core 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "unsigned-varint 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "libp2p-noise" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "curve25519-dalek 1.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-core 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", + "ring 0.14.6 (registry+https://github.com/rust-lang/crates.io-index)", + "snow 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "x25519-dalek 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", + "zeroize 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "impl-serde" -version = "0.1.1" +name = "libp2p-ping" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", + "arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-core 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-multiaddr 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-timer 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", + "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "integer-sqrt" -version = "0.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "iovec" -version = "0.1.2" +name = "libp2p-plaintext" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-core 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "itoa" -version = "0.4.3" +name = "libp2p-ratelimit" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "joystream-node-runtime" -version = "1.0.1" dependencies = [ - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", - "serde_derive 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-io 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-version 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-aura 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-balances 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-consensus 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-executive 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-fees 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-indices 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-session 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-staking 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-sudo 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-support 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-system 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-timestamp 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-client 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-consensus-aura-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "aio-limited 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-core 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-executor 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "joystream-node-runtime-wasm" -version = "1.0.1" +name = "libp2p-secio" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "joystream-node-runtime 1.0.1", + "aes-ctr 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "asn1_der 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", + "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", + "ctr 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "hmac 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-core 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "protobuf 2.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", + "ring 0.14.6 (registry+https://github.com/rust-lang/crates.io-index)", + "rw-stream-sink 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "stdweb 0.4.15 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "twofish 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "untrusted 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "keccak" -version = "0.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "kernel32-sys" -version = "0.2.2" +name = "libp2p-tcp" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)", - "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-core 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-multiaddr 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tk-listen 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-tcp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "kvdb" -version = "0.1.0" -source = "git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d#b0317f649ab2c665b7987b8475878fc4d2e1f81d" +name = "libp2p-uds" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "elastic-array 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-bytes 0.1.0 (git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-core 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-multiaddr 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-uds 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] -name = "lazy_static" -version = "1.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "lazycell" -version = "1.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" - -[[package]] -name = "libc" -version = "0.2.50" +name = "libp2p-yamux" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p-core 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "yamux 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", +] [[package]] name = "libsecp256k1" @@ -605,6 +1187,11 @@ name = "matches" version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "memchr" +version = "2.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "memoffset" version = "0.2.1" @@ -612,10 +1199,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "memory-db" -version = "0.11.0" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "hash-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hash-db 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)", + "hashmap_core 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -645,7 +1233,7 @@ dependencies = [ "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "kernel32-sys 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "lazycell 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)", @@ -670,7 +1258,7 @@ version = "0.6.7" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", "mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -685,13 +1273,27 @@ dependencies = [ "ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "multistream-select" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "unsigned-varint 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "net2" version = "0.2.33" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -700,6 +1302,11 @@ name = "nodrop" version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "nohash-hasher" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "num-integer" version = "0.1.39" @@ -718,13 +1325,16 @@ name = "num_cpus" version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "once_cell" version = "0.1.8" source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", +] [[package]] name = "opaque-debug" @@ -733,29 +1343,37 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "openssl" -version = "0.10.19" +version = "0.10.20" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", "cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "foreign-types 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl-sys 0.9.42 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", + "openssl-sys 0.9.43 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "openssl-sys" -version = "0.9.42" +version = "0.9.43" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cc 1.0.30 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)", + "cc 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", "pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", "vcpkg 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "owning_ref" +version = "0.3.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "stable_deref_trait 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "owning_ref" version = "0.4.0" @@ -771,22 +1389,50 @@ source = "git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7 [[package]] name = "parity-codec" -version = "3.1.0" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "parity-codec-derive" -version = "3.1.0" +version = "3.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "proc-macro-crate 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.29 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "parity-multiaddr" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "arrayref 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", + "bs58 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "data-encoding 2.1.2 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-multihash 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", + "unsigned-varint 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "parity-multihash" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "blake2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", + "sha1 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", + "unsigned-varint 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -797,6 +1443,24 @@ dependencies = [ "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "parking_lot" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "owning_ref 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot_core 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "parking_lot" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "lock_api 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "parking_lot" version = "0.7.1" @@ -806,12 +1470,35 @@ dependencies = [ "parking_lot_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "parking_lot_core" +version = "0.2.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "parking_lot_core" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)", + "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)", + "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "parking_lot_core" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", "smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)", @@ -820,22 +1507,32 @@ dependencies = [ [[package]] name = "paste" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "paste-impl 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "paste-impl 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro-hack 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "paste-impl" -version = "0.1.4" +version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "proc-macro-hack 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.29 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "pbkdf2" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "crypto-mac 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rayon 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -882,7 +1579,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.29 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -898,6 +1595,21 @@ dependencies = [ "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "protobuf" +version = "2.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "quick-error" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "quick-error" +version = "1.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "quote" version = "0.6.11" @@ -906,13 +1618,22 @@ dependencies = [ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "rand" +version = "0.3.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "rand" version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -925,7 +1646,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)", "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -936,7 +1657,7 @@ version = "0.6.5" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "autocfg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", "rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "rand_hc 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -991,7 +1712,7 @@ name = "rand_jitter" version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", "rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1003,7 +1724,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "cloudabi 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)", "fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", "rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1026,6 +1747,27 @@ dependencies = [ "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "rayon" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "crossbeam-deque 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "either 1.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "rayon-core 1.4.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "rayon-core" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "crossbeam-deque 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", + "num_cpus 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "rdrand" version = "0.4.0" @@ -1036,17 +1778,37 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.1.51" +version = "0.1.52" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "regex" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "aho-corasick 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", + "memchr 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "regex-syntax 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)", + "thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", + "utf8-ranges 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "regex-syntax" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "ucd-util 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", +] [[package]] name = "ring" version = "0.14.6" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "cc 1.0.30 (registry+https://github.com/rust-lang/crates.io-index)", + "cc 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", "spin 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", "untrusted 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1070,6 +1832,16 @@ dependencies = [ "semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "rw-stream-sink" +version = "0.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "ryu" version = "0.2.7" @@ -1085,7 +1857,7 @@ dependencies = [ [[package]] name = "schnorrkel" -version = "0.0.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "clear_on_drop 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1095,6 +1867,7 @@ dependencies = [ "merlin 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", "rand_chacha 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", "sha3 0.8.1 (registry+https://github.com/rust-lang/crates.io-index)", "subtle 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1104,6 +1877,15 @@ name = "scopeguard" version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "secp256k1" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "cc 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "semver" version = "0.9.0" @@ -1129,7 +1911,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.29 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1228,6 +2010,23 @@ name = "smallvec" version = "0.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "snow" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "arrayref 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", + "failure_derive 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", + "rand_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)", + "ring 0.14.6 (registry+https://github.com/rust-lang/crates.io-index)", + "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)", + "static_slice 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)", + "subtle 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "spin" version = "0.5.0" @@ -1235,328 +2034,339 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "sr-api-macros" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ "blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro-crate 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.29 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "sr-io" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ - "environmental 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", - "hash-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "environmental 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", + "hash-db 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)", "libsecp256k1 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-state-machine 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-trie 0.4.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-state-machine 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-trie 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", "tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "sr-primitives" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ "integer-sqrt 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-io 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "sr-io 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", ] [[package]] name = "sr-std" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "sr-version" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ "impl-serde 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", ] [[package]] name = "srml-aura" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ - "hex-literal 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-staking 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-support 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-system 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-timestamp 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-inherents 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-session 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-staking 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-support 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-system 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-timestamp 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-inherents 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", ] [[package]] name = "srml-balances" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ - "hex-literal 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-support 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-system 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-keyring 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-support 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-system 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-keyring 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", ] [[package]] name = "srml-consensus" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ - "hex-literal 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-support 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-system 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-inherents 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-support 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-system 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-inherents 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", ] [[package]] name = "srml-executive" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-io 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-support 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-system 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "sr-io 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-support 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-system 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", ] [[package]] -name = "srml-fees" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +name = "srml-finality-tracker" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" +dependencies = [ + "hex-literal 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-support 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-system 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-inherents 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", +] + +[[package]] +name = "srml-grandpa" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ - "hex-literal 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-io 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-support 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-system 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "serde_derive 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-consensus 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-finality-tracker 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-session 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-support 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-system 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-finality-grandpa-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", ] [[package]] name = "srml-indices" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ - "hex-literal 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-io 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-support 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-system 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-keyring 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "sr-io 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-support 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-system 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-keyring 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", ] [[package]] name = "srml-metadata" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", ] [[package]] name = "srml-session" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ - "hex-literal 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-consensus 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-support 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-system 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-timestamp 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-consensus 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-support 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-system 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-timestamp 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", ] [[package]] name = "srml-staking" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ - "hex-literal 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-consensus 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-session 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-support 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-system 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-keyring 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "sr-io 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-consensus 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-session 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-support 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-system 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-keyring 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", ] [[package]] name = "srml-sudo" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ - "hex-literal 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-support 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-support-procedural 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-system 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-support 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-support-procedural 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-system 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", ] [[package]] name = "srml-support" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ - "hex-literal 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "bitmask 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "once_cell 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "paste 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "paste 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-io 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-metadata 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-support-procedural 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-inherents 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "sr-io 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-metadata 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-support-procedural 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-inherents 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", ] [[package]] name = "srml-support-procedural" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-api-macros 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-support-procedural-tools 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-api-macros 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-support-procedural-tools 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "syn 0.15.29 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "srml-support-procedural-tools" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ "proc-macro-crate 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)", - "srml-support-procedural-tools-derive 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", + "srml-support-procedural-tools-derive 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "syn 0.15.29 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "srml-support-procedural-tools-derive" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)", - "syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.29 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "srml-system" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ - "hex-literal 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-io 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-support 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "sr-io 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-support 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", ] [[package]] name = "srml-timestamp" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ - "hex-literal 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-consensus 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-support 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "srml-system 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-inherents 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-support 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-system 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-inherents 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", ] [[package]] @@ -1569,113 +2379,235 @@ name = "static_assertions" version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "static_slice" +version = "0.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "stdweb" +version = "0.4.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "discard 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)", + "rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "stdweb-derive 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)", + "stdweb-internal-macros 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)", + "stdweb-internal-runtime 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "stdweb-derive" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.29 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "stdweb-internal-macros" +version = "0.2.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "base-x 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)", + "sha1 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.29 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "stdweb-internal-runtime" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "stream-cipher" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "generic-array 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "strum" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" + +[[package]] +name = "strum_macros" +version = "0.14.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.29 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "substrate-bip39" +version = "0.2.1" +source = "git+https://github.com/paritytech/substrate-bip39#44307fda4ea17fe97aeb93af317fbc8f6ed34193" +dependencies = [ + "hmac 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "pbkdf2 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "schnorrkel 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "substrate-client" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "hash-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "hash-db 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "hex-literal 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "kvdb 0.1.0 (git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-api-macros 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-version 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-consensus-common 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-executor 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-inherents 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-keyring 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-state-machine 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-telemetry 0.3.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-trie 0.4.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "sr-api-macros 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-version 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-consensus-common 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-executor 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-inherents 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-keyring 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-state-machine 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-telemetry 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-trie 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", ] [[package]] name = "substrate-consensus-aura-primitives" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" +dependencies = [ + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-client 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", +] + +[[package]] +name = "substrate-consensus-authorities" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ - "substrate-client 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-io 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-version 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "srml-support 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-client 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", ] [[package]] name = "substrate-consensus-common" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ "crossbeam-channel 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)", "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "libp2p 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-version 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-inherents 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "tokio 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec-derive 3.2.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-version 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-inherents 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "tokio 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "substrate-executor" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "libsecp256k1 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-io 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-version 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-panic-handler 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-serializer 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-state-machine 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-trie 0.4.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "sr-io 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-version 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-panic-handler 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-serializer 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-state-machine 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-trie 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", "tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "wasmi 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", + "wasmi 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "substrate-finality-grandpa-primitives" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" +dependencies = [ + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-client 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", ] [[package]] name = "substrate-inherents" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", ] [[package]] name = "substrate-keyring" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ - "hex-literal 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "strum 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)", + "strum_macros 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)", + "substrate-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", ] [[package]] -name = "substrate-panic-handler" +name = "substrate-offchain-primitives" version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" +dependencies = [ + "sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-client 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", +] + +[[package]] +name = "substrate-panic-handler" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ "backtrace 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1683,36 +2615,39 @@ dependencies = [ [[package]] name = "substrate-primitives" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ "base58 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)", "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", - "hash-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", - "hash256-std-hasher 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", - "hex-literal 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "hash-db 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)", + "hash256-std-hasher 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)", + "hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "impl-serde 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "primitive-types 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", + "regex 1.1.5 (registry+https://github.com/rust-lang/crates.io-index)", "ring 0.14.6 (registry+https://github.com/rust-lang/crates.io-index)", "rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)", - "schnorrkel 0.0.0 (registry+https://github.com/rust-lang/crates.io-index)", + "schnorrkel 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", "serde_derive 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", "sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", - "sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", + "sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-bip39 0.2.1 (git+https://github.com/paritytech/substrate-bip39)", + "tiny-bip39 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)", "twox-hash 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "untrusted 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", - "wasmi 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", + "wasmi 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "substrate-serializer" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", "serde_json 1.0.39 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1720,30 +2655,33 @@ dependencies = [ [[package]] name = "substrate-state-machine" -version = "0.1.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ - "hash-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hash-db 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)", "heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "hex-literal 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "hex-literal 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", - "substrate-panic-handler 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "substrate-trie 0.4.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)", - "trie-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", - "trie-root 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "substrate-panic-handler 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "substrate-trie 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)", + "trie-db 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)", + "trie-root 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "substrate-telemetry" -version = "0.3.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", + "serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", + "serde_derive 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)", "slog 2.4.1 (registry+https://github.com/rust-lang/crates.io-index)", "slog-async 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "slog-json 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1753,16 +2691,21 @@ dependencies = [ [[package]] name = "substrate-trie" -version = "0.4.0" -source = "git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d#df5e65927780b323482e2e8b5031822f423a032d" +version = "1.0.0" +source = "git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991#89bbb7b6d0e076f0eda736b330f5f792aa2e2991" dependencies = [ - "hash-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", - "memory-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", - "parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)", - "trie-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", - "trie-root 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hash-db 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)", + "memory-db 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)", + "parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "trie-db 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)", + "trie-root 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "subtle" +version = "1.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "subtle" version = "2.0.0" @@ -1770,11 +2713,22 @@ source = "registry+https://github.com/rust-lang/crates.io-index" [[package]] name = "syn" -version = "0.15.27" +version = "0.15.29" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)", + "quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)", + "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "synstructure" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)", "quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)", + "syn 0.15.29 (registry+https://github.com/rust-lang/crates.io-index)", "unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1796,11 +2750,25 @@ name = "time" version = "0.1.42" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)", - "redox_syscall 0.1.51 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", + "redox_syscall 0.1.52 (registry+https://github.com/rust-lang/crates.io-index)", "winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "tiny-bip39" +version = "0.6.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", + "hashbrown 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", + "hmac 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)", + "once_cell 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", + "pbkdf2 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", + "sha2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "tiny-keccak" version = "1.4.2" @@ -1809,25 +2777,37 @@ dependencies = [ "crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "tk-listen" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "tokio" -version = "0.1.16" +version = "0.1.18" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", "mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)", "num_cpus 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-current-thread 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-executor 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-current-thread 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-executor 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-fs 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-reactor 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-sync 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-sync 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-tcp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-threadpool 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-threadpool 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-timer 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-trace-core 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-udp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-uds 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1838,26 +2818,37 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "tokio-current-thread" -version = "0.1.5" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-executor 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "tokio-dns-unofficial" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-executor 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)", + "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "tokio-executor" -version = "0.1.6" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "crossbeam-utils 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1865,9 +2856,9 @@ name = "tokio-fs" version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-threadpool 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-threadpool 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1876,7 +2867,7 @@ version = "0.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -1886,25 +2877,25 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "crossbeam-utils 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)", "num_cpus 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)", "parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-executor 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-executor 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-sync 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-sync 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "tokio-sync" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1913,7 +2904,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1922,18 +2913,18 @@ dependencies = [ [[package]] name = "tokio-threadpool" -version = "0.1.12" +version = "0.1.13" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "crossbeam-deque 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)", "crossbeam-queue 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", "crossbeam-utils 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "num_cpus 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-executor 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-executor 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1942,9 +2933,17 @@ version = "0.2.10" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "crossbeam-utils 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", - "tokio-executor 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-executor 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "tokio-trace-core" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -1953,7 +2952,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)", "tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1967,9 +2966,9 @@ version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", - "futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", "iovec 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)", - "libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)", + "libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)", "mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)", @@ -1988,21 +2987,32 @@ dependencies = [ [[package]] name = "trie-db" -version = "0.11.0" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ "elastic-array 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)", - "hash-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "hash-db 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)", + "hashmap_core 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)", "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] name = "trie-root" -version = "0.11.0" +version = "0.12.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "hash-db 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "twofish" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "hash-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)", + "block-cipher-trait 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)", + "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", + "opaque-debug 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -2018,6 +3028,11 @@ name = "typenum" version = "1.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "ucd-util" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "uint" version = "0.6.1" @@ -2045,11 +3060,25 @@ dependencies = [ "smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "unicode-segmentation" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "unicode-xid" version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "unsigned-varint" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + [[package]] name = "untrusted" version = "0.6.2" @@ -2065,17 +3094,26 @@ dependencies = [ "percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "utf8-ranges" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "vcpkg" version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" +[[package]] +name = "void" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" + [[package]] name = "wasmi" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" dependencies = [ - "byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)", "memory_units 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "parity-wasm 0.31.3 (registry+https://github.com/rust-lang/crates.io-index)", ] @@ -2120,7 +3158,7 @@ dependencies = [ "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)", "mio-extras 2.0.5 (registry+https://github.com/rust-lang/crates.io-index)", - "openssl 0.10.19 (registry+https://github.com/rust-lang/crates.io-index)", + "openssl 0.10.20 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", "sha1 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)", "slab 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", @@ -2136,23 +3174,68 @@ dependencies = [ "winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", ] +[[package]] +name = "x25519-dalek" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "clear_on_drop 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)", + "curve25519-dalek 1.1.3 (registry+https://github.com/rust-lang/crates.io-index)", + "rand_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "yamux" +version = "0.1.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +dependencies = [ + "bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)", + "futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)", + "log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)", + "nohash-hasher 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "parking_lot 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)", + "quick-error 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)", + "rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)", + "tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)", +] + +[[package]] +name = "zeroize" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" + [metadata] +"checksum aes-ctr 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "d2e5b0458ea3beae0d1d8c0f3946564f8e10f90646cf78c06b4351052058d1ee" +"checksum aes-soft 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "cfd7e7ae3f9a1fb5c03b389fc6bb9a51400d0c13053f0dca698c832bfd893a0d" +"checksum aesni 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2f70a6b5f971e473091ab7cfb5ffac6cde81666c4556751d8d5620ead8abf100" +"checksum aho-corasick 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e6f484ae0c99fec2e858eb6134949117399f222608d84cadb3f58c1f97c2364c" +"checksum aio-limited 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7f10b352bc3fc08ae24dc5d2d3ddcac153678533986122dc283d747b12071000" "checksum arrayref 0.3.5 (registry+https://github.com/rust-lang/crates.io-index)" = "0d382e583f07208808f6b1249e60848879ba3543f57c32277bf52d69c2f0f0ee" "checksum arrayvec 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)" = "92c7fb76bc8826a8b33b4ee5bb07a247a81e76764ab4d55e8f73e3a4d8808c71" +"checksum asn1_der 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "9893d63fc3b1c44231e667da6836a33f27d8b6b3bdc82f83da5dfd579d1b6528" +"checksum asn1_der_derive 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "9e7f92edafad155aff997fa5b727c6429b91e996b5a5d62a2b0adbae1306b5fe" "checksum autocfg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "a6d640bee2da49f60a4068a7fae53acde8982514ab7bae8b8cea9e88cbcfd799" "checksum backtrace 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)" = "cd5a90e2b463010cd0e0ce9a11d4a9d5d58d9f41d4a6ba3dcaf9e68b466e88b4" "checksum backtrace-sys 0.1.28 (registry+https://github.com/rust-lang/crates.io-index)" = "797c830ac25ccc92a7f8a7b9862bde440715531514594a6154e3d4a54dd769b6" +"checksum base-x 0.2.4 (registry+https://github.com/rust-lang/crates.io-index)" = "d55aa264e822dbafa12db4d54767aff17c6ba55ea2d8559b3e17392c7d000e5d" "checksum base58 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5024ee8015f02155eee35c711107ddd9a9bf3cb689cf2a9089c97e79b6e1ae83" +"checksum bigint 4.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ebecac13b3c745150d7b6c3ea7572d372f09d627c2077e893bf26c5c7f70d282" "checksum bitflags 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "228047a76f468627ca71776ecdebd732a3423081fcf5125585bcd7c49886ce12" +"checksum bitmask 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "5da9b3d9f6f585199287a473f4f8dfab6566cf827d15c00c219f53c645687ead" +"checksum blake2 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "91721a6330935673395a0607df4d49a9cb90ae12d259f1b3e0a3f6e1d486872e" "checksum blake2-rfc 0.2.18 (registry+https://github.com/rust-lang/crates.io-index)" = "5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400" "checksum block-buffer 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1339a1042f5d9f295737ad4d9a6ab6bf81c84a933dba110b9200cd6d1448b814" "checksum block-buffer 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "49665c62e0e700857531fa5d3763e91b539ff1abeebd56808d378b495870d60d" +"checksum block-cipher-trait 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1c924d49bd09e7c06003acda26cd9742e796e34282ec6c1189404dee0c1f4774" "checksum block-padding 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "d75255892aeb580d3c566f213a2b6fdc1c66667839f45719ee1d30ebf2aea591" +"checksum bs58 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "0de79cfb98e7aa9988188784d8664b4b5dad6eaaa0863b91d9a4ed871d4f7a42" "checksum byte-tools 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "560c32574a12a89ecd91f5e742165893f86e3ab98d21f8ea548658eb9eef5f40" "checksum byte-tools 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7" +"checksum byteorder 0.5.3 (registry+https://github.com/rust-lang/crates.io-index)" = "0fc10e8cc6b2580fda3f36eb6dc5316657f812a3df879a44a66fc9f0fdbc4855" "checksum byteorder 1.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a019b10a2a7cdeb292db131fc8113e57ea2a908f6e7894b0c3c671893b65dbeb" "checksum bytes 0.4.12 (registry+https://github.com/rust-lang/crates.io-index)" = "206fdffcfa2df7cbe15601ef46c813fce0965eb3286db6b56c583b814b51c81c" -"checksum cc 1.0.30 (registry+https://github.com/rust-lang/crates.io-index)" = "d01c69d08ff207f231f07196e30f84c70f1c815b04f980f8b7b01ff01f05eb92" +"checksum cc 1.0.26 (registry+https://github.com/rust-lang/crates.io-index)" = "389803e36973d242e7fecb092b2de44a3d35ac62524b3b9339e51d577d668e02" "checksum cfg-if 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "11d43355396e872eefb45ce6342e4374ed7bc2b3a502d1b28e36d6e23c05d1f4" "checksum chrono 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "45912881121cb26fad7c38c17ba7daa18764771836b34fab7d3fbd93ed633878" "checksum clear_on_drop 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "97276801e127ffb46b66ce23f35cc96bd454fa311294bced4bbace7baa8b1d17" @@ -2160,22 +3243,33 @@ dependencies = [ "checksum constant_time_eq 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "8ff012e225ce166d4422e0e78419d901719760f62ae2b7969ca6b564d1b54a9e" "checksum crossbeam 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ad4c7ea749d9fb09e23c5cb17e3b70650860553a0e2744e38446b1803bf7db94" "checksum crossbeam-channel 0.3.8 (registry+https://github.com/rust-lang/crates.io-index)" = "0f0ed1a4de2235cabda8558ff5840bffb97fcb64c97827f354a451307df5f72b" +"checksum crossbeam-deque 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f739f8c5363aca78cfb059edf753d8f0d36908c348f3d8d1503f03d8b75d9cf3" "checksum crossbeam-deque 0.6.3 (registry+https://github.com/rust-lang/crates.io-index)" = "05e44b8cf3e1a625844d1750e1f7820da46044ff6d28f4d43e455ba3e5bb2c13" "checksum crossbeam-deque 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b18cd2e169ad86297e6bc0ad9aa679aee9daa4f19e8163860faf7c164e4f5a71" +"checksum crossbeam-epoch 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "927121f5407de9956180ff5e936fe3cf4324279280001cd56b669d28ee7e9150" "checksum crossbeam-epoch 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "04c9e3102cc2d69cd681412141b390abd55a362afc1540965dad0ad4d34280b4" "checksum crossbeam-queue 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7c979cd6cfe72335896575c6b5688da489e420d36a27a0b9eb0c73db574b4a4b" +"checksum crossbeam-utils 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2760899e32a1d58d5abb31129f8fae5de75220bc2176e77ff7c627ae45c918d9" "checksum crossbeam-utils 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "f8306fcef4a7b563b76b7dd949ca48f52bc1141aa067d2ea09565f3e2652aa5c" "checksum crunchy 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "a2f4a431c5c9f662e1200b7c7f02c34e91361150e382089a8f2dec3ba680cbda" "checksum crunchy 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c240f247c278fa08a6d4820a6a222bfc6e0d999e51ba67be94f44c905b2161f2" "checksum crypto-mac 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "779015233ac67d65098614aec748ac1c756ab6677fa2e14cf8b37c08dfed1198" +"checksum crypto-mac 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "4434400df11d95d556bac068ddfedd482915eb18fe8bea89bc80b6e4b1c179e5" +"checksum ctr 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "022cd691704491df67d25d006fe8eca083098253c4d43516c2206479c58c6736" +"checksum cuckoofilter 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "8dd43f7cfaffe0a386636a10baea2ee05cc50df3b77bea4a456c9572a939bf1f" "checksum curve25519-dalek 1.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e1f8a6fc0376eb52dc18af94915cc04dfdf8353746c0e8c550ae683a0815e5c1" +"checksum data-encoding 2.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f4f47ca1860a761136924ddd2422ba77b2ea54fe8cc75b9040804a0d9d32ad97" "checksum digest 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e5b29bf156f3f4b3c4f610a25ff69370616ae6e0657d416de22645483e72af0a" "checksum digest 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "05f47366984d3ad862010e22c7ce81a7dbcaebbdfb37241a620f8b6596ee135c" +"checksum discard 1.0.4 (registry+https://github.com/rust-lang/crates.io-index)" = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0" +"checksum dns-parser 0.8.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c4d33be9473d06f75f58220f71f7a9317aca647dc061dbd3c361b0bef505fbea" "checksum ed25519-dalek 1.0.0-pre.1 (registry+https://github.com/rust-lang/crates.io-index)" = "81956bcf7ef761fb4e1d88de3fa181358a0d26cbcb9755b587a08f9119824b86" +"checksum either 1.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "c67353c641dc847124ea1902d69bd753dee9bb3beff9aa3662ecf86c971d1fac" "checksum elastic-array 0.10.2 (registry+https://github.com/rust-lang/crates.io-index)" = "073be79b6538296faf81c631872676600616073817dd9a440c477ad09b408983" -"checksum environmental 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "db746025e3ea695bfa0ae744dbacd5fcfc8db51b9760cf8bd0ab69708bb93c49" +"checksum environmental 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "5c7464757b80de8930c91c9afe77ddce501826bf9d134a87db2c67d9dc177e2c" "checksum error-chain 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "07e791d3be96241c77c43846b665ef1384606da2cd2a48730abe606a12906e02" "checksum failure 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "795bd83d3abeb9220f257e597aa0080a508b27533824adf336529648f6abf7e2" +"checksum failure_derive 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "ea1063915fd7ef4309e222a5a07cf9c319fb9c7836b1f89b85458672dbb127e1" "checksum fake-simd 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed" "checksum fixed-hash 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "a557e80084b05c32b455963ff565a9de6f2866da023d6671705c6aff6f65e01c" "checksum fnv 1.0.6 (registry+https://github.com/rust-lang/crates.io-index)" = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3" @@ -2184,15 +3278,21 @@ dependencies = [ "checksum fuchsia-cprng 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba" "checksum fuchsia-zircon 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82" "checksum fuchsia-zircon-sys 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7" -"checksum futures 0.1.25 (registry+https://github.com/rust-lang/crates.io-index)" = "49e7653e374fe0d0c12de4250f0bdb60680b8c80eed558c5c7538eec9c89e21b" +"checksum futures 0.1.26 (registry+https://github.com/rust-lang/crates.io-index)" = "62941eff9507c8177d448bd83a44d9b9760856e184081d8cd79ba9f03dd24981" +"checksum futures-cpupool 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4" "checksum generic-array 0.12.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3c0f28c2f5bfb5960175af447a2da7c18900693738343dc896ffbcabd9839592" "checksum generic-array 0.8.3 (registry+https://github.com/rust-lang/crates.io-index)" = "fceb69994e330afed50c93524be68c42fa898c2d9fd4ee8da03bd7363acd26f2" -"checksum hash-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1b03501f6e1a2a97f1618879aba3156f14ca2847faa530c4e28859638bd11483" -"checksum hash256-std-hasher 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f5c13dbac3cc50684760f54af18545c9e80fb75e93a3e586d71ebdc13138f6a4" +"checksum hash-db 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)" = "ba7fb417e5c470acdd61068c79767d0e65962e70836cf6c9dfd2409f06345ce0" +"checksum hash256-std-hasher 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f8b2027c19ec91eb304999abae7307d225cf93be42af53b0039f76e98ed5af86" +"checksum hashbrown 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "3bae29b6653b3412c2e71e9d486db9f9df5d701941d86683005efb9f2d28e3da" +"checksum hashmap_core 0.1.10 (registry+https://github.com/rust-lang/crates.io-index)" = "8e04cb7a5051270ef3fa79f8c7604d581ecfa73d520e74f554e45541c4b5881a" "checksum heapsize 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1679e6ea370dee694f91f1dc469bf94cf8f52051d147aec3e1f9497c6fc22461" -"checksum hex-literal 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "27455ce8b4a6666c87220e4b59c9a83995476bdadc10197905e61dbe906e36fa" -"checksum hex-literal-impl 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "1d340b6514f232f6db1bd16db65302a5278a04fef9ce867cb932e7e5fa21130a" +"checksum heck 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205" +"checksum hex 0.3.2 (registry+https://github.com/rust-lang/crates.io-index)" = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77" +"checksum hex-literal 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "ddc2928beef125e519d69ae1baa8c37ea2e0d3848545217f6db0179c5eb1d639" +"checksum hex-literal-impl 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "520870c3213943eb8d7803e80180d12a6c7ceb4ae74602544529d1643dc4ddda" "checksum hmac 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7a13f4163aa0c5ca1be584aace0e2212b2e41be5478218d4f657f5f778b2ae2a" +"checksum hmac 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f127a908633569f208325f86f71255d3363c79721d7f9fe31cd5569908819771" "checksum hmac-drbg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "4fe727d41d2eec0a6574d887914347e5ff96a3b87177817e2a9820c5c87fecc2" "checksum httparse 1.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "e8734b0cfd3bc3e101ec59100e101c2eecd19282202e87808b3037b442777a83" "checksum idna 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e" @@ -2206,37 +3306,65 @@ dependencies = [ "checksum kvdb 0.1.0 (git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d)" = "" "checksum lazy_static 1.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bc5729f27f159ddd61f4df6228e827e86643d4d3e7c32183cb30a1c08f604a14" "checksum lazycell 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f" -"checksum libc 0.2.50 (registry+https://github.com/rust-lang/crates.io-index)" = "aab692d7759f5cd8c859e169db98ae5b52c924add2af5fbbca11d12fefb567c1" +"checksum libc 0.2.51 (registry+https://github.com/rust-lang/crates.io-index)" = "bedcc7a809076656486ffe045abeeac163da1b558e963a31e29fbfbeba916917" +"checksum libp2p 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f5b9cd37b1ca54fa2fd0bbf0486adf2f55f8994f2be9410b65265050b24709b2" +"checksum libp2p-core 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bf9c56e6f04cb649fdeb806e963d2da223e3ed17748d9e924fdb836c09f76307" +"checksum libp2p-core-derive 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "debea88a3d5de9fdaf7082bd6d238f2c4c6a0420f14bdf9e1c1083b3e7c69286" +"checksum libp2p-dns 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "350d0018af3668d954f61ce7311e7d64ab7c40f19a8eb895e4750efe24c3455f" +"checksum libp2p-floodsub 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bfbcf36cc58ad5d0252d8ebe9c1a87190693fe2cdbe40fb01d8046779f9a75ad" +"checksum libp2p-identify 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "82e98435973e958d7dea3f5074d7fca53d0dfce2e1ac6924119a21c2991fe443" +"checksum libp2p-kad 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "92bb0153418eaf0ea549008d1e22748a956c9c36af9374fbe7189d44607c14be" +"checksum libp2p-mdns 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "dc915d0cde68a05d26a0dcb125eddce7dd2a425e97c5172ac300c1ee8716f55a" +"checksum libp2p-mplex 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "355bb370dd12809792dc020638b280e7aaf8625318018abd311c51affd0a612d" +"checksum libp2p-noise 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e86291401f4a83f9fa81c03f8a7ccf0b03ce6aaa40cba058a7ec1026a65a6fe4" +"checksum libp2p-ping 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f3277f1f7eaadf5cdde6a76fb4afbf24e0eda6e2b04f288f526c6fa2e4293a6e" +"checksum libp2p-plaintext 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "c4842a7ab54c12459b58b9e59cbeb03e3e1fd393fef48079472856f934352772" +"checksum libp2p-ratelimit 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "32ba52ee76aaa94af533526ce5a22fbfcc69a560174fccee82f4cdb557411d33" +"checksum libp2p-secio 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "00f416e1e3d0214bd7df2be2b6be8ef61771d44292b973c9e02bfbbd7f62fe46" +"checksum libp2p-tcp 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "af47af9997d69fc70aa13e6e7cd0d766614ebe74005e69e763221a64d9a0a5ef" +"checksum libp2p-uds 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "bfa72d81501aad6998d3b1b964f68f438ef99c3aaf54d921e144e0477fa87568" +"checksum libp2p-yamux 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0dbb8d08cb536a964727e77b868a026c6d92993f08e387d49163565575a478d9" "checksum libsecp256k1 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "688e8d65e495567c2c35ea0001b26b9debf0b4ea11f8cccc954233b75fc3428a" "checksum lock_api 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "62ebf1391f6acad60e5c8b43706dde4582df75c06698ab44511d15016bc2442c" "checksum log 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c84ec4b527950aa83a329754b01dbe3f58361d1c5efacd1f6d68c494d08a17c6" "checksum matches 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08" +"checksum memchr 2.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2efc7bc57c883d4a4d6e3246905283d8dae951bb3bd32f49d6ef297f546e1c39" "checksum memoffset 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0f9dc261e2b62d7a622bf416ea3c5245cdd5d9a7fcc428c0d06804dfce1775b3" -"checksum memory-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "94da53143d45f6bad3753f532e56ad57a6a26c0ca6881794583310c7cb4c885f" +"checksum memory-db 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7623b01a4f1b7acb7cf8e3f678f05e15e6ae26cb0b738dfeb5cc186fd6b82ef4" "checksum memory_units 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "71d96e3f3c0b6325d8ccd83c33b28acb183edcb6c67938ba104ec546854b0882" "checksum merlin 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "83c2dda19c01176e8e7148f7bdb88bbdf215a8db0641f89fc40e4b81736aeda5" "checksum mio 0.6.16 (registry+https://github.com/rust-lang/crates.io-index)" = "71646331f2619b1026cc302f87a2b8b648d5c6dd6937846a16cc8ce0f347f432" "checksum mio-extras 2.0.5 (registry+https://github.com/rust-lang/crates.io-index)" = "46e73a04c2fa6250b8d802134d56d554a9ec2922bf977777c805ea5def61ce40" "checksum mio-uds 0.6.7 (registry+https://github.com/rust-lang/crates.io-index)" = "966257a94e196b11bb43aca423754d87429960a768de9414f3691d6957abf125" "checksum miow 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919" +"checksum multistream-select 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "f989d40aab0ed0d83c1cdb4856b5790e980b96548d1a921f280e985eb049f38d" "checksum net2 0.2.33 (registry+https://github.com/rust-lang/crates.io-index)" = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88" "checksum nodrop 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "2f9667ddcc6cc8a43afc9b7917599d7216aa09c463919ea32c59ed6cac8bc945" +"checksum nohash-hasher 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0d138afcce92d219ccb6eb53d9b1e8a96ac0d633cfd3c53cd9856d96d1741bb8" "checksum num-integer 0.1.39 (registry+https://github.com/rust-lang/crates.io-index)" = "e83d528d2677f0518c570baf2b7abdcf0cd2d248860b68507bdcb3e91d4c0cea" "checksum num-traits 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "0b3a5d7cc97d6d30d8b9bc8fa19bf45349ffe46241e8816f50f62f6d6aaabee1" "checksum num_cpus 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1a23f0ed30a54abaa0c7e83b1d2d87ada7c3c23078d1d87815af3e3b6385fbba" "checksum once_cell 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "532c29a261168a45ce28948f9537ddd7a5dd272cc513b3017b1e82a88f962c37" "checksum opaque-debug 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "93f5bb2e8e8dec81642920ccff6b61f1eb94fa3020c5a325c9851ff604152409" -"checksum openssl 0.10.19 (registry+https://github.com/rust-lang/crates.io-index)" = "84321fb9004c3bce5611188a644d6171f895fa2889d155927d528782edb21c5d" -"checksum openssl-sys 0.9.42 (registry+https://github.com/rust-lang/crates.io-index)" = "cb534d752bf98cf363b473950659ac2546517f9c6be9723771614ab3f03bbc9e" +"checksum openssl 0.10.20 (registry+https://github.com/rust-lang/crates.io-index)" = "5a0d6b781aac4ac1bd6cafe2a2f0ad8c16ae8e1dd5184822a16c50139f8838d9" +"checksum openssl-sys 0.9.43 (registry+https://github.com/rust-lang/crates.io-index)" = "33c86834957dd5b915623e94f2f4ab2c70dd8f6b70679824155d5ae21dbd495d" +"checksum owning_ref 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "cdf84f41639e037b484f93433aa3897863b561ed65c6e59c7073d7c561710f37" "checksum owning_ref 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "49a4b8ea2179e6a2e27411d3bca09ca6dd630821cf6894c6c7c8467a8ee7ef13" "checksum parity-bytes 0.1.0 (git+https://github.com/paritytech/parity-common?rev=b0317f649ab2c665b7987b8475878fc4d2e1f81d)" = "" -"checksum parity-codec 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "67a4d27831e31e27f1454d6e3d3bb34bcac6bf7ad7032eed0ad0070dc8cf55c1" -"checksum parity-codec-derive 3.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "864e9f66b58c0b38f0d6b511b6576afa2b678ae801b64220553bced57ac12df9" +"checksum parity-codec 3.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "0333b2a2973e75c3b4a9bc2a7b28dceacb56e3949907b4ce113ff3a53bcc6713" +"checksum parity-codec-derive 3.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "be90eb3f1b4c02a478ccee3e0e64e5152692e7871c7258d2aa8e356359325aa7" +"checksum parity-multiaddr 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "61ae6944d4435d41f4d0f12108c5cbb9207cbb14bc8f2b4984c6e930dc9c8e41" +"checksum parity-multihash 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3e8eab0287ccde7821e337a124dc5a4f1d6e4c25d10cc91e3f9361615dd95076" "checksum parity-wasm 0.31.3 (registry+https://github.com/rust-lang/crates.io-index)" = "511379a8194230c2395d2f5fa627a5a7e108a9f976656ce723ae68fca4097bfc" +"checksum parking_lot 0.5.5 (registry+https://github.com/rust-lang/crates.io-index)" = "d4d05f1349491390b1730afba60bb20d55761bef489a954546b58b4b34e1e2ac" +"checksum parking_lot 0.6.4 (registry+https://github.com/rust-lang/crates.io-index)" = "f0802bff09003b291ba756dc7e79313e51cc31667e94afbe847def490424cde5" "checksum parking_lot 0.7.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ab41b4aed082705d1056416ae4468b6ea99d52599ecf3169b00088d43113e337" +"checksum parking_lot_core 0.2.14 (registry+https://github.com/rust-lang/crates.io-index)" = "4db1a8ccf734a7bce794cc19b3df06ed87ab2f3907036b693c68f56b4d4537fa" +"checksum parking_lot_core 0.3.1 (registry+https://github.com/rust-lang/crates.io-index)" = "ad7f7e6ebdc79edff6fdcb87a55b620174f7a989e3eb31b65231f4af57f00b8c" "checksum parking_lot_core 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "94c8c7923936b28d546dfd14d4472eaf34c99b14e1c973a32b3e6d4eb04298c9" -"checksum paste 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "f50392d1265092fbee9273414cc40eb6d47d307bd66222c477bb8450c8504f9d" -"checksum paste-impl 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "a3cd512fe3a55e8933b2dcad913e365639db86d512e4004c3084b86864d9467a" +"checksum paste 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "1f4a4a1c555c6505821f9d58b8779d0f630a6b7e4e1be24ba718610acf01fa79" +"checksum paste-impl 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "26e796e623b8b257215f27e6c80a5478856cae305f5b59810ff9acdaa34570e6" +"checksum pbkdf2 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "006c038a43a45995a9670da19e67600114740e8511d4333bf97a56e66a7542d9" "checksum percent-encoding 1.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831" "checksum pkg-config 0.3.14 (registry+https://github.com/rust-lang/crates.io-index)" = "676e8eb2b1b4c9043511a9b7bea0915320d7e502b0a079fb03f9635a5252b18c" "checksum primitive-types 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "edb92f1ebfc177432c03287b15d48c202e6e2c95993a7af3ba039abb43b1492e" @@ -2245,7 +3373,11 @@ dependencies = [ "checksum proc-macro-hack 0.5.4 (registry+https://github.com/rust-lang/crates.io-index)" = "3e90aa19cd73dedc2d0e1e8407473f073d735fef0ab521438de6da8ee449ab66" "checksum proc-macro-hack-impl 0.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2b753ad9ed99dd8efeaa7d2fb8453c8f6bc3e54b97966d35f1bc77ca6865254a" "checksum proc-macro2 0.4.27 (registry+https://github.com/rust-lang/crates.io-index)" = "4d317f9caece796be1980837fd5cb3dfec5613ebdb04ad0956deea83ce168915" +"checksum protobuf 2.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "524d165d95627ddebba768db728216c4429bbb62882f7e6ab1a6c3c54a7ed830" +"checksum quick-error 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "5fb6ccf8db7bbcb9c2eae558db5ab4f3da1c2a87e4e597ed394726bc8ea6ca1d" +"checksum quick-error 1.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0" "checksum quote 0.6.11 (registry+https://github.com/rust-lang/crates.io-index)" = "cdd8e04bd9c52e0342b406469d494fcb033be4bdbe5c606016defbb1681411e1" +"checksum rand 0.3.23 (registry+https://github.com/rust-lang/crates.io-index)" = "64ac302d8f83c0c1974bf758f6b041c6c8ada916fbb44a609158ca8b064cc76c" "checksum rand 0.4.6 (registry+https://github.com/rust-lang/crates.io-index)" = "552840b97013b1a26992c11eac34bdd778e464601a4c2054b5f0bff7c6761293" "checksum rand 0.5.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c618c47cd3ebd209790115ab837de41425723956ad3ce2e6a7f09890947cacb9" "checksum rand 0.6.5 (registry+https://github.com/rust-lang/crates.io-index)" = "6d71dacdc3c88c1fde3885a3be3fbab9f35724e6ce99467f7d9c5026132184ca" @@ -2258,16 +3390,22 @@ dependencies = [ "checksum rand_os 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071" "checksum rand_pcg 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "abf9b09b01790cfe0364f52bf32995ea3c39f4d2dd011eac241d2914146d0b44" "checksum rand_xorshift 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "cbf7e9e623549b0e21f6e97cf8ecf247c1a8fd2e8a992ae265314300b2455d5c" +"checksum rayon 1.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "373814f27745b2686b350dd261bfd24576a6fb0e2c5919b3a2b6005f820b0473" +"checksum rayon-core 1.4.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b055d1e92aba6877574d8fe604a63c8b5df60f60e5982bf7ccbb1338ea527356" "checksum rdrand 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2" -"checksum redox_syscall 0.1.51 (registry+https://github.com/rust-lang/crates.io-index)" = "423e376fffca3dfa06c9e9790a9ccd282fafb3cc6e6397d01dbf64f9bacc6b85" +"checksum redox_syscall 0.1.52 (registry+https://github.com/rust-lang/crates.io-index)" = "d32b3053e5ced86e4bc0411fec997389532bf56b000e66cb4884eeeb41413d69" +"checksum regex 1.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "559008764a17de49a3146b234641644ed37d118d1ef641a0bb573d146edc6ce0" +"checksum regex-syntax 0.6.6 (registry+https://github.com/rust-lang/crates.io-index)" = "dcfd8681eebe297b81d98498869d4aae052137651ad7b96822f09ceb690d0a96" "checksum ring 0.14.6 (registry+https://github.com/rust-lang/crates.io-index)" = "426bc186e3e95cac1e4a4be125a4aca7e84c2d616ffc02244eef36e2a60a093c" "checksum rustc-demangle 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "adacaae16d02b6ec37fdc7acfcddf365978de76d1983d3ee22afc260e1ca9619" "checksum rustc-hex 2.0.1 (registry+https://github.com/rust-lang/crates.io-index)" = "403bb3a286107a04825a5f82e1270acc1e14028d3d554d7a1e08914549575ab8" "checksum rustc_version 0.2.3 (registry+https://github.com/rust-lang/crates.io-index)" = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a" +"checksum rw-stream-sink 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d548a40fe17c3a77d54b82457b79fcc9b8a288d509ca20fbf5aa1dac386d22d6" "checksum ryu 0.2.7 (registry+https://github.com/rust-lang/crates.io-index)" = "eb9e9b8cde282a9fe6a42dd4681319bfb63f121b8a8ee9439c6f4107e58a46f7" "checksum safe-mix 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "7f7bf422d23a88c16d5090d455f182bc99c60af4df6a345c63428acf5129e347" -"checksum schnorrkel 0.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fe554f318830b48e5da8ab1ccb1ffd02b79228364dac7766b7cd1ec461ca5116" +"checksum schnorrkel 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "b5eff518f9bed3d803a0d002af0ab96339b0ebbedde3bec98a684986134b7a39" "checksum scopeguard 0.3.3 (registry+https://github.com/rust-lang/crates.io-index)" = "94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27" +"checksum secp256k1 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)" = "bfaccd3a23619349e0878d9a241f34b1982343cdf67367058cd7d078d326b63e" "checksum semver 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403" "checksum semver-parser 0.7.0 (registry+https://github.com/rust-lang/crates.io-index)" = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3" "checksum serde 1.0.89 (registry+https://github.com/rust-lang/crates.io-index)" = "92514fb95f900c9b5126e32d020f5c6d40564c27a5ea6d1d7d9f157a96623560" @@ -2283,74 +3421,100 @@ dependencies = [ "checksum slog-json 2.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "ddc0d2aff1f8f325ef660d9a0eb6e6dcd20b30b3f581a5897f58bf42d061c37a" "checksum slog-scope 4.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "60c04b4726fa04595ccf2c2dad7bcd15474242c4c5e109a8a376e8a2c9b1539a" "checksum smallvec 0.6.9 (registry+https://github.com/rust-lang/crates.io-index)" = "c4488ae950c49d403731982257768f48fada354a5203fe81f9bb6f43ca9002be" +"checksum snow 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "5a64f02fd208ef15bd2d1a65861df4707e416151e1272d02c8faafad1c138100" "checksum spin 0.5.0 (registry+https://github.com/rust-lang/crates.io-index)" = "44363f6f51401c34e7be73db0db371c04705d35efbe9f7d6082e03a921a32c55" -"checksum sr-api-macros 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum sr-io 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum sr-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum sr-std 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum sr-version 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum srml-aura 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum srml-balances 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum srml-consensus 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum srml-executive 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum srml-fees 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum srml-indices 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum srml-metadata 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum srml-session 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum srml-staking 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum srml-sudo 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum srml-support 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum srml-support-procedural 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum srml-support-procedural-tools 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum srml-support-procedural-tools-derive 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum srml-system 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum srml-timestamp 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" +"checksum sr-api-macros 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum sr-io 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum sr-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum sr-std 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum sr-version 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum srml-aura 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum srml-balances 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum srml-consensus 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum srml-executive 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum srml-finality-tracker 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum srml-grandpa 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum srml-indices 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum srml-metadata 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum srml-session 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum srml-staking 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum srml-sudo 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum srml-support 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum srml-support-procedural 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum srml-support-procedural-tools 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum srml-support-procedural-tools-derive 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum srml-system 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum srml-timestamp 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" "checksum stable_deref_trait 1.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "dba1a27d3efae4351c8051072d619e3ade2820635c3958d826bfea39d59b54c8" "checksum static_assertions 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "c19be23126415861cb3a23e501d34a708f7f9b2183c5252d690941c2e69199d5" -"checksum substrate-client 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum substrate-consensus-aura-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum substrate-consensus-common 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum substrate-executor 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum substrate-inherents 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum substrate-keyring 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum substrate-panic-handler 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum substrate-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum substrate-serializer 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum substrate-state-machine 0.1.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum substrate-telemetry 0.3.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" -"checksum substrate-trie 0.4.0 (git+https://github.com/joystream/substrate.git?rev=df5e65927780b323482e2e8b5031822f423a032d)" = "" +"checksum static_slice 0.0.3 (registry+https://github.com/rust-lang/crates.io-index)" = "92a7e0c5e3dfb52e8fbe0e63a1b947bbb17b4036408b151353c4491374931362" +"checksum stdweb 0.4.15 (registry+https://github.com/rust-lang/crates.io-index)" = "a3edad410e603184d656e2abded5fd4d3d6e93d5763d21130dbaf99795db74eb" +"checksum stdweb-derive 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)" = "0e21ebd9179de08f2300a65454268a17ea3de204627458588c84319c4def3930" +"checksum stdweb-internal-macros 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "1635afd059cbfac7d5b1274f0c44cec110c1e013c48e8bbc22e07e52696cf887" +"checksum stdweb-internal-runtime 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "a2a2f4a2eb556337b2d1a302630bbddf989ae383c70393e89b48152b9896cbda" +"checksum stream-cipher 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)" = "8861bc80f649f5b4c9bd38b696ae9af74499d479dbfb327f0607de6b326a36bc" +"checksum strum 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)" = "1810e25f576e7ffce1ff5243b37066da5ded0310b3274c20baaeccb1145b2806" +"checksum strum_macros 0.14.0 (registry+https://github.com/rust-lang/crates.io-index)" = "572a2f4e53dd4c3483fd79e5cc10ddd773a3acb1169bbfe8762365e107110579" +"checksum substrate-bip39 0.2.1 (git+https://github.com/paritytech/substrate-bip39)" = "" +"checksum substrate-client 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum substrate-consensus-aura-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum substrate-consensus-authorities 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum substrate-consensus-common 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum substrate-executor 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum substrate-finality-grandpa-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum substrate-inherents 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum substrate-keyring 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum substrate-offchain-primitives 0.1.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum substrate-panic-handler 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum substrate-primitives 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum substrate-serializer 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum substrate-state-machine 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum substrate-telemetry 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum substrate-trie 1.0.0 (git+https://github.com/joystream/substrate.git?rev=89bbb7b6d0e076f0eda736b330f5f792aa2e2991)" = "" +"checksum subtle 1.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "2d67a5a62ba6e01cb2192ff309324cb4875d0c451d55fe2319433abe7a05a8ee" "checksum subtle 2.0.0 (registry+https://github.com/rust-lang/crates.io-index)" = "702662512f3ddeb74a64ce2fbbf3707ee1b6bb663d28bb054e0779bbc720d926" -"checksum syn 0.15.27 (registry+https://github.com/rust-lang/crates.io-index)" = "525bd55255f03c816e5d7f615587bd13030c7103354fadb104993dcee6a788ec" +"checksum syn 0.15.29 (registry+https://github.com/rust-lang/crates.io-index)" = "1825685f977249735d510a242a6727b46efe914bb67e38d30c071b1b72b1d5c2" +"checksum synstructure 0.10.1 (registry+https://github.com/rust-lang/crates.io-index)" = "73687139bf99285483c96ac0add482c3776528beac1d97d444f6e91f203a2015" "checksum take_mut 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60" "checksum thread_local 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b" "checksum time 0.1.42 (registry+https://github.com/rust-lang/crates.io-index)" = "db8dcfca086c1143c9270ac42a2bbd8a7ee477b78ac8e45b19abfb0cbede4b6f" +"checksum tiny-bip39 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "f5388a470627f97a01a6e13389ced797a42b1611f9de7e0f6ca705675ac55297" "checksum tiny-keccak 1.4.2 (registry+https://github.com/rust-lang/crates.io-index)" = "e9175261fbdb60781fcd388a4d6cc7e14764a2b629a7ad94abb439aed223a44f" -"checksum tokio 0.1.16 (registry+https://github.com/rust-lang/crates.io-index)" = "fcaabb3cec70485d0df6e9454fe514393ad1c4070dee8915f11041e95630b230" +"checksum tk-listen 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "5462b0f968c0457efe38fcd2df7e487096b992419e4f5337b06775a614bbda4b" +"checksum tokio 0.1.18 (registry+https://github.com/rust-lang/crates.io-index)" = "65641e515a437b308ab131a82ce3042ff9795bef5d6c5a9be4eb24195c417fd9" "checksum tokio-codec 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "5c501eceaf96f0e1793cf26beb63da3d11c738c4a943fdf3746d81d64684c39f" -"checksum tokio-current-thread 0.1.5 (registry+https://github.com/rust-lang/crates.io-index)" = "c756b04680eea21902a46fca4e9f410a2332c04995af590e07ff262e2193a9a3" -"checksum tokio-executor 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "30c6dbf2d1ad1de300b393910e8a3aa272b724a400b6531da03eed99e329fbf0" +"checksum tokio-current-thread 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "d16217cad7f1b840c5a97dfb3c43b0c871fef423a6e8d2118c604e843662a443" +"checksum tokio-dns-unofficial 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "82c65483db54eb91b4ef3a9389a3364558590faf30ce473141707c0e16fda975" +"checksum tokio-executor 0.1.7 (registry+https://github.com/rust-lang/crates.io-index)" = "83ea44c6c0773cc034771693711c35c677b4b5a4b21b9e7071704c54de7d555e" "checksum tokio-fs 0.1.6 (registry+https://github.com/rust-lang/crates.io-index)" = "3fe6dc22b08d6993916647d108a1a7d15b9cd29c4f4496c62b92c45b5041b7af" "checksum tokio-io 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "5090db468dad16e1a7a54c8c67280c5e4b544f3d3e018f0b913b400261f85926" "checksum tokio-reactor 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "6af16bfac7e112bea8b0442542161bfc41cbfa4466b580bdda7d18cb88b911ce" -"checksum tokio-sync 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1bf2b9dac2a0509b5cfd1df5aa25eafacb616a42a491a13604d6bbeab4486363" +"checksum tokio-sync 0.1.4 (registry+https://github.com/rust-lang/crates.io-index)" = "fda385df506bf7546e70872767f71e81640f1f251bdf2fd8eb81a0eaec5fe022" "checksum tokio-tcp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "1d14b10654be682ac43efee27401d792507e30fd8d26389e1da3b185de2e4119" -"checksum tokio-threadpool 0.1.12 (registry+https://github.com/rust-lang/crates.io-index)" = "742e511f6ce2298aeb86fc9ea0d8df81c2388c6ebae3dc8a7316e8c9df0df801" +"checksum tokio-threadpool 0.1.13 (registry+https://github.com/rust-lang/crates.io-index)" = "ec5759cf26cf9659555f36c431b515e3d05f66831741c85b4b5d5dfb9cf1323c" "checksum tokio-timer 0.2.10 (registry+https://github.com/rust-lang/crates.io-index)" = "2910970404ba6fa78c5539126a9ae2045d62e3713041e447f695f41405a120c6" +"checksum tokio-trace-core 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "350c9edade9830dc185ae48ba45667a445ab59f6167ef6d0254ec9d2430d9dd3" "checksum tokio-udp 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "66268575b80f4a4a710ef83d087fdfeeabdce9b74c797535fbac18a2cb906e92" "checksum tokio-uds 0.2.5 (registry+https://github.com/rust-lang/crates.io-index)" = "037ffc3ba0e12a0ab4aca92e5234e0dedeb48fddf6ccd260f1f150a36a9f2445" "checksum toml 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)" = "758664fc71a3a69038656bee8b6be6477d2a6c315a6b81f7081f591bffa4111f" -"checksum trie-db 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "3c7319e28ca295f27359d944a682f7f65b419158bf1590c92cadc0000258d788" -"checksum trie-root 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)" = "e3c6fef2705af3258ec46a7e22286090394a44216201a1cf7d04b78db825e543" +"checksum trie-db 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)" = "1ba73747fd3a64ab531274c04cb588dfa9d30d972d62990831e63fbce2cfec59" +"checksum trie-root 0.12.2 (registry+https://github.com/rust-lang/crates.io-index)" = "cfa2e20c4f1418ac2e71ddc418e35e1b56e34022e2146209ffdbf1b2de8b1bd9" +"checksum twofish 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712d261e83e727c8e2dbb75dacac67c36e35db36a958ee504f2164fc052434e1" "checksum twox-hash 1.1.2 (registry+https://github.com/rust-lang/crates.io-index)" = "555cd4909480122bbbf21e34faac4cb08a171f324775670447ed116726c474af" "checksum typenum 1.10.0 (registry+https://github.com/rust-lang/crates.io-index)" = "612d636f949607bdf9b123b4a6f6d966dedf3ff669f7f045890d3a4a73948169" +"checksum ucd-util 0.1.3 (registry+https://github.com/rust-lang/crates.io-index)" = "535c204ee4d8434478593480b8f86ab45ec9aae0e83c568ca81abf0fd0e88f86" "checksum uint 0.6.1 (registry+https://github.com/rust-lang/crates.io-index)" = "e7780bb27fd8a22295e0d9d53ae3be253f715a0dccb1808527f478f1c2603708" "checksum unicode-bidi 0.3.4 (registry+https://github.com/rust-lang/crates.io-index)" = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5" "checksum unicode-normalization 0.1.8 (registry+https://github.com/rust-lang/crates.io-index)" = "141339a08b982d942be2ca06ff8b076563cbe223d1befd5450716790d44e2426" +"checksum unicode-segmentation 1.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "aa6024fc12ddfd1c6dbc14a80fa2324d4568849869b779f6bd37e5e4c03344d1" "checksum unicode-xid 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)" = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc" +"checksum unsigned-varint 0.2.2 (registry+https://github.com/rust-lang/crates.io-index)" = "2c64cdf40b4a9645534a943668681bcb219faf51874d4b65d2e0abda1b10a2ab" "checksum untrusted 0.6.2 (registry+https://github.com/rust-lang/crates.io-index)" = "55cd1f4b4e96b46aeb8d4855db4a7a9bd96eeeb5c6a1ab54593328761642ce2f" "checksum url 1.7.2 (registry+https://github.com/rust-lang/crates.io-index)" = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a" +"checksum utf8-ranges 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "796f7e48bef87609f7ade7e06495a87d5cd06c7866e6a5cbfceffc558a243737" "checksum vcpkg 0.2.6 (registry+https://github.com/rust-lang/crates.io-index)" = "def296d3eb3b12371b2c7d0e83bfe1403e4db2d7a0bba324a12b21c4ee13143d" -"checksum wasmi 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)" = "21ef487a11df1ed468cf613c78798c26282da5c30e9d49f824872d4c77b47d1d" +"checksum void 1.0.2 (registry+https://github.com/rust-lang/crates.io-index)" = "6a02e4885ed3bc0f2de90ea6dd45ebcbb66dacffe03547fadbb0eeae2770887d" +"checksum wasmi 0.4.4 (registry+https://github.com/rust-lang/crates.io-index)" = "f6a891b45c79e9f96fb66cc84a057211ef9cd2e5e8d093f3dbbd480e146a8758" "checksum winapi 0.2.8 (registry+https://github.com/rust-lang/crates.io-index)" = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a" "checksum winapi 0.3.6 (registry+https://github.com/rust-lang/crates.io-index)" = "92c1eb33641e276cfa214a0522acad57be5c56b10cb348b3c5117db75f3ac4b0" "checksum winapi-build 0.1.1 (registry+https://github.com/rust-lang/crates.io-index)" = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc" @@ -2358,3 +3522,6 @@ dependencies = [ "checksum winapi-x86_64-pc-windows-gnu 0.4.0 (registry+https://github.com/rust-lang/crates.io-index)" = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" "checksum ws 0.7.9 (registry+https://github.com/rust-lang/crates.io-index)" = "329d3e6dd450a9c5c73024e1047f0be7e24121a68484eb0b5368977bee3cf8c3" "checksum ws2_32-sys 0.2.1 (registry+https://github.com/rust-lang/crates.io-index)" = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e" +"checksum x25519-dalek 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "7ee1585dc1484373cbc1cee7aafda26634665cf449436fd6e24bfd1fad230538" +"checksum yamux 0.1.9 (registry+https://github.com/rust-lang/crates.io-index)" = "302defd1bed8a9a6d43b82f0e5a50510dfdfbbd02c270c93ff9d6f3f5e2dea89" +"checksum zeroize 0.5.2 (registry+https://github.com/rust-lang/crates.io-index)" = "8ddfeb6eee2fb3b262ef6e0898a52b7563bb8e0d5955a313b3cf2f808246ea14" diff --git a/wasm/Cargo.toml b/wasm/Cargo.toml index 625bcaf2b7..529e875ebd 100644 --- a/wasm/Cargo.toml +++ b/wasm/Cargo.toml @@ -11,6 +11,7 @@ crate-type = ['cdylib'] [features] default = [] std = ['joystream-node-runtime/std'] + [dependencies.joystream-node-runtime] default-features = false path = '..'