-
Notifications
You must be signed in to change notification settings - Fork 351
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
inconsistency between state rebuilding #36
Comments
History hashes usage https://fravoll.github.io/solidity-patterns/randomness.html |
So I would resolve following 4 tasks:
|
I think task 1 can be resolved by "not an issue": |
oh i think you should trace_proof AccountCreated in common rs or else that err block result json will fail? |
Yes. trace_proof AccountCreated seems fix the issue. However I am still not very confident about which field we should trace (accountCreated or accountAfter), I may spend some time to dive deeper in the code to understand that. |
For contract creation, there are basically three phase for the contract address's data (except for storageRoot):
The "...before" state recorded inside There are would be issues to change them representing the state of phase 1:
Since the stateDB for busmapping should be initialized with the state before a block being handled. I prefer parsing the |
VS https://github.com/scroll-tech/zkevm-circuits/blob/3a48411dec61360e7a441bdf5abbf4b052f2d7ad/bus-mapping/src/circuit_input_builder/access.rs#L114
accountCreated
? but be careful with this problem problems of 'AccountCreated' in trace go-ethereum#137The text was updated successfully, but these errors were encountered: