-
Notifications
You must be signed in to change notification settings - Fork 650
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
EpochInfoProvider improvements #12542
Comments
Hello @wacban, |
Hi @hackpk Thank you and welcome! It should be the block hash of the block that contains the chunk that is being applied. It should be available in the ApplyState or one of the ProcessingState types that you can find in |
Hi @wacban |
It would be nice to double check that my assumption about always using the current epoch id is correct. Before getting rid of epoch id from the API can you first just debug_assert that the epoch is is equal to the pegged one in btw the name is up for debate, I'll think about it once I see the code |
Description
The epoch info provider encapsulates the runtime's needs of epoch manager.
account_id_to_shard_id
and replace it's usages. Please also remove theaccount_id_to_shard_id_map
from theMockEpochInfoProvider
and instead use an appropriate shard layout and test accounts.The text was updated successfully, but these errors were encountered: