Skip to content

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.

3 participants