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

fix(core-json-rpc): allow use of old and new block IDs #2593

Merged
merged 2 commits into from
May 21, 2019

Conversation

faustbrian
Copy link
Contributor

@faustbrian faustbrian commented May 21, 2019

Summary

Allow the use of new and old IDs for core-json-rpc.

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)

@ghost ghost added Complexity: Low labels May 21, 2019
@faustbrian faustbrian merged commit 81519cb into master May 21, 2019
@ghost ghost deleted the fix/json-rpc-id branch May 21, 2019 11:40
@codecov-io
Copy link

Codecov Report

Merging #2593 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2593   +/-   ##
=======================================
  Coverage   66.01%   66.01%           
=======================================
  Files         400      400           
  Lines        8616     8616           
  Branches      436      436           
=======================================
  Hits         5688     5688           
  Misses       2883     2883           
  Partials       45       45
Impacted Files Coverage Δ
...json-rpc/src/server/methods/blocks/transactions.ts 100% <ø> (ø) ⬆️
...es/core-json-rpc/src/server/methods/blocks/info.ts 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 302000c...bfb804d. Read the comment docs.

faustbrian pushed a commit that referenced this pull request May 21, 2019
vasild added a commit that referenced this pull request May 22, 2019
…ve-incdec

* ArkEcosystem/core/2.6:
  feat: initial nonce implementation (#2573)
  Merge develop into 2.5 (#2600)
  refactor(core-json-rpc): use blockId schema for validation (#2596)
  chore(core-database-postgres): add core-state dependency (#2598)
  fix(core-database-postgres): use day instead of date (#2595)
  refactor: use dayjs as it now has official UTC support (#2592)
  refactor(core-json-rpc): improved version of #2593
  release: 2.3.23 (#2594)
  fix(core-json-rpc): allow use of old and new block IDs (#2593)
  fix(core-p2p): do not suspend peer for `AppNotReady` (#2590)
  chore(changelog): add latest changes for 2.4.0 (#2591)
  chore(ci): setup node.js 12 on CircleCI (#2474)
  fix(core-blockchain): divide blocks into smaller chunks for batch processing (#2586)
  refactor(crypto): fallback to ECDSA signature for version 2 transactions (#2584)
  fix(core-p2p): don't cause suspensions for unresponsive plugins (#2583)
  fix(core-p2p): don't cause suspensions for unresponsive plugins
  test(core-api): set p2p port on dummy peer
  feat(core): command to generate network configuration (#2582)
  fix(core-blockchain): delete bad rounds after unclean shutdown (#2581)
  feat(core-p2p): don't trust headers and verify config and plugin connectivity of peers (#2559)
  refactor: use ApplicationEvents enum instead of string (#2580)
  refactor(core-api): enforce "application/json" as content-type
  refactor(core-api): use pagination configuration limit
  test(e2e): remove version assertions
  chore(ci): update CircleCI configuration
  test(core-tester-cli): update API mock URLs
  refactor(core-api): register /api/v2 as a transition period fallback (#2578)
  test(core-api): use address identity
  refactor(corer-api): remove the legacy API (#2439)
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.

2 participants