prysm-pulse/api/client/builder
kasey c66d9e9a11
Builder client (#10703)
* builder api client

* unexport error

* thanks, DeepSource!

* replace hexSlice w/ hexutil.Bytes

* use uint256 for BaseFeePerGas

* more confidence in correct endianness

* comment fix per Terence

* fix proto conversion for uint256

* couple more value checks in the http client tests

* TestMarshalBlindedBeaconBlockBodyBellatrix

* appease deepsource

* middleware to log requests

* big int round trip test

* very superficial test to make deepsource happy

* round trip test between proto payloads

* round trip starting from marshaled struct

* deepsource... for you, the moon

* remove unused receiver

* gofmt

* remove test destroying line added while debugging

* handle nil body in logging middleware

Co-authored-by: Kasey Kirkham <kasey@users.noreply.github.com>
Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-05-23 17:30:51 +00:00
..
testdata Builder client (#10703) 2022-05-23 17:30:51 +00:00
BUILD.bazel Builder client (#10703) 2022-05-23 17:30:51 +00:00
client_test.go Builder client (#10703) 2022-05-23 17:30:51 +00:00
client.go Builder client (#10703) 2022-05-23 17:30:51 +00:00
errors.go Builder client (#10703) 2022-05-23 17:30:51 +00:00
types_test.go Builder client (#10703) 2022-05-23 17:30:51 +00:00
types.go Builder client (#10703) 2022-05-23 17:30:51 +00:00