-
Notifications
You must be signed in to change notification settings - Fork 10
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
Question about state transition #36
Comments
In fact, A new test vector has now been released. In the test vector, you will see that the first block is labeled If it were truly the first block, the Since the encoding formula involves two variable-length encodings:
As a result, for the genesis block, you will observe the following outcome:
|
Closing for now |
reopening given #49 |
@charliewinston14 Can you kindly check this issue is still present in this recent commit? Thank you! |
Looks good now! |
Thank you! |
For the first safrole transition, 463954_000.json, I have a question about the recent history (beta) MMR result.
The expected beta result seems to expect a MMR with a single peak of "0xbc36789e7a1e281436464229828f817d6612f7b477d66591ff96a9e064bcc98a".
How is this determined?
I am arriving at a single peak of "0x0000000000000000000000000000000000000000000000000000000000000000".
Rational:
So it's essentially doing a MMR append with a blank array (since no pre-state beta exists) and a zero hash (since a binary merkle tree of a blank array is a zero hash) which all ultimately result to "0x0000000000000000000000000000000000000000000000000000000000000000".
The text was updated successfully, but these errors were encountered: