james-prysm
2dfe291cf9
Keymanager APIs: fee recipient api ( #10850 )
...
* initial commit wip
* setting protos for fee recipient
* updating proto based on specs
* updating apimiddleware
* generated APIs
* updating proto to fit spec
* fixing naming of fields
* fixing endpoint_factory and associated structs
* fixing imports
* adding in custom http types to grpc gateway
* adding import options
* changing package option
* still testing protos
* adding to bazel
* testing dependency changes
* more tests
* more tests
* more tests
* more tests
* more tests
* more tests
* testing changing repo dep
* testing deps
* testing deps
* testing deps
* testing deps
* testing deps
* testing deps
* reverting
* testing import
* testing bazel
* bazel test
* testing
* testing
* testing import
* updating generated proto code
* wip set fee recipient by pubkey
* adding list fee recipient logic
* fixing thrown error
* fixing bug with API
* fee recipient delete function
* updating generated proto logic
* fixing deposit api and adding postman tests
* fixing proto imports
* fixing unit tests and checksums
* fixing test
* adding unit tests
* fixing bazel
* Update validator/rpc/standard_api.go
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
* Update validator/rpc/standard_api.go
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
* resolving review comments
* fixing return
* Update config/validator/service/proposer-settings.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/rpc/standard_api.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* Update validator/rpc/standard_api.go
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
* updating proto
* updating message name
* fixing imports
* updating based on review comments
* adding middleware unit tests
* capitalizing errors
* using error instead of errorf
* fixing missed unit test variable rename
* fixing format variable
* fixing unit test
* Update validator/rpc/standard_api.go
* Update validator/rpc/standard_api.go
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2022-06-16 15:10:23 +00:00
Jie Hou
6c878b1665
Refactor: Continue reducing cognitive complexity ( #10862 )
...
* Refactor beacon-chain/db/kv/state.go
* Refactor api/gateway/apimiddleware/process_field.go
* Refactor beacon-chain/sync/initial-sync/blocks_queue.go
* Refactor validator/db/kv/migration_optimal_attester_protection.go
* goimports
Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com>
Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
2022-06-15 18:34:59 +00:00
moshe-blox
21fc9853ee
Encode empty extra_data
as "0x" and base_fee_per_gas
as Uint256 i… ( #10539 )
...
* Encode empty `extra_data` as "0x" and `base_fee_per_gas` as Uint256 in the Beacon API
* Fixed parsing of Uint256 in the API
* Add missing tests for empty hex & Uint256 fields in `apimiddleware`
Co-authored-by: Radosław Kapka <rkapka@wp.pl>
2022-04-21 15:44:38 +00:00
Radosław Kapka
7dd99de69f
Restructure API Middleware ( #9663 )
...
* Restructure API Middleware
* fix package name in tests
* build file
* gzl
* fix one more test
2021-09-23 20:41:04 +00:00