Removes our node handshake calls when the latestBlochash is needing to be updated. Replaced with a service endpoint dedicated to fetching this data.
Changes our staking contract listener from listening to Validator Locked events to Active validator events. Change introduced as a prelim to a follow up task for refactoring our network syncing on epoch transitions.
Type of change
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Tested with integration test runs on local and cayenne with a block hash fetched from the new service to assure it works with the nodes internal block store.
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
Description
Removes our node
handshake
calls when thelatestBlochash
is needing to be updated. Replaced with a service endpoint dedicated to fetching this data.Changes our
staking contract listener
from listening toValidator Locked
events toActive
validator events. Change introduced as a prelim to a follow up task for refactoring our network syncing on epoch transitions.Type of change
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Tested with integration test runs on local and cayenne with a block hash fetched from the new service to assure it works with the nodes internal block store.
Checklist: