Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Register validator topics #8075

Closed
Tracked by #7210
mosmartin opened this issue Jan 25, 2023 · 0 comments · Fixed by #8094
Closed
Tracked by #7210

Register validator topics #8075

mosmartin opened this issue Jan 25, 2023 · 0 comments · Fixed by #8094
Assignees
Milestone

Comments

@mosmartin
Copy link
Contributor

mosmartin commented Jan 25, 2023

Expected behavior

When registering a validator, the node should not err on empty topics as there should be a default one.

Actual behavior

The node logs an error
[moduleName=pos commandName=registerValidator err=Topics must have at least one element.] Command execution failed
when trying to register a validator.

Steps to reproduce

Run the command to register a validator

  • ./bin/run transaction create pos registerValidator {FEE}
  • Follow the prompts
  • ./bin/run transaction send {txn}
  • Observe the node logs

Which version(s) does this affect? (Environment, OS, etc...)

  • Using the example pos application in the development branch
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants