Deleted update functions, getSingleNodeRootHash internal functions, a…#2389
Conversation
🦋 Changeset detectedLatest commit: 1867a4c The changes in this PR will be included in the next version bump. This PR includes changesets to release 4 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Can you add a changeset for the contracts package and squash into a single commit? Thanks! |
|
Sure thing, will do that now |
bb5dbbf to
0c2dc42
Compare
|
@tynes done! |
|
Thanks for updating @Michael-Vander-Meiden! I apologize and should have mentioned that this should be a patch changeset. Pre 1.0.0 we aren't following semver exactly, do you mind updating this? Then it will be good to go |
faf451e to
5ebfb61
Compare
Sorry I just saw this. Third time's the charm! Switched it to patch. 😁 |
|
cc @maurelian |
maurelian
left a comment
There was a problem hiding this comment.
This is safe to merge once the checks are running, but it would be preferable to also delete _getUpdatedTrieRoot().
If we can get that in quickly, great. But I'll approve regardless.
|
Hi Michael! To get builds running please unfollow your fork of
|
b2befe1 to
cd17eb9
Compare
|
Ugh, sorry for the trouble @Michael-Vander-Meiden, but you'll need to rebase this on Thanks for working through this with us. |
|
No worries, working on it now. |
|
hey @maurelian , just want to make sure I get this right. When you say rebase on edit |
|
|
b43b7dc to
0614825
Compare
|
Hey @maurelian ! There ended up being a lot more unused functions than I originally thought. I deleted those as well some more tests and fixed the linting issues. If things still look good to you then I will go ahead and squash these commits to prep for merge. |
|
Nothing like the smell of deleted code in the morning!These changes look great, squash away. |
eb55ddf to
75f7f54
Compare
|
@maurelian looks ready for merge!😁 |
|
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. |
… changeset (ethereum-optimism#2389) Co-authored-by: Maurelian <maurelian@protonmail.ch>
… build task to reuse the insert task (#2399) ## Description This PR does the following cleanups to the engine tasks: - Use explicit error types instead of `dyn Box<...>` for the `EngineTaskError`. The goal of this is twofold: - Improve the composability of engine tasks (and be able to do some control flow when an engine task emits an error) - Allows explicit testing of the error cases (in the future when we'll add tests for the engine tasks) - Refactors the build task in the engine to reuse the `InsertUnsafe` task logic. This task is now called `InsertTask` to also encapsulate the case where we insert a derived block. Close #2390. Progress towards #2389
… build task to reuse the insert task (op-rs/kona#2399) ## Description This PR does the following cleanups to the engine tasks: - Use explicit error types instead of `dyn Box<...>` for the `EngineTaskError`. The goal of this is twofold: - Improve the composability of engine tasks (and be able to do some control flow when an engine task emits an error) - Allows explicit testing of the error cases (in the future when we'll add tests for the engine tasks) - Refactors the build task in the engine to reuse the `InsertUnsafe` task logic. This task is now called `InsertTask` to also encapsulate the case where we insert a derived block. Close #2390. Progress towards #2389
Description
packages/contracts/contracts/libraries/trie/Lib_MerkleTrie.sol:
packages/contracts/contracts/libraries/trie/Lib_SecureMerkleTrie.sol:
packages/contracts/test/contracts/libraries/trie/Lib_MerkleTrie.spec.ts
packages/contracts/test/contracts/libraries/trie/Lib_SecureMerkleTrie.spec.ts
Metadata