This PR integrates mev-commit functionality into the relay, enabling support for mev-commit registered validators and builders.
â›± Motivation and Context
This enhancement provides a more structured approach to block submission, focusing on whitelist-based validation to support preconfirmation protocols like mev-commit. It constrains block submissions to vetted builders during a validator’s purposing slot if opted into whitelist filtering.
Key changes include:
New MevCommitClient to interact with mev-commit contracts
Update Housekeeper to periodically sync mev-commit validator and builder registrations
The housekeeper has 2 added duties:
Monitor all builder registrations and de-registrations on the mev-commit platform
Load all the validators registered in mev-commit that are responsible for proposing a block in the next two epochs
Modify block submission handling to check mev-commit registration status, and if a validator and builder is opted-in.
Add Redis caching for mev-commit registration data
đź“ť Summary
This PR integrates mev-commit functionality into the relay, enabling support for mev-commit registered validators and builders.
â›± Motivation and Context
This enhancement provides a more structured approach to block submission, focusing on whitelist-based validation to support preconfirmation protocols like mev-commit. It constrains block submissions to vetted builders during a validator’s purposing slot if opted into whitelist filtering.
Key changes include:
MevCommitClient
to interact with mev-commit contractsHousekeeper
to periodically sync mev-commit validator and builder registrationsđź“š References
âś… I have run these commands
make lint
make test-race
go mod tidy
CONTRIBUTING.md