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

Properly init proposer for LCD tests #2416

Closed
rigelrozanski opened this issue Sep 28, 2018 · 1 comment · Fixed by #2429
Closed

Properly init proposer for LCD tests #2416

rigelrozanski opened this issue Sep 28, 2018 · 1 comment · Fixed by #2429
Assignees
Labels
C:x/distribution distribution module related

Comments

@rigelrozanski
Copy link
Contributor

An annoying problem I'm experiencing is properly initializing the proposer node for the lcd tests - becomes relevant for distribution - currently just uninitialized - new validators are initialized for the test, whereas the actual node who is running is not initialized - this generates problems for distribution end-block functionality as the proposer needs to have a ValidatorInfo object to receive proposer rewards

Blocks #2236

@rigelrozanski rigelrozanski added lcd C:x/distribution distribution module related labels Sep 28, 2018
@rigelrozanski
Copy link
Contributor Author

rigelrozanski commented Oct 2, 2018

privVal := pvm.LoadOrGenFilePV(privValidatorFile)

is where the proposer validator is generated (but not currently added to the genesis val set in staking )

Basically need to make sure that privVal info is included in genDoc.Validators

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C:x/distribution distribution module related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants