Radosław Kapka
|
e3ce1bde45
|
Move API structs to api module (#13577)
|
2024-02-03 11:57:01 +00:00 |
|
qinlz2
|
b8c5af665f
|
[3/5] light client events (#13225)
* add http streaming light client events
* expose ForkChoiceStore
* return error in insertFinalizedDeposits
* send light client updates
* Revert "return error in insertFinalizedDeposits"
This reverts commit f7068663b8c8b3a3bf45950d5258011a5e4d803e.
* fix: lint
* fix: patch the wrong error response
* refactor: rename the JSON structs
* fix: LC finalized stream return correct format
* fix: LC op stream return correct JSON format
* fix: omit nil JSON fields
* chore: gazzle
* fix: make update by range return list directly based on spec
* chore: remove unneccessary json annotations
* chore: adjust comments
* feat: introduce EnableLightClientEvents feature flag
* feat: use enable-lightclient-events flag
* chore: more logging details
* chore: fix rebase errors
* chore: adjust data structure to save mem
* Update beacon-chain/blockchain/process_block.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* refactor: rename config EnableLightClient
* refactor: rename feature flag
* refactor: move helper functions to helper pkg
* test: fix broken unit tests
---------
Co-authored-by: Nicolás Pernas Maradei <nicolas@polymerlabs.org>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
|
2024-01-11 18:38:59 +00:00 |
|
Radosław Kapka
|
4c47756aed
|
HTTP endpoints cleanup (#13251)
* remove validation package
* structs cleanup
* merge with apimiddleware removal
* more validation and Bls capitalization
* builder test fix
* use strconv for uint->str conversions
* use DecodeHexWithLength
* use exact param names
* rename http package to httputil
* change conversions to fmt.Sprintf
* handle query paramsd and route variables
* spans and receiver name
* split structs, move bytes helper
* missing ok check
* fix reference to indexed failure
* errors fixup
* add godoc to helper
* fix BLS casing and chainhead ref
* review
* fix import in tests
* gzl
|
2023-12-08 20:37:20 +00:00 |
|
Nicolás Pernas Maradei
|
10ccf1840f
|
[2/5] light client http api (#12984)
Co-authored-by: Lizhang <lizhang@polymerlabs.org>
|
2023-11-21 13:26:39 +01:00 |
|