allocation tests

This commit is contained in:
rigelrozanski
2018-10-10 23:16:49 -04:00
parent 900a5f47f6
commit f4f39ae03f
4 changed files with 66 additions and 15 deletions
-3
View File
@@ -19,10 +19,7 @@ func (k Keeper) AllocateFees(ctx sdk.Context) {
// get the proposer of this block
proposerConsAddr := k.GetProposerConsAddr(ctx)
fmt.Printf("debug proposerConsAddr: %v\n", proposerConsAddr.String())
proposerValidator := k.stakeKeeper.ValidatorByConsAddr(ctx, proposerConsAddr)
fmt.Printf("debug in allocate proposerValidator: %v\n", proposerValidator.GetOperator())
proposerDist := k.GetValidatorDistInfo(ctx, proposerValidator.GetOperator())
// get the fees which have been getting collected through all the