Bundler spec tests
There are two EIPs that describe the behavior of bundlers in ERC-4337:
validation rules for bundlers: Account Abstraction Validation Scope Rules
To keep up with the latest updates from different bundler implementation teams, the Eth Infinitism (development team of the standard ERC-4337) created bundler spec tests - bundler compatibility tests. These tests are updated continuously, with more edge cases covered and possibly new rules introduced to the standard.
You can find spec tests in the following repos:
bundler-spec-tests: bundler specification test suites
bundler-spec: JSON schema RPC specs
bundler-test-executor: execute spec-test against different bundler implementations
Running bundler spec tests
First, you need to clone the bundler spec tests repo:
Move to the cloned directory and initialize the repo (check requirements in the repo's README):
Before you can start the tests, you need to have geth node and Silius running. In the root folder of the Silius, start geth node and bundler:
After the geth and bundler are running, you can start the tests in the bundler-spec-tests folder:
That's it! All tests should pass. If any of the tests fail, please open a new issue.
Results
You can find the latest results here or on the ERC-4337 website.
Last updated