Here is my update on EPF4 Week 2.
Last week, my work mainly revolved around three parts:
Research
- I delved into the specifics of EIP-4337 and corrected some of my previous misconceptions.
- I had a discussion with Mark about how to test the current API implementation for the sequencer. Mark pointed out that we should have a single commit in geth that we can simply apply to op-geth. This would allow bundlers to run on either L1 or L2.
- I looked into another task mentioned last week, which was about rpcclient. However, as I delved deeper into the current task, it seemed that there was more to implement than I initially thought, so I didn't explore it in depth.
Coding
Completed the 'complete regarding errors' task from last week's to-do list. The code is complete, and I conducted some simple manual test cases.
https://github.com/tynes/go-ethereum/compare/eip4337…joohhnnn:go-ethereum:eip4337Help
Image Not Showing
Possible Reasons
- The image was uploaded to a note which you don't have access to
- The note which the image was originally uploaded to has been deleted
Learn More →
Testing
I realized that simple manual tests are not sufficient. Therefore, I started to explore
- hive: https://github.com/ethereum/hive
- rpctestgen: https://github.com/lightclient/rpctestgen
- execute-api: https://github.com/ethereum/execution-apis
aiming to implement standardized testing code using these tools.
Outstanding issues
- Mark raised an issue for support. I conducted some simple tests, but they were for geth. However, it seems that this issue requires a deeper understanding of opstack. I need more time to understand it. https://github.com/ethereum-optimism/optimism/issues/6450
- This test suite only contains cases for successful outcomes. I'm uncertain if it's fitting to incorporate tests for erroneous conditions here.
Next week’s schedule
Understand this test suite. Complete compliant tests. If there's still time, I might work on completing other cases.