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

Fix keosd auto-launching after CLI11 upgrade - 2.0 #9028

Merged
merged 2 commits into from
Apr 30, 2020

Conversation

revl
Copy link
Contributor

@revl revl commented Apr 30, 2020

This is a replica of #9025 for release/2.0.x.

Change Description

At some point, CLI11 introduced different types of callbacks: preparse_callback(), parse_complete_callback(), final_callback().

The CLI::App::callback() method now maps to final_callback() by default.

In cleos, one of the callbacks (namely, ensure_keosd_running()), needs to be called immediately after option parsing is done – thus, this fix.

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

revl added 2 commits April 30, 2020 08:26
At some point, CLI11 introduced different types of callbacks:
preparse_callback(), parse_complete_callback(), final_callback().

The CLI::App::callback() method now maps to final_callback() by default.

In cleos, one of the callbacks (namely, ensure_keosd_running()), needs
to be called immediately after option parsing is done -- thus, this fix.
@revl revl requested a review from heifner April 30, 2020 12:34
@revl revl merged commit 8a7c544 into release/2.0.x Apr 30, 2020
@revl revl deleted the fix-keosd-auto-launch-regression-2.0 branch April 30, 2020 13:17
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.

2 participants