8000 Use BLSWallet and ProxyAdmin directly inside VerificationGateway by voltrevo · Pull Request #536 · getwax/bls-wallet · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Nov 5, 2023. It is now read-only.

Use BLSWallet and ProxyAdmin directly inside VerificationGateway #536

Merged
merged 4 commits into from
Mar 3, 2023

Conversation

voltrevo
Copy link
Collaborator
@voltrevo voltrevo commented Feb 15, 2023

Dependent PR

This PR builds on top of #464. To reduce confusion, please either merge that PR first or retarget this branch to contract-updates to make it one PR that contains everything.

What is this PR doing?

With the revelation that the 30m gas limit issue is a hardhat testing bug (which doesn't affect this branch) and that we therefore have plenty of headroom, this PR uses BLSWallet and ProxyAdmin directly inside VerificationGateway.

This reduces complexity, removes the ProxyAdminGenerator workaround entirely.

VerificationGateway now deploys with 4,798,984, so we still have 25m gas of headroom.

We could also set runs: 1000 in the optimization settings, but it looks like the gas used by an operation actually goes up by doing that, so I've left it alone.

How can these changes be manually tested?

yarn test

Does this PR resolve or contribute to any issues?

Contributes to #394.

Checklist

  • I have manually tested these changes
  • Post a link to the PR in the group chat

Guidelines

  • If your PR is not ready, mark it as a draft
  • The resolve conversation button is for reviewers, not authors
    • (But add a 'done' comment or similar)

@github-actions github-actions bot added contracts Smart contract related clients labels Feb 15, 2023
@voltrevo voltrevo force-pushed the bw-394-followup-combine-contracts branch from b38a7f3 to af420d9 Compare February 15, 2023 04:12
@jzaki jzaki mentioned this pull request Mar 1, 2023
2 tasks
Base automatically changed from bw-394-use-safe-singleton-factory to contract-updates March 2, 2023 09:10
@voltrevo
Copy link
Collaborator Author
voltrevo commented Mar 3, 2023

Not sure why the aggregator and integration tests ran previously. This PR shouldn't be triggering them / those tests failing is expected.

Bumping seems to have fixed it 🤷‍♂️.

@voltrevo voltrevo merged commit c260e60 into contract-updates Mar 3, 2023
@voltrevo voltrevo deleted the bw-394-followup-combine-contracts branch March 3, 2023 07:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
clients contracts Smart contract related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0