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

570 - fix for the endorsing/baking rights #572

Merged
merged 1 commit into from Oct 4, 2019

Conversation

piotrkosecki
Copy link
Contributor

resolves #570

Changed way of fetching endorsing rights. Now they are being batched.

@@ -531,14 +531,15 @@ object TezosTypes {
level: Int,
delegate: String,
priority: Int,
estimated_time: java.sql.Timestamp
estimated_time: ZonedDateTime
Copy link
Contributor

Choose a reason for hiding this comment

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

Curious, Why have we moved away from simple timestamps?

Copy link
Contributor

Choose a reason for hiding this comment

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

I've suggested this to keep the domain model clean of things related to a database.
This helps immediately to decode json datetimes with no custom decoding definitions, and allows (if ever needed) more handle to operate on the datetime values.

Copy link
Contributor

@ivanopagano ivanopagano left a comment

Choose a reason for hiding this comment

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

Looks good

@vishakh vishakh merged commit 35d6df3 into master Oct 4, 2019
@anonymoussprocket anonymoussprocket deleted the bugfix/570-fix-for-rights-fetching branch December 11, 2019 04:16
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.

Fetching endorsing/baking operations fails because of connections limit in Lorre
4 participants