This directory contains organized test files for MEV relay testing, copied from the flashbots-relay-spec repository.
test_files/
├── relay/ # Relay-specific test files
│ ├── bellatrix/ # Bellatrix fork test files
│ ├── capella/ # Capella fork test files
│ ├── deneb/ # Deneb fork test files
│ └── electra/ # Electra fork test files
├── builder/ # Builder-specific test files
│ ├── bellatrix/ # Bellatrix fork test files
│ ├── capella/ # Capella fork test files
│ ├── deneb/ # Deneb fork test files
│ └── electra/ # Electra fork test files
├── schemas/ # Type definitions and schemas
│ ├── types/ # Relay type definitions
│ └── builder-types/ # Builder type definitions
├── specs/ # OpenAPI specifications
│ ├── relay-oapi.yaml # Main relay OpenAPI spec
│ └── builder-oapi.yaml # Builder OpenAPI spec
└── apis/ # API endpoint specifications
├── relay/ # Relay API specs
└── builder/ # Builder API specs
submit_block_request.json- Example block submission requests to the relay
execution_payload.json- Example execution payloadssigned_blinded_beacon_block.json- Example signed blinded beacon blockssigned_builder_bid.json- Example signed builder bidsexecution_payload_and_blobs_bundle.json- Example payload and blobs bundle (Deneb+)
relay-oapi.yaml- Complete OpenAPI specification for relay endpointsbuilder-oapi.yaml- Complete OpenAPI specification for builder endpoints
types/- YAML schema definitions for relay data structuresbuilder-types/- YAML schema definitions for builder data structures
apis/relay/- Detailed API endpoint specifications for relayapis/builder/- Detailed API endpoint specifications for builder
These files can be used for:
- Unit testing MEV relay implementations
- Integration testing with builders and proposers
- Validation of message formats across different fork versions
- Performance testing with realistic data structures
- API contract validation using OpenAPI specifications
- Schema validation for data structures
- Mock server generation from OpenAPI specs
- Client SDK generation
- Bellatrix: The merge fork introducing execution payloads
- Capella: Shanghai fork with withdrawals support
- Deneb: Cancun fork with blob transactions (EIP-4844)
- Electra: Upcoming fork with additional features
Generated by organize_test_files.sh