8000 Merge in contract updates by voltrevo · Pull Request #575 · 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.

Merge in contract updates #575

Merged
merged 167 commits into from
Apr 20, 2023
Merged

Merge in contract updates #575

merged 167 commits into from
Apr 20, 2023

Conversation

voltrevo
Copy link
Collaborator
@voltrevo voltrevo commented Apr 3, 2023

What is this PR doing?

This PR integrates a significant number of contract related changes into main, including audit fixes, compression work, other contract related changes See merge commit messages for more details.

Diff & commits to review integration changes from contract-updates

How can these changes be manually tested?

  • Ensure Quill extension can send ERC20 & ETH
  • Other changes should be covered by automated testing suites

Does this PR resolve or contribute to any issues?

No

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)

TODO (in likely dep order

  • Big merge with main + conflict resolution
  • Fix contract checks & tests
  • Fix/update client checks & unit tests
  • Fix/update aggregator checks & unit/integration tests
  • Fix/update client integration tests
  • Fix/update extension
  • Manual regression testing, likely through Quill

@github-actions github-actions bot added aggregator-proxy Aggregator proxy related extension Browser extension related labels Apr 11, 2023
jacque006 and others added 21 commits April 11, 2023 17:42
Add new safe deployer address as 'n/a' to existing contract deploys.
Add assert-browserify and resolution to webpack.
Rename factory func to camelcase.
Use sign with gas estimate over older sign.
Increase gas limit per bundle for BundleService submit test cases.
Add event when simulating adding a bundle would exceeed max gas per bundle limit with details.
Link emit func to AggregatationStrategy when created in test fixture.
* Audit issue 7 fixes

* Remove unused params
Parallelize async calls in recoverWallet.
Remove unneeded camelcase lint disables.
Add comment for human reable times to expiry durations.
- use correct nonce in multiple operation sendTransaction error test
- add Operation gas property to missing test setup
- use new VG address
- set nonce to zero at all times in provider.estimateGas to prevent "BLSWallet: only callable with current nonce" error (see comment)
- update invalid transaction expected error message (due to using signWithGasEstimate in BlsSigner)
- fix sign tx batch test by replicating what BlsSigner logic does

cleanup
- remove console logs
- remove unnecessary transaction.to check
- sinon fake for getRandomBlsPrivateKey was resulting in throwawayBlsWalletWrapper nonce increasing when it should stay at zero
- fake was using signers[0] private key
- fix was to use fresh signer that wouldn't have its nonced changed in any other test
@voltrevo
Copy link
Collaborator Author

Tested in-quill transfers and billboard hiring ✅🚀

@voltrevo voltrevo marked this pull request as ready for review April 20, 2023 04:39
@voltrevo
Copy link
Collaborator Author

Tested ERC20 transfers ✅

@voltrevo
Copy link
Collaborator Author

Reviewed ✅

(Github won't let me use the review system because I opened the PR, but these aren't really my changes. The few changes from me were accepted by @jacque006 and I added a couple one-liners today but they're only in test code.)

@voltrevo voltrevo merged commit 4eeb9af into main Apr 20, 2023
@voltrevo voltrevo deleted the merge-in-contract-updates branch April 20, 2023 06:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
aggregator Aggregator backend related aggregator-proxy Aggregator proxy related automation CI/CD related clients contracts Smart contract related extension Browser extension related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants
0