Revert "Remove service, migrate all to service-new (#1630)" (#1731)

This reverts commit d531ba561c.
This commit is contained in:
Peter Goodspeed-Niklaus
2020-09-18 11:18:22 +02:00
committed by GitHub
parent d531ba561c
commit b4457f555b
31 changed files with 3152 additions and 1300 deletions
-13
View File
@@ -1,13 +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
1. `cargo clean`
1. `cargo build --release`: produces `target/release/polkadot`
1. `target/release/polkadot --alice --tmp --rpc-external --ws-external --chain dev`
-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};
@@ -74,7 +72,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;
@@ -402,16 +399,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;
}