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(crypto): move mainnet exceptions #2529

Merged
merged 1 commit into from
May 4, 2019
Merged

refactor(crypto): move mainnet exceptions #2529

merged 1 commit into from
May 4, 2019

Conversation

spkjp
Copy link
Contributor

@spkjp spkjp commented May 3, 2019

Summary

We were using hardcoded heights instead of block ids even though it is only for mainnet.

What kind of change does this PR introduce?

  • Bugfix
  • New feature
  • Refactoring / Performance Improvements
  • Build-related changes
  • Documentation
  • Tests / Continuous Integration
  • Other, please describe:

Does this PR introduce a breaking change?

  • Yes
  • No

Does this PR release a new version?

  • Yes
    • All tests are passing
    • All benchmarks are passing without any major regressions
    • Sync from 0 works on mainnet
    • Sync from 0 works on devnet
    • Starting a new network and forging on it work
    • Explorer is fully functional
    • Wallets are fully functional
  • No

Checklist

  • I have read the CONTRIBUTING documentation
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@codecov-io
Copy link

Codecov Report

Merging #2529 into develop will increase coverage by 0.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #2529      +/-   ##
===========================================
+ Coverage    67.85%   67.87%   +0.01%     
===========================================
  Files          394      394              
  Lines         8655     8656       +1     
  Branches       408      447      +39     
===========================================
+ Hits          5873     5875       +2     
+ Misses        2725     2724       -1     
  Partials        57       57
Impacted Files Coverage Δ
packages/crypto/src/blocks/block.ts 92.39% <100%> (+1.18%) ⬆️
packages/core-logger-winston/src/formatter.ts 41.66% <0%> (ø) ⬆️

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 28bf8b6...0348211. Read the comment docs.

@faustbrian faustbrian merged commit f7129bb into ArkEcosystem:develop May 4, 2019
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