lighthouse/common/eth2
ethDreamer 77fc511170 Use JSON by default for Deposit Snapshot Sync (#4397)
Checkpointz now supports deposit snapshot but [they only support returning them in JSON](https://github.com/ethpandaops/checkpointz/issues/74) so I've modified lighthouse to request them in JSON by default.

There's also `get_opt` & `get_opt_with_timeout` methods which seem to expect responses in JSON but were not adding `Accept: application/json` to the request headers so I fixed that as well.

Also the beacon API puts quantities in quotes so I fixed that in the snapshot JSON serialization
2023-06-15 08:42:20 +00:00
..
src Use JSON by default for Deposit Snapshot Sync (#4397) 2023-06-15 08:42:20 +00:00
Cargo.toml Use MediaType accept header parser (#4216) 2023-06-13 10:25:27 +00:00