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

Update Rosetta block queries; fix Block.{t,type} in archive node #6166

Merged
merged 2 commits into from
Sep 29, 2020

Conversation

psteckler
Copy link
Member

The schema for the blocks table in the archive db no longer has the column coinbase_id, and adds the column global_slot.

Update the block queries in Rosetta to use those columns.

Also, there was a type mismatch between Archive_lib.Block.t and the schema. The column height has type bigint, so the corresponding record field should have type int64. Update Block.typ correspondingly.

@psteckler psteckler requested a review from a team as a code owner September 29, 2020 00:11
@psteckler psteckler changed the title Update Rosetta block queries; fix Block.type in archive node; Update Rosetta block queries; fix Block.{t,type} in archive node Sep 29, 2020
@psteckler psteckler added ci-build-me Add this label to trigger a circle+buildkite build for this branch ready-to-merge Adding this label will trigger mergify and trigger CI to run and merge the PR labels Sep 29, 2020
@netlify
Copy link

netlify bot commented Sep 29, 2020

Deploy preview for mina-staging ready!

Built with commit 74b6e05

https://deploy-preview-6166--mina-staging.netlify.app

@mergify mergify bot merged commit cfc7d24 into develop Sep 29, 2020
@mergify mergify bot deleted the rosetta/fix-block-queries branch September 29, 2020 03:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci-build-me Add this label to trigger a circle+buildkite build for this branch ready-to-merge Adding this label will trigger mergify and trigger CI to run and merge the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants