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

Feature/squash npm workspaces feature commits #206

Closed
wants to merge 10 commits into from

Conversation

akshay-ap
Copy link
Member

This PR squashes small intermediate commits related to #146

akshay-ap and others added 10 commits January 15, 2024 12:22
…ths in README.md, update github workflows, remove modules: recurring_transfers and dutchx_seller

[#146] Update root package.json and package-lock.json, delete .eslintrc.cjs in modules/4337-gas-metering
A huge part of the way to #173

This PR adds an E2E test using the reference 4337 EntryPoint and bundler
for a Safe deployment with a WebAuthn (i.e. Passkeys) signer.

Note that this E2E test is not 100% complete. In particular, we don't
get test using the Safe after the launchpad deployment is completed. I
want to add that test in a follow-up when I actually add the gas
profiling for the WebAuthn signer.
I noticed that the `fallback` function implementation was not memory
safe for the SafeMock contract. This PR rectifies this.

Additionally, FCL assembly is also not tagged as memory safe (but should
be AFAIU). We should probably submit a PR upstream to tag assembly as
memory safe.
[#146] Pin certora-cli version to 5.0.5 for workflow to pass

[#146] Add github worflow for global fmt checks
Fixes #173

This PR adds tests that execute user operations on Safes with WebAuthn
signers over the reference entrypoint and prints out the gas usage. It
includes both Safe deployment as well as regular user operation usage.

The results are in:

```
  Safe4337Module - WebAuthn Owner
    executeUserOp - new account
           Used 2293926 gas for >WebAuthn signer Safe deployment<
      ✔ should execute user operation (357ms)
    executeUserOp - existing account
           Used 374142 gas for >WebAuthn signer Safe operation<
      ✔ should execute user operation (229ms)
```
…ript for `WebAuthnSignerFactory` (#202)

As discussed in Slack, we agreed that moving experimental contracts
(mainly related to passkeys) outside of the test folder made sense.

This PR:
- Moves passkeys-related contracts to the experimental folder
- Adds a deployment script for `WebauthnSignerFactory`
- Adds Copilot-generated docs to the `WebAuthnSigner` contract
- Move FCL to the `vendor` folder
@akshay-ap akshay-ap self-assigned this Jan 15, 2024
@akshay-ap akshay-ap requested a review from a team as a code owner January 15, 2024 12:47
@akshay-ap akshay-ap requested review from rmeissner, nlordell, mmv08 and remedcu and removed request for a team January 15, 2024 12:47
@akshay-ap akshay-ap marked this pull request as draft January 15, 2024 12:47
@mmv08
Copy link
Member

mmv08 commented Jan 22, 2024

Did we decide to drop this PR?

@mmv08 mmv08 closed this Jan 31, 2024
@mmv08 mmv08 deleted the feature/squash-npm-workspaces-feature-commits branch January 31, 2024 16:02
@github-actions github-actions bot locked and limited conversation to collaborators Jan 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants