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

feat: simulate user op tests + ts doc #503

Merged
merged 7 commits into from
May 27, 2024
Merged

Conversation

VGabriel45
Copy link
Collaborator

@VGabriel45 VGabriel45 commented May 22, 2024

One can simulate a user operation execution by using the already existing method "buildUserOp()". This PR simply adds 2 new test cases for that, showing how to use it for this case + some ts doc improvement.


PR-Codex overview

This PR enhances the BiconomySmartAccountV2.ts file to simulate user operation execution success/failure. Additionally, it updates dependencies in the yarn.lock file.

Detailed summary

  • BiconomySmartAccountV2.ts: Simulates user operation execution.
  • Updated dependencies in yarn.lock.
  • Added tests for user operation success/failure simulation.

The following files were skipped due to too many changes: yarn.lock

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@joepegler
Copy link
Collaborator

Lots of checks failing

Copy link

size-limit report 📦

Path Size
core (esm) 53.95 KB (0%)
core (cjs) 59.11 KB (0%)
account (tree-shaking) 51.97 KB (0%)
bundler (tree-shaking) 2.39 KB (0%)
paymaster (tree-shaking) 2.33 KB (0%)
modules (tree-shaking) 40.6 KB (0%)

@VGabriel45 VGabriel45 merged commit 6a0ddee into develop May 27, 2024
5 checks passed
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