Skip to content

Commit

Permalink
removing initializing validator registrator
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov committed May 30, 2022
1 parent 1001150 commit 9df3b21
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,15 +159,6 @@ public static ValidatorClientService create(
Optional.of(
ValidatorClientService.getKeyManagerPath(services.getDataDirLayout())
.resolve("api-proposer-config.json"))));

validatorRegistrator =
Optional.of(
new ValidatorRegistrator(
forkProvider,
validatorLoader.getOwnedValidators(),
validatorApiChannel,
config.getSpec(),
services.getTimeProvider()));
}
if (validatorApiConfig.isRestApiEnabled()) {
validatorRestApi =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ private SafeFuture<Void> registerValidators(final UInt64 epoch, final ForkInfo f
.map(
validator -> {
// hardcoding fee_recipient and gas_limit to ZERO for now. The real values will be
// passed in a future PR.
// taken from the proposer config in a future PR.
final ValidatorIdentity validatorIdentity =
new ValidatorIdentity(Bytes20.ZERO, UInt64.ZERO, validator.getPublicKey());

Expand Down

0 comments on commit 9df3b21

Please sign in to comment.