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

Set validator flag when use dev account #1625

Merged
merged 1 commit into from
May 22, 2023
Merged

Conversation

kamilsa
Copy link
Contributor

@kamilsa kamilsa commented May 22, 2023

Referenced issues

Description of the Change

  • According to polkadot --help passing dev account as cli arg (such as --alice) is a shortcut for --name Alice --validator with session keys for Alice added to keystore'. In KAGOME that was not the case, so this PR fixes that
  • We were returning wrong syncing status when processed 'system_health' rpc. This PR also fixes that

Benefits

More consistent behavior with substrate's CLI

Possible Drawbacks

None

Usage Examples or Tests

https://github.com/soramitsu/kagome/tree/feature/devaccounts-update/examples/polkadot-local

Signed-off-by: kamilsa <kamilsa16@gmail.com>
@kamilsa kamilsa requested review from turuslan and Harrm May 22, 2023 13:50
@kamilsa kamilsa enabled auto-merge (squash) May 22, 2023 13:52
@kamilsa kamilsa merged commit be47d3e into master May 22, 2023
@kamilsa kamilsa deleted the feature/devaccounts-update branch May 22, 2023 14:45
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