Skip to content

Conversation

@gballet
Copy link
Owner

@gballet gballet commented Jun 8, 2024

Over the years, two variables with very similar roles have been created:

  • LastMerkleRoot, that comes from the time of the replay and is used to retain the base tree. It is set at the end of IntermediateRoot
  • baseRoot which is also the pointer to the root of the base tree, but is coming from the shadowfork codebase.

These two variables do the same thing, and if they are not in sync, weird bugs appear. Hence the need to remove one of them.

This is a cherry-pick of #445 on top of kaustinen-with-shapella as something broke the shadowfork system in the t8n branch.

TODO

  • make sure that it syncs kaustinen
  • make sure that it still performs shadowforks
  • check that it also works with the replay
@gballet gballet requested a review from jsign June 17, 2024 08:57
@gballet gballet merged commit 4133497 into kaustinen-with-shapella Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants