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

Use go-eth2-client's IsInfinity() to check relay pubkey

Open jtraglia opened this issue 11 months ago • 1 comments

📝 Summary

Just fixing a few things I noticed while reviewing.

  • Use go-eth2-client's IsInfinity function to check the relay pubkey.
  • Provide valid pubkey to TestParseRelaysURLs & TestHexToPublicKey tests.
  • Add additional test cases to TestParseRelaysURLs.
  • Uncomment "invalid hexadecimal input" tests, might as well.
  • Update go-boost-utils to v1.8.1 and run go mod tidy.

✅ I have run these commands

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

jtraglia avatar Feb 29 '24 15:02 jtraglia