-
Notifications
You must be signed in to change notification settings - Fork 307
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
AVM: spec header access #4840
Comments
HEADERMEMBER
opcode to AVM transpiler & simulator (discuss spec - it's probably wrong!)
Some notes on this, from other people: From David: Regarding HEADERMEMBER, it is really the least-specced opcode at this time. [We should look into what it should do] I think what we want is for HEADERMEMBER to do the following:
Note: we probably also need to trace the entire header (although I didn't add that to the trace struct in the spec)! That is because the current plan is for the VM circuit to accept the entire header as a public input, and then hash it to an archive leaf. The kernel will get a list of archive leaves to membership check. From Lasse: For a lot of the state in there, seems somewhat nasty to make membership proofs available. e.g., if I can have transaction that need to provide a membership proof in historical state, then only archive nodes can satisfy it. So a lot of these cases you would do in private anyway. So it might just be specifying the actual values. That way you could have airdrops or whatever where you are specifying that it uses a given root or whatever. So in my mind, it is GET_MEMBER_OF_HISTORICAL_HEADER, if that makes sense. From Maddiaa: We will split header member into 6 opcodes each representing the root of a different state tree @ block number that is the input
Why: Could this change in the future: |
We've decided to deprioritize this one for a while. |
HEADERMEMBER
opcode to AVM transpiler & simulator (discuss spec - it's probably wrong!)
No description provided.
The text was updated successfully, but these errors were encountered: