Revert "Remove Old Service, 2nd try (#1732)" (#1758)

This reverts commit 96f2615582.
This commit is contained in:
Peter Goodspeed-Niklaus
2020-09-28 12:57:29 +02:00
committed by GitHub
parent 96f2615582
commit 9a0f08bfe1
31 changed files with 3152 additions and 1298 deletions
-11
View File
@@ -1,11 +0,0 @@
# Rococo: v1
Rococo is a testnet runtime with no stability guarantees.
## How to run
> TODO: figure out how to run this properly.
### Alice
`cargo run --release -- --alice --tmp --validator --chain rococo-local`
-13
View File
@@ -54,8 +54,6 @@ use sp_runtime::{
};
use pallet_im_online::sr25519::AuthorityId as ImOnlineId;
use authority_discovery_primitives::AuthorityId as AuthorityDiscoveryId;
#[cfg(any(feature = "std", test))]
use sp_version::NativeVersion;
use sp_version::RuntimeVersion;
use pallet_transaction_payment_rpc_runtime_api::RuntimeDispatchInfo;
use pallet_grandpa::{AuthorityId as GrandpaId, fg_primitives};
@@ -75,7 +73,6 @@ use runtime_parachains::router as parachains_router;
use runtime_parachains::scheduler as parachains_scheduler;
pub use pallet_balances::Call as BalancesCall;
pub use pallet_staking::StakerStatus;
/// Constant values used within the runtime.
pub mod constants;
@@ -404,16 +401,6 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
transaction_version: 2,
};
/// Native version.
#[cfg(any(feature = "std", test))]
pub fn native_version() -> NativeVersion {
NativeVersion {
runtime_version: VERSION,
can_author_with: Default::default(),
}
}
parameter_types! {
pub const Version: RuntimeVersion = VERSION;
}