Skip to content
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

[copy of #340] perf: optimize poolKey.toId() (skip abi.encode) #550

Merged
merged 11 commits into from
Apr 3, 2024

Conversation

adhusson
Copy link
Contributor

@adhusson adhusson commented Apr 3, 2024

copy of #340 to get CI to run

@adhusson adhusson changed the title perf: optimize poolKey.toId() (skip abi.encode) [copy of #340] perf: optimize poolKey.toId() (skip abi.encode) Apr 3, 2024
contract TestPoolKey is Test {
using PoolIdLibrary for PoolKey;

function testPoolIdCreation(PoolKey memory poolKey) public {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this file isnt actually needed - it does the same as PoolId.t.sol

Copy link
Contributor

Choose a reason for hiding this comment

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

Then I can merge into our temp branch :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done in 47cf6e3

@adhusson adhusson requested a review from hensha256 April 3, 2024 14:51
@snreynolds snreynolds self-requested a review April 3, 2024 16:04
@snreynolds
Copy link
Member

Thanks!! Feel free to squash and merge and then reopen that new branch onto main :)

@adhusson
Copy link
Contributor Author

adhusson commented Apr 3, 2024

Thanks!! Feel free to squash and merge and then reopen that new branch onto main :)

I don't have write access so I can't merge I think?

@adhusson adhusson requested a review from snreynolds April 3, 2024 17:42
@snreynolds snreynolds merged commit 27acc25 into Uniswap:temp/optimize-toId Apr 3, 2024
5 checks passed
snreynolds added a commit that referenced this pull request Apr 3, 2024
[copy of #340] perf: optimize poolKey.toId() (skip abi.encode) (#550)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants