Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Create a fix to support requested encoding type in next_key #9917

Merged
merged 10 commits into from
Jan 20, 2021

Conversation

nickjjzhao
Copy link
Contributor

@nickjjzhao nickjjzhao commented Jan 15, 2021

Change Description

The fix in this PR is to make sure that the value returned in "next_key" matches the --encode-type of the request that caused it to be returned (and thus can be used to replace the original passed in --lower, or --upper with --reverse, parameter and the request repeated).

Change Type

Select ONE:

  • Documentation
  • Stability bug fix
  • Other
  • Other - special case

Testing Changes

Select ANY that apply:

  • New Tests
  • Existing Tests
  • Test Framework
  • CI System
  • Other

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

@nickjjzhao nickjjzhao marked this pull request as draft January 15, 2021 21:50
@nickjjzhao nickjjzhao marked this pull request as ready for review January 18, 2021 01:58
@brianjohnson5972
Copy link
Contributor

@nickjjzhao Please verify that the my edit to the initial description is correct. I'm guessing that you had made the PR via the hub tool.

@nickjjzhao
Copy link
Contributor Author

nickjjzhao commented Jan 18, 2021

@nickjjzhao Please verify that the my edit to the initial description is correct. I'm guessing that you had made the PR via the hub tool.

Thanks Brian! Your edit is correct.

plugins/chain_plugin/chain_plugin.cpp Outdated Show resolved Hide resolved
plugins/chain_plugin/chain_plugin.cpp Outdated Show resolved Hide resolved
plugins/chain_plugin/chain_plugin.cpp Outdated Show resolved Hide resolved
plugins/chain_plugin/chain_plugin.cpp Outdated Show resolved Hide resolved
plugins/chain_plugin/chain_plugin.cpp Outdated Show resolved Hide resolved
tests/get_kv_table_nodeos_tests.cpp Outdated Show resolved Hide resolved
tests/get_kv_table_nodeos_tests.cpp Outdated Show resolved Hide resolved
tests/get_kv_table_nodeos_tests.cpp Outdated Show resolved Hide resolved
tests/get_kv_table_nodeos_tests.cpp Outdated Show resolved Hide resolved
tests/get_kv_table_nodeos_tests.cpp Show resolved Hide resolved
plugins/chain_plugin/chain_plugin.cpp Outdated Show resolved Hide resolved
tests/get_kv_table_nodeos_tests.cpp Outdated Show resolved Hide resolved
@nickjjzhao nickjjzhao merged commit 240d7ac into develop Jan 20, 2021
@nickjjzhao nickjjzhao deleted the jjz-epe530-kv-next_key branch January 20, 2021 20:38
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.

3 participants