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

Piercetrey figure/sc 253074/update to blockapi #54

Merged

Conversation

piercetrey-figure
Copy link

@piercetrey-figure piercetrey-figure commented Aug 16, 2023

  • Using blockapi for the event listening instead of the event stream
  • Updated to Java 17

@piercetrey-figure piercetrey-figure requested a review from a team August 16, 2023 18:48
@shortcut-integration
Copy link

This pull request has been linked to Shortcut Story #253074: Update object store gateway to use blockapi.

).collect { block ->
val lastProcessedHeight = blockHeightRepository.getLastProcessedBlockHeight()

block.blockResult.block.transactionsList.flatMap { it.eventsList }
Copy link
Author

Choose a reason for hiding this comment

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

took me a while to figure out that block.blockResult.transactions.transactions.transactionsList was an empty red herring 🤦

Copy link
Contributor

Choose a reason for hiding this comment

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

Yea, there's a branch out there to nix that out that's about 8 months old.

mtps
mtps previously approved these changes Aug 16, 2023
@piercetrey-figure
Copy link
Author

going to adjust this to be pluggable between event stream and blockapi since this is public and might need to be more flexible

README.md Outdated Show resolved Hide resolved
hyperschwartz
hyperschwartz previously approved these changes Aug 18, 2023
mtps
mtps previously approved these changes Aug 18, 2023
@piercetrey-figure piercetrey-figure merged commit fc34518 into main Aug 21, 2023
2 checks passed
@piercetrey-figure piercetrey-figure deleted the piercetrey-figure/sc-253074/update-to-blockapi branch August 21, 2023 18:27
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.

4 participants