Skip to content
Snippets Groups Projects
Unverified Commit 0344f1e3 authored by Nikos Kontakis's avatar Nikos Kontakis
Browse files

Minor fixes

parent 8faed6d7
Branches
No related merge requests found
use std::{any, cell::RefCell, fs, marker::PhantomData, rc::Rc};
use std::{cell::RefCell, fs, marker::PhantomData, rc::Rc};
use regex::Regex;
use serde::{Deserialize, Serialize};
......@@ -9,7 +9,7 @@ use crate::{
parachain::{self, ParachainConfig, ParachainConfigBuilder},
relaychain::{self, RelaychainConfig, RelaychainConfigBuilder},
shared::{
constants::{NO_ERR_DEF_BUILDER, RELAY_NOT_NONE, THIS_IS_A_BUG, VALID_REGEX},
constants::{NO_ERR_DEF_BUILDER, RELAY_NOT_NONE, RW_FAILED, THIS_IS_A_BUG, VALID_REGEX},
helpers::merge_errors_vecs,
macros::states,
types::ValidationContext,
......
......@@ -58,7 +58,6 @@ impl RelaychainConfig {
pub fn default_args(&self) -> Vec<&Arg> {
self.default_args.iter().collect::<Vec<&Arg>>()
}
/// The location of an pre-existing chain specification for the relay chain.
pub fn chain_spec_path(&self) -> Option<&AssetLocation> {
self.chain_spec_path.as_ref()
......
use std::{
cell::RefCell,
error::Error,
fmt::{self, Display},
marker::PhantomData,
rc::Rc,
};
use std::{cell::RefCell, error::Error, fmt::Display, marker::PhantomData, rc::Rc};
use multiaddr::Multiaddr;
use serde::{de, ser::SerializeStruct, Deserialize, Serialize};
use serde::{ser::SerializeStruct, Deserialize, Serialize};
use super::{
errors::FieldError,
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment