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

Better logs #21

Open
wants to merge 3 commits into
base: rename-block-classes
Choose a base branch
from
Open

Better logs #21

wants to merge 3 commits into from

Conversation

ivan-mashonskiy
Copy link
Contributor

Changes in this PR are based on #19 changes, so it's better to merge #19 first and then change base branch of this PR to main

@@ -1,4 +1,3 @@
package object units {
type BlockHash = BlockHash.Type
type JobResult[A] = Either[ClientError, A]
Copy link
Contributor

Choose a reason for hiding this comment

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

I couldn't say that I totally disagree with this decision, but wondering, why do we remove JobResult? It looks concise and hides the left part, so we haven't write it each time.
We can even rename it to Result to make it shorter and remove Job part, because it is not a "job" anymore, just a computed value.

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.

2 participants