-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat: split v2.1 #55
feat: split v2.1 #55
Conversation
we aren't redeploying |
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.
idk if i'll make standup tmrw, will reach out to chat live beforehand if not so i don't block. you
return split; | ||
} | ||
|
||
split = Clone.cloneDeterministic({ _implementation: SPLIT_WALLET_IMPLEMENTATION, _salt: salt }); |
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.
hm is it more performant to make the clone in a try/catch and then do the predict / code length check in the catch? makes the happy-case better (which should be ~100% of usage?)
don't feel strongly about it.. not sure how much we're actually shaving off
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.
realized while implementing that try catch is only allowed for external function calls so this won't be possible without creating a wrapper create function, going to keep this as is for now
as discussed on discord,
if you can keep pushing the ball forward w/o deploying, great. if not, just deploy and i'll review in the AM |
ah right bummer
…---
splits <https://splits.org/> | @wminshew <https://twitter.com/wminshew> |
willminshew.com <http://www.willminshew.com>
On Wed, Dec 18, 2024 at 04:38 Rooh Afza ***@***.***> wrote:
***@***.**** commented on this pull request.
------------------------------
In packages/splits-v2/src/splitters/SplitFactoryV2.sol
<#55 (comment)>
:
> });
+ if (split.code.length > 0) {
+ return split;
+ }
+
+ split = Clone.cloneDeterministic({ _implementation: SPLIT_WALLET_IMPLEMENTATION, _salt: salt });
realized while implementing that try catch is only allowed for external
function calls so this won't be possible without creating a wrapper create
function, going to keep this as is for now
—
Reply to this email directly, view it on GitHub
<#55 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACLDV7S4SBXZ6VIEYKGBEXT2GFUGHAVCNFSM6AAAAABTXVEOUCVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDKMJRG4YTIMZRGY>
.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
No description provided.