Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor params/config to separate files for clarity #6427

Merged
merged 7 commits into from Jun 27, 2020

Conversation

prestonvanloon
Copy link
Member

What type of PR is this?

Other

What does this PR do? Why is it needed?

As we get closer to mainnet and we support multiple testnets, the config.go file will continue to grow in size.

This PR splits up the monolithic file into individual files which are in the format of testnet_X_config.go. This way, readers should be able to quickly find network configuration for a particular network. Additionally, this makes adding or removing testnet support simplier as all of the relevant config code for the particular network is in a single file.

Which issues(s) does this PR fix?

Part of #6342

Other notes for review

I'll resolve conflicts in #6414 as well.

@prestonvanloon prestonvanloon requested a review from a team as a code owner June 26, 2020 21:16
@prestonvanloon prestonvanloon added Enhancement New feature or request Ready For Review A pull request ready for code review Refactor labels Jun 26, 2020
rauljordan
rauljordan previously approved these changes Jun 26, 2020
@codecov
Copy link

codecov bot commented Jun 26, 2020

Codecov Report

Merging #6427 into master will decrease coverage by 0.64%.
The diff coverage is 73.39%.

@@            Coverage Diff             @@
##           master    #6427      +/-   ##
==========================================
- Coverage   61.47%   60.83%   -0.65%     
==========================================
  Files         350      355       +5     
  Lines       29061    29123      +62     
==========================================
- Hits        17866    17717     -149     
- Misses       8806     9030     +224     
+ Partials     2389     2376      -13     

terencechain
terencechain previously approved these changes Jun 26, 2020
@prylabs-bulldozer prylabs-bulldozer bot merged commit a9bbbae into master Jun 27, 2020
@delete-merged-branch delete-merged-branch bot deleted the onyx-config branch June 27, 2020 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement New feature or request Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants