Skip to content

Commit

Permalink
Merge pull request #307 from bit-country/continuum-release-0.0.2
Browse files Browse the repository at this point in the history
Continuum release 0.0.2
  • Loading branch information
justinphamnz authored Jan 9, 2024
2 parents 96259e3 + fdf74a4 commit feabb87
Show file tree
Hide file tree
Showing 3 changed files with 77 additions and 43 deletions.
110 changes: 71 additions & 39 deletions node/res/continuum-live-raw-spec.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion node/src/command.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ fn load_spec(id: &str) -> std::result::Result<Box<dyn sc_service::ChainSpec>, St
#[cfg(feature = "with-continuum-runtime")]
"continuum-dev" => Box::new(chain_spec::continuum::development_config()),
#[cfg(feature = "with-continuum-runtime")]
"continuum" => Box::new(chain_spec::continuum::continuum_genesis_config()),
"continuum" => Box::new(chain_spec::continuum::continuum_network_config_json()?),
path => Box::new(chain_spec::metaverse::ChainSpec::from_json_file(
std::path::PathBuf::from(path),
)?),
Expand Down
8 changes: 5 additions & 3 deletions node/src/rpc/rpc_continuum.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,19 @@
#![warn(missing_docs)]

use continuum_runtime::{opaque::Block, AccountId, Hash, Index as Nonce};
use std::sync::Arc;

use jsonrpsee::RpcModule;
use primitives::Balance;
use sc_client_api::{AuxStore, BlockchainEvents, StorageProvider};
use sc_consensus_manual_seal::rpc::{EngineCommand, ManualSeal, ManualSealApiServer};
pub use sc_rpc_api::DenyUnsafe;
use sc_transaction_pool_api::TransactionPool;
use sp_api::ProvideRuntimeApi;
use sp_block_builder::BlockBuilder;
use sp_blockchain::{Error as BlockChainError, HeaderBackend, HeaderMetadata};
use std::sync::Arc;

use continuum_runtime::{opaque::Block, AccountId, Hash, Index as Nonce};
use primitives::Balance;

/// A type representing all RPC extensions.
pub type RpcExtension = jsonrpsee::RpcModule<()>;
Expand Down

0 comments on commit feabb87

Please sign in to comment.