Skip to content

Conversation

JonathanOppenheimer
Copy link
Member

Why this should be merged

This PR works towards completing #1144.

@JonathanOppenheimer JonathanOppenheimer self-assigned this Sep 10, 2025
Copy link
Contributor

@alarso16 alarso16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's some repeated patterns that should be changed

JonathanOppenheimer and others added 3 commits September 10, 2025 14:52
Co-authored-by: Austin Larson <[email protected]>
Signed-off-by: Jonathan Oppenheimer <[email protected]>
Co-authored-by: Austin Larson <[email protected]>
Signed-off-by: Jonathan Oppenheimer <[email protected]>
@JonathanOppenheimer
Copy link
Member Author

There's some repeated patterns that should be changed

I resolved these.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These trie error handling changes are lowkey terrifying... Need to dig into these to make sure they are safe.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update: not scary at all. An error will only be returned if not called with HashDB (because geth is a nightmare)

JonathanOppenheimer and others added 2 commits September 11, 2025 14:15
Co-authored-by: Stephen Buttolph <[email protected]>
Signed-off-by: Jonathan Oppenheimer <[email protected]>
Copy link
Contributor

@alarso16 alarso16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, I don't have enough background to approve this without digging into all the calls that now return errors...

Copy link
Contributor

@alarso16 alarso16 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CleanupVerified interface now always returns nil. Probably just shouldn't return anything

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update: not scary at all. An error will only be returned if not called with HashDB (because geth is a nightmare)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet