mev-boost icon indicating copy to clipboard operation
mev-boost copied to clipboard

Validate blockhash that the relayer responds with

Open avalonche opened this issue 3 years ago β€’ 1 comments

πŸ“ Summary

Validates the block hash the relay responds with the hash calculated from the relay block.

β›± Motivation and Context

Resolves https://github.com/flashbots/mev-boost/issues/280

πŸ“š References


βœ… I have run these commands

  • [x] make lint
  • [x] make test-race
  • [x] go mod tidy

avalonche avatar Sep 09 '22 01:09 avalonche

Codecov Report

Merging #299 (fe3fd51) into main (6f3cfda) will decrease coverage by 0.40%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #299      +/-   ##
==========================================
- Coverage   83.45%   83.05%   -0.41%     
==========================================
  Files           5        5              
  Lines         659      667       +8     
==========================================
+ Hits          550      554       +4     
- Misses         83       86       +3     
- Partials       26       27       +1     
Flag Coverage Ξ”
unittests 83.05% <100.00%> (-0.41%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Ξ”
server/mock_relay.go 86.75% <100.00%> (ΓΈ)
server/service.go 82.25% <100.00%> (-0.66%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov-commenter avatar Sep 09 '22 01:09 codecov-commenter