Skip to content

Conversation

@kderme
Copy link
Contributor

@kderme kderme commented Apr 26, 2022

Follow up to #1094

then do
liftIO . logWarning tracer $ mconcat
[ "validateEpochRewards: rewards spendable in epoch "
[ "Validate Epoch Rewards: rewards spendable in epoch "
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is not actually an improvement. validateEpochRewards is the function name.

case eraName of
Generic.Shelley -> "insertShelleyBlock"
other -> mconcat [ "insertShelleyBlock(", textShow other, ")" ]
mconcat ["Insert ", textShow eraName, " Block"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We want the fucntion name not just Insert.

{ icAddressCache :: !(Map StakeCred DB.StakeAddressId)
, icPoolCache :: !(Map StakePoolKeyHash DB.PoolHashId)
}

Copy link
Contributor

@erikd erikd Apr 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this change have to do with improving the logs?

@erikd
Copy link
Contributor

erikd commented Apr 28, 2022

@kderme If you want to rebase this branch, the easiest way to do so is to check out master create a new branch and then cherry pick the "IMprove logs" commit.

@erikd
Copy link
Contributor

erikd commented May 24, 2022

This PR is redundant.

@erikd erikd closed this May 24, 2022
@kderme kderme deleted the kderme/improve-logs branch July 4, 2022 13:05
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