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

Sample usage doesn't work #252

Open
mholtzman opened this issue Mar 6, 2025 · 1 comment
Open

Sample usage doesn't work #252

mholtzman opened this issue Mar 6, 2025 · 1 comment

Comments

@mholtzman
Copy link

Tried to run the sample instructions in the readme and getting some errors.

Steps:

  • clone repo
  • yarn
  • yarn preprocess
  • yarn hardhat-node // or npx hardhat node from a separate repo, in another terminal
  • yarn hardhat-deploy --network localhost // in main terminal
  • yarn run bundler --unsafe // in main terminal
  • yarn run runop --deployFactory --network http://localhost:8545/ --entryPoint 0x0000000071727De22E5E9d8BAf0edAc6f37da032 // in third terminal

Output:

Error: cannot estimate gas; transaction may fail or may require manual gas limit [ See: https://links.ethers.org/v5-errors-UNPREDICTABLE_GAS_LIMIT ] (reason="Error: Transaction reverted without a reason string", method="estimateGas", transaction={"from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","to":"0x4e59b44847b379578588920cA78FbF26c0B4956C","data":"0x000000000000000000000000000000000000000000000000000000000000000060c060405234801561000f575f5ffd5b50604051612174380380612174833981016040819

and in the hardhat node output:

eth_estimateGas
  Contract call:       <UnrecognizedContract>
  From:                0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266
  To:                  0x4e59b44847b379578588920ca78fbf26c0b4956c
  Value:               0 ETH

  Error: Transaction reverted without a reason
@mholtzman
Copy link
Author

after investigating a little more and fixing some issues (pointing to the custom entry point that was deployed, fixing error handling in the json rpc client), I get to this error:

body: '{"jsonrpc":"2.0","id":43,"error":{"message":"AA24: Inv
alid UserOp signature","code":-32507}}',
  error: Error: AA24: Invalid UserOp signature

I am providing both the --network http://localhost:8545 and --mnemonic mnemonic.txt params to both the bundler and the runop command, where mnemonic.txt is test test test test test test test test test test test junk.

Is something being misconfigured here?

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

No branches or pull requests

1 participant