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

Set X-CURRENT-BLOCK-HASH header on every request #20

Merged
merged 4 commits into from
May 17, 2024

Conversation

MartinquaXD
Copy link
Contributor

@MartinquaXD MartinquaXD commented May 13, 2024

Introduces a new optional argument current-block-poll-interval. When that is set we create a CurrentBlockStream and use the current block hash to populate the X-CURRENT-BLOCK-HASH header on every http request.
I only made it optional to not have to introduce a bunch of mocking logic in tests for a minor feature.

Also updates dependencies to the backend crates with the exception of solvers-dto. Upgrading that requires a bunch of changes in unit tests which are already covered in #19.

@squadgazzz
Copy link
Contributor

Unit tests are fixed in the #19

@fleupold
Copy link
Contributor

🏓 @MartinquaXD to include before the automatic release cut...

@MartinquaXD MartinquaXD merged commit 0441d8f into main May 17, 2024
3 checks passed
@MartinquaXD MartinquaXD deleted the set-current-block-header branch June 6, 2024 07:34
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