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

Try around with yul too deep (This PR just for reference only for exploring purposes) #86

Closed
wants to merge 10 commits into from

Conversation

cwang25
Copy link
Contributor

@cwang25 cwang25 commented Sep 26, 2024

No description provided.

kevincheng96 and others added 10 commits September 25, 2024 14:29
Adds `nonceSecret` and `replayCount` to QuarkBuilder. For replayable
operations, the QuarkBuilder will also generate the nonce using the
`nonceSecret` and `replayCount` (see `generateNonceFromSecret`
function).

We also uncover and fix a bug where `0` is being used as the `nonce` for
an operation when a nonce is not provided for an account by the client.
Now, the code reverts if a `nonceSecret` is not given for an account. We
buff up the unit tests to assert the right values are being used for the
nonces, since nonces were being checked previously.
This patch adds an EIP-712 change for Quark V2, which adds an
`isReplayable` field in the typehash of the EIP-712 struct.
@cwang25 cwang25 changed the title Try around with yul too deep (This PR just for reference only for exploring the errors) Try around with yul too deep (This PR just for reference only for exploring purposes) Sep 26, 2024
Base automatically changed from kevin/quark-v2 to main September 30, 2024 18:00
@cwang25 cwang25 closed this Oct 15, 2024
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