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

Added fix to allow getroothash to work with no api running #8342

Merged
merged 3 commits into from
Oct 2, 2023

Conversation

mh0lt
Copy link
Contributor

@mh0lt mh0lt commented Oct 2, 2023

Whitelisting calculation of the roothash should not be dependent on the bor api running. This will not always be the case, for example when erigon is configured with a separate rpc deamon.

To fix this the calculation has been moved to Bor.

Additionally the redundant Bor API code has been removed as this is not called by any code and the functionality looks to have migrated to the turbo/jsonrpc package.

@mh0lt mh0lt added the polygon label Oct 2, 2023
@mh0lt mh0lt merged commit 3d6d2a7 into devel Oct 2, 2023
4 checks passed
@mh0lt mh0lt deleted the fix_bor_whitelist_api_deps branch October 2, 2023 17:55
yperbasis pushed a commit that referenced this pull request Oct 3, 2023
Whitelisting calculation of the roothash should not be dependent on the
bor api running. This will not always be the case, for example when
erigon is configured with a separate rpc deamon.

To fix this the calculation has been moved to Bor.

Additionally the redundant Bor API code has been removed as this is not
called by any code and the functionality looks to have migrated to the
turbo/jsonrpc package.
@yperbasis yperbasis mentioned this pull request Oct 3, 2023
yperbasis added a commit that referenced this pull request Oct 3, 2023
Cherry pick PRs #8329, #8339, #8342

---------

Co-authored-by: Mark Holt <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant