op-node: Cleanup calldata source API#3532
Conversation
|
This PR changes implementation code, but doesn't include a changeset. Did you forget to add one? |
|
a680c89 to
df9c2af
Compare
d158635 to
d56423a
Compare
d56423a to
3ca51bd
Compare
protolambda
left a comment
There was a problem hiding this comment.
LGTM, but please rename the interface in the retrieval stage back
3ca51bd to
d6bc900
Compare
This provides a new set of objects which provide the following API guarantees: - The opening of a data for a new L1 block will never. - If it failed to get transactions, it does so in the calls to `Next`. This greatly simplifies usage of this object when constructing new data. If the node did not keep track of the internal state, the external users of this API would have to keep track of this state in a more complex way.
d6bc900 to
d1b6da8
Compare
|
This PR has been added to the merge queue, and will be merged soon. |
|
This PR is next in line to be merged, and will be merged as soon as checks pass. |
Description
This provides a new set of objects which provide the following API guarantees:
Next.This greatly simplifies usage of this object when constructing new data. If the node did not keep track of the internal state, the external users of this API would have to keep track of this state in a more complex way.
Tests
Please describe any tests you've added. If you've added no tests, or left important behavior untested, please explain why not.
Additional context
Add any other context about the problem you're solving.
Metadata