Skip to content
This repository has been archived by the owner on Jul 28, 2023. It is now read-only.

Dev mode #104

Merged
merged 8 commits into from
Oct 8, 2021
Merged

Dev mode #104

merged 8 commits into from
Oct 8, 2021

Conversation

vitvakatu
Copy link
Contributor

@vitvakatu vitvakatu commented Sep 22, 2021

Implement dev-mode for node
Fixes #100

New flag --dev-service added to CLI. Implementation is basically
copied from Moonbeam project, with some simplifications. Node is using
sc_consensus_manual_seal crate to fake consensus.

Code in node/service.rs simplified and slightly refactored. Removed
unused parachain_build_import_queue function.

@coveralls
Copy link

coveralls commented Sep 22, 2021

Pull Request Test Coverage Report for Build 1319623281

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 13 unchanged lines in 4 files lost coverage.
  • Overall coverage remained the same at 53.942%

Files with Coverage Reduction New Missed Lines %
pallets/sp-mvm/src/addr.rs 1 62.11%
pallets/sp-mvm/src/lib.rs 1 50.0%
pallets/sp-mvm/src/storage.rs 4 50.0%
pallets/sp-mvm/src/balance.rs 7 75.0%
Totals Coverage Status
Change from base Build 1214784954: 0.0%
Covered Lines: 97
Relevant Lines: 159

💛 - Coveralls

Fixes #100

New flag `--dev-service` added to CLI. Implementation is basically
copied from Moonbeam project, with some simplifications. Node is using
sc_consensus_manual_seal crate to fake consensus.

Code in node/service.rs simplified and slightly refactored. Removed
unused parachain_build_import_queue function.
@vitvakatu vitvakatu marked this pull request as ready for review September 26, 2021 20:44
@vitvakatu vitvakatu changed the title [WIP] Dev mode Dev mode Sep 26, 2021
instead of declaring modules in both crates.
Remove redundant generic type parameters from functions, abstract
build_consensus function to reduce the indentation.
@borispovod borispovod merged commit 274c5ad into master Oct 8, 2021
@boozook boozook deleted the dev-mode branch December 6, 2021 14:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make ability to launch Pontem node without RelayChain (in dev mode).
3 participants