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

Cache intermediate states of Power and Miner actors #25

Open
i-norden opened this issue Sep 22, 2023 · 0 comments
Open

Cache intermediate states of Power and Miner actors #25

i-norden opened this issue Sep 22, 2023 · 0 comments

Comments

@i-norden
Copy link
Contributor

i-norden commented Sep 22, 2023

For proper execution of eth_call at "block" n we need to execute the call on top of the state that results from executing the messages in epoch n on top of the parent_state_root referenced from epoch n but before running the cron execution that brings us to the state under the parent_state_root referenced from epoch n+1.

In particular, it is the Power and Miner actors which exist in an intermediate state that does not exist at either n or n+1. If we cache the intermediate state for these actors, we should be able to use that in combination with the eventual states of the FEVM actors already captured at n+1 to perform eth_calls efficiently.

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

No branches or pull requests

1 participant