prysm-pulse/validator/rpc
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
..
apimiddleware Implement delete gaslimit (#11290) 2022-08-25 14:43:21 +00:00
accounts_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
accounts.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
auth_token_test.go Replace deprecated jwt.StandardClaims with jwt.RegisteredClaims. (#11230) 2022-08-17 04:10:11 +00:00
auth_token.go Replace deprecated jwt.StandardClaims with jwt.RegisteredClaims. (#11230) 2022-08-17 04:10:11 +00:00
beacon_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
beacon.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
BUILD.bazel Implement delete gaslimit (#11290) 2022-08-25 14:43:21 +00:00
health_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
health.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
intercepter_test.go Replace deprecated jwt.StandardClaims with jwt.RegisteredClaims. (#11230) 2022-08-17 04:10:11 +00:00
intercepter.go Enforce log.WithError(err) static analysis and fix all violations (#11163) 2022-08-05 10:52:02 +00:00
log.go Unify the pattern of using a package-level logger (#8245) 2021-01-11 20:03:28 +00:00
server_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
server.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
slashing_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
slashing.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
standard_api_test.go Implement delete gaslimit (#11290) 2022-08-25 14:43:21 +00:00
standard_api.go Implement delete gaslimit (#11290) 2022-08-25 14:43:21 +00:00
wallet_test.go Add V3 Suffix to All Prysm Packages (#11083) 2022-08-16 12:20:13 +00:00
wallet.go Wallet recover CLI Manager migration (#11278) 2022-08-24 16:57:03 +00:00