add new dev spec
This commit is contained in:
@@ -1251,7 +1251,7 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn internal_seals_without_work() {
|
||||
let miner = Miner::with_spec(&Spec::new_test_instant());
|
||||
let miner = Miner::with_spec(&Spec::new_instant());
|
||||
|
||||
let c = generate_dummy_client(2);
|
||||
let client = c.reference().as_ref();
|
||||
|
||||
@@ -279,7 +279,7 @@ impl Spec {
|
||||
pub fn new_null() -> Spec { load_bundled!("null") }
|
||||
|
||||
/// Create a new Spec with InstantSeal consensus which does internal sealing (not requiring work).
|
||||
pub fn new_test_instant() -> Spec { load_bundled!("instant_seal") }
|
||||
pub fn new_instant() -> Spec { load_bundled!("instant_seal") }
|
||||
|
||||
/// Create a new Olympic chain spec.
|
||||
pub fn new_ethereum_olympic() -> Spec { load_bundled!("ethereum/olympic") }
|
||||
|
||||
Reference in New Issue
Block a user