prysm-pulse/proto/eth
Han Shen 3a4c599a96
Implement delete gaslimit (#11290)
* Implement delete gaslimit.

* Minor comment change.

* Reset gaslimit to DefaultConfig's gaslimt instead of 0.

* After gaslimit deletion, use global gaslimit default value instead of values provided in ProposalConfig.

* After deletion, use config default, if that is not available, use global default gaslimit value.

* Use grpc's codes.NotFound instead of http code "404".

* Updated bazel deps (new imports "google.golang.org/grpc/codes" was added for tests).

* Fix "TestServer_RecoverWallet_Derived" test failure.

Previously "params.BeaconConfig()" (thus the default global value
"BLSSecretKeyLength") was overriden by standard_api_test:TestServer_DeleteGasLimit.
Fixed the problem by retoring the origin global default after the test is done.

* Do not change BeaconConfig object, instead change BeaconConfig.DefaultBuilderGasLimit.

Co-authored-by: james-prysm <90280386+james-prysm@users.noreply.github.com>
2022-08-25 14:43:21 +00:00
..
ext Fix Proto Generation Scripts and Regen Protos With V3 Bindings (#11227) 2022-08-16 19:52:24 +00:00
service Implement delete gaslimit (#11290) 2022-08-25 14:43:21 +00:00
v1 Register validator beacon api (#11225) 2022-08-17 11:41:51 +00:00
v2 Protobuf cleanup (#11096) 2022-08-17 01:35:27 +00:00
LICENSE Checkin Generated Protobufs and Proto Files for EthereumAPIs (#8973) 2021-06-02 20:20:11 +00:00