-
Notifications
You must be signed in to change notification settings - Fork 5
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
combine UpdateL2Key and DepositToNew? #194
Comments
?? i did not know we had updatel2key |
For data availability, the encoded public data may become too large if a deposit / transfer data need to comply with a L2 key (254bit). So it would be a better practice to divide a "big" tx into some separated piece if the guarantee of atomic is not needed. For depositToNew it is just that case, i.e. we can separate it into a "register L2 key" tx and a "deposit to existed address“ tx and do not require the two op is atomic. Currently the code is still confused so we may need to do some renaming / refactoring work so they become more clearer and easier to be understood:
|
|
We only need one of them. And if having them both it will affect them performance.
So should we use
UpdateL2Key or DepositToNew?
The text was updated successfully, but these errors were encountered: