Skip to content

ZanCorDX/fake-relay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fake-relay

Extremely simple app to parse a block submission EXACTLY as flashbots relay does.

The proper way to do this would have been to refactor the relay a little to split data parsing from data processing allowing to just plug-in test code but this was too much work.

Based on https://github.com/flashbots/mev-boost-relay (at commit d8a0d7bdb5d135624cbd231fc041cadbd803ebd9) taking code from:

  • mev-boost-relay/services/api/service.go handleSubmitNewBlock for the parsing
  • mev-boost-relay/common/types_spec.go

Things you can do with this app:

  • Check if your generated submissions are properly parsed.
  • Record a submissions to compare it latter with another one. Eg: Record a json submission and checks if the same submission using ssz matches.
  • Ignore it and continue with your life.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages