Testing erc-4337 user operations with Hardhat node #6966
Unanswered
TSKHot
asked this question in
Troubleshooting
Replies: 1 comment 4 replies
-
Hi @TSKHot, could you specify, at the JSON-RPC layer, what kind of responses you get from production nodes like geth, and what you get from Hardhat? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. I had a ticket raised and answered on the Discord server, but it's disappeared and I've lost the answer. (The whole discord server seems to be inactive ... ??)
We are coding to erc-4337, using Stackup bundler. When a user operation is submitted it is initially simulated and reverted as per 4337.
However, as far as we can see, hardhat is wrapping the evm revert output in a string which means the bundler doesn't correctly interpret the expected revert output and the operation fails.
How can we configure hardhat to return the raw evm output for testing erc-4337 behaviour?
Beta Was this translation helpful? Give feedback.
All reactions