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

Chainlib support for replacing keys - #8929

Merged
tbfleming merged 3 commits into
developfrom
replace_keys
Apr 11, 2020
Merged

tbfleming merged 3 commits into
developfrom
replace_keys

Conversation

@tbfleming

Copy link
Copy Markdown
Contributor

Change Description

This adds minimal support to chainlib for replacing keys. The initial use case is in eosio-tester, which exposes these new functions. Unlike prior PRs, this PR:

  • Doesn't assume the need to replace production keys implies the need to replace owner and active
  • Doesn't assume a particular system contract
  • Allows replacing owner and active on arbitrary accounts
  • Doesn't provide either command-line options or new utilities for accessing this functionality

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

@heifner

heifner commented Apr 10, 2020

Copy link
Copy Markdown
Contributor

Related: #7413

@arhag arhag left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any unit tests we can add to test these new functions?

Comment thread libraries/chain/controller.cpp Resolved
Comment thread libraries/chain/controller.cpp Resolved
Comment thread libraries/chain/controller.cpp Resolved
@arhag

arhag commented Apr 10, 2020

Copy link
Copy Markdown
Contributor

Also, merge in the latest develop to bring in the fixes unrelated to this PR that are causing the CICD builds to fail.

@tbfleming

Copy link
Copy Markdown
Contributor Author

@heifner Do you have anyone available who can whip out some tests for this?

@heifner

heifner commented Apr 10, 2020

Copy link
Copy Markdown
Contributor

I believe tests can come in under a diff PR so you can have access to this quickly.

@allenhan2 Can you create some tests for this?

@tbfleming
tbfleming merged commit 55622e8 into develop Apr 11, 2020
@tbfleming
tbfleming deleted the replace_keys branch April 11, 2020 00:08
@allenhan2 allenhan2 mentioned this pull request Apr 17, 2020
3 tasks
@jeffreyssmith2nd jeffreyssmith2nd mentioned this pull request Jun 4, 2020
1 of 3 tasks
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