prysm-pulse/proto
Han Shen 760d2fcfbc
This PR is for issue #11155 "Keymanager APIs: gas limit api" (#11156)
* This PR is for issue #11155 "Keymanager APIs: get_limit api".

This PR implements the first task "get gas limit for the validator key".

* Removed useless import alias.

* Added regenerated key_management.pb.go/pb.gw.go files as well as endpoint_factory.go changes.

* Address James's comments:

1. api path component should be "gas_limit" instead of "gaslimit".
2. ran curl test like:
   - go build -o tmp/validator
   - ./tmp/validator --web --validators-external-signer-url=http://localhost:9000/
   - curl  -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.e30.C-BuVfWhKpr9elB05GTJdEEx_8AzkImxzXL03IqcHR8" 127.0.0.1:7500/eth/v1/validator/0xb4844195ce8ca78d9d4f7ffdf4001cfdb079e059542bcc4f45ddfff2bcec7defb1482db4f9426f92f59972da395dd2b5/gas_limit
   - {"data":{"pubkey":"0xb4844195ce8ca78d9d4f7ffdf4001cfdb079e059542bcc4f45ddfff2bcec7defb1482db4f9426f92f59972da395dd2b5","gas_limit":"30000000"}}

Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2022-08-08 17:52:18 +00:00
..
engine/v1 Capella changes to protobufs (#11128) 2022-07-28 16:19:36 +00:00
eth This PR is for issue #11155 "Keymanager APIs: gas limit api" (#11156) 2022-08-08 17:52:18 +00:00
migration Clean up: fix typos (#11165) 2022-08-03 18:47:30 +00:00
prysm Clean up: fix typos (#11165) 2022-08-03 18:47:30 +00:00
testing Use prysmaticlabs/fastssz as a direct dependency (#10941) 2022-06-28 13:03:24 +00:00
BUILD.bazel Checkpoint Sync 1/5 - fork/version detection and unmarshaling support (#10380) 2022-03-21 19:43:41 +00:00
README.md Fix Up READMEs for Mainnet (#7910) 2020-11-23 18:47:55 +00:00
ssz_proto_library.bzl Add sync committee aggregation_bits tags for minimal and mainnet (#9147) 2021-07-03 18:59:35 -05:00

Prysm Protocol Buffers

This package defines common protobuf messages and services used by Prysm. For now, we are checking in all generated code to support native go dependency management.