Skip to content

refactor: move genesisBlock to network config and remove extraneous config#2052

Merged
spkjp merged 8 commits intodevelopfrom
refactor/crypto-config
Feb 2, 2019
Merged

refactor: move genesisBlock to network config and remove extraneous config#2052
spkjp merged 8 commits intodevelopfrom
refactor/crypto-config

Conversation

@faustbrian
Copy link
Copy Markdown
Contributor

Proposed changes

Right now the genesis block is exposed to the user and stored in the config directory. This shouldn't be the case as the genesisBlock is specific to a network, not a user.

Types of changes

  • Refactoring (improve a current implementation without adding a new feature or fixing a bug)

Checklist

  • I have read the CONTRIBUTING documentation
  • Lint and unit tests pass locally with my changes

@ghost
Copy link
Copy Markdown

ghost commented Feb 2, 2019

@supaiku0 @air1one - please review this in the next few days. Be sure to explicitly select labels so I know what's going on.

If no reviewer appears after a week, a reminder will be sent out.

@faustbrian faustbrian requested a review from spkjp February 2, 2019 08:23
@ghost
Copy link
Copy Markdown

ghost commented Feb 2, 2019

@faustbrian The ci/circleci: test-node10-2 job is failing as of 0dff5a7a2136853a87f14fa3dbb82836aa08d4db. Please review the logs for more information.

Once you've pushed the fixes, the build will automatically re-run. Thanks!

@codecov-io
Copy link
Copy Markdown

codecov-io commented Feb 2, 2019

Codecov Report

Merging #2052 into develop will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2052      +/-   ##
===========================================
+ Coverage     73.8%   73.81%   +<.01%     
===========================================
  Files          367      367              
  Lines         8258     8259       +1     
  Branches      1188     1165      -23     
===========================================
+ Hits          6095     6096       +1     
  Misses        2131     2131              
  Partials        32       32
Impacted Files Coverage Δ
packages/core-container/src/config/network.ts 82.35% <ø> (ø) ⬆️
packages/core-container/src/config/schema.ts 100% <ø> (ø) ⬆️
packages/crypto/src/managers/config.ts 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 27e4aa6...0cc2f16. Read the comment docs.

@spkjp spkjp merged commit 9828c96 into develop Feb 2, 2019
@ghost ghost deleted the refactor/crypto-config branch February 2, 2019 11:37
@ghost ghost removed the Status: Needs Review label Feb 2, 2019
vasild added a commit that referenced this pull request Feb 4, 2019
…peer-state

* ArkEcosystem/core/develop:
  chore: few upgrade script fixes (#2060)
  misc: add github templates for docs, security and support (#2059)
  fix: remove entries with double and single quotes during the upgrade
  fix: syntax error in upgrade script
  fix(crypto): disable multisig (#2057)
  chore: add bash fallback for ARK > CORE in upgrade script
  refactor: move genesisBlock to network config and remove extraneous config (#2052)
  chore: store development docker files in docker/development (#2053)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants