-
Notifications
You must be signed in to change notification settings - Fork 697
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
feijoa: l1infotree recursive #3474
Conversation
…recursive methods
ProcessorBase: actions.ProcessorBase[ProcessorL1InfoTreeUpdate]{ | ||
SupportedEvent: []etherman.EventOrder{etherman.L1InfoTreeOrder}, | ||
SupportedForkdIds: &actions.ForksIdAll}, | ||
ProcessorBase: *actions.NewProcessorBase[ProcessorL1InfoTreeUpdate]( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is the reason for this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a refactoring to match the way I understood the ProcessorBase
struct was intended to be implemented.
There were some methods to expose the fields adding extra logic when accessing these fields, but the fields were public and, there was no constructor to the struct, it was mixed publicly and privately implemented, then I adjusted it to work in a private way.
This was done in the middle of other changes to the code, we can review it and change it if necessary.
…feijoa info tree processor forkid; refactoring l1InfoTreeV1 naming
testState := state.NewState(stateCfg, storage, nil, nil, nil, mt) | ||
mtr, err := l1infotree.NewL1InfoTreeRecursive(32) | ||
if err != nil { | ||
panic(err) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
panic(err) | |
require.NoError(t, err) |
Closes #3465
What does this PR do?
Reviewers
Main reviewers:
Codeowner reviewers: