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
Deleted update functions, getSingleNodeRootHash internal functions, a… #2389
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 |
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 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>
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