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

Address L2/Q4 #112

Merged
merged 6 commits into from
Dec 6, 2023
Merged

Address L2/Q4 #112

merged 6 commits into from
Dec 6, 2023

Conversation

cwang25
Copy link
Contributor

@cwang25 cwang25 commented Dec 5, 2023

  • invalidate uint96.max nonce value
  • optimize nextNonce() by shifting bits instead of layers of function calls
  • optimized nextNonce() by providing offset to the function as suggested

Hans Wang added 2 commits December 4, 2023 18:00
… are getting nextNonce() directly from stateManager in our scenarios instead of passing through factory
@cwang25 cwang25 requested review from kevincheng96 and fluffywaffles and removed request for kevincheng96 December 5, 2023 02:15
@cwang25 cwang25 requested a review from hayesgm December 5, 2023 18:39
src/QuarkStateManager.sol Outdated Show resolved Hide resolved
src/QuarkStateManager.sol Outdated Show resolved Hide resolved
@cwang25 cwang25 requested a review from kevincheng96 December 6, 2023 21:16
src/QuarkStateManager.sol Outdated Show resolved Hide resolved
src/QuarkStateManager.sol Outdated Show resolved Hide resolved
src/QuarkStateManager.sol Outdated Show resolved Hide resolved
src/QuarkWalletFactory.sol Show resolved Hide resolved
src/QuarkStateManager.sol Show resolved Hide resolved
@cwang25 cwang25 requested a review from kevincheng96 December 6, 2023 23:57
@cwang25 cwang25 merged commit 22c5742 into main Dec 6, 2023
4 checks passed
@cwang25 cwang25 deleted the hans/nonce branch December 6, 2023 23:57
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.

2 participants