-
Notifications
You must be signed in to change notification settings - Fork 268
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
refactor: nuking L1 block number from L2 block #5275
refactor: nuking L1 block number from L2 block #5275
Conversation
This stack of pull requests is managed by Graphite. Learn more about stacking. |
|
||
// create the block number -> block hash mapping to ensure we retrieve the appropriate events | ||
const blockNumberToBodyHash: { [key: number]: Buffer | undefined } = {}; |
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.
This map was completely unused here.
@@ -209,50 +210,50 @@ export class Archiver implements ArchiveSource { | |||
); | |||
|
|||
const blockBodies = retrievedBlockBodies.retrievedData.map(([blockBody]) => blockBody); | |||
|
|||
await this.store.addBlockBodies(blockBodies); |
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.
The code bellow here was all messy so I cleaned that up.
d8b572c
to
5d407f1
Compare
1348fdc
to
268d641
Compare
5d407f1
to
5c58881
Compare
268d641
to
8754701
Compare
5c58881
to
e34dec8
Compare
8754701
to
422191a
Compare
e34dec8
to
a1abb66
Compare
422191a
to
2da0404
Compare
a1abb66
to
a57663a
Compare
2da0404
to
fee8bd3
Compare
fee8bd3
to
b33b3d8
Compare
6e69a6b
into
03-17-refactor_l1_l2_messages_cleanup
Fixes #5274