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

fix: test_eth_sendUserOperation #12

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

shunsukew
Copy link

@shunsukew shunsukew commented Nov 4, 2024

Fixing test_eth_sendUserOperation case to pass.

  1. Run as manual building mode.
    Need to run Rundler as manual building mode, since it ignores debug_bundler_sendBundleNow request when running as auto mode.

  2. Adding a dummy valid user operation to the pool
    test_eth_sendUserOperation_revert was failing with Error(code=-32603, message='no ops to send', data=None, id=7). BuildProposer checks the existence of User Operations in the pool before making a bundle before and after simulation.
    If I understand correctly, Rundler intentionally do so not to propose unncessary bundles with empty User Operations (If it's an unexpected behavior, modification on Rundler code required), thus spec test case need to be adjusted to proceed following test cases.

Result
Screenshot 2024-11-04 at 15 42 01

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.

2 participants