Skip to content

Commit

Permalink
Caplin: Reduced BLS caching (#12107)
Browse files Browse the repository at this point in the history
close #12105
  • Loading branch information
Giulio2002 authored Sep 28, 2024
1 parent 7e45085 commit f4a93f6
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions cmd/caplin/caplin1/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ import (
"github.com/erigontech/erigon/cl/beacon/synced_data"
"github.com/erigontech/erigon/cl/clparams/initial_state"
"github.com/erigontech/erigon/cl/cltypes"
"github.com/erigontech/erigon/cl/cltypes/solid"
"github.com/erigontech/erigon/cl/monitor"
"github.com/erigontech/erigon/cl/rpc"
"github.com/erigontech/erigon/cl/sentinel"
Expand Down Expand Up @@ -268,13 +267,6 @@ func RunCaplinService(ctx context.Context, engine execution_client.ExecutionEngi
return err
}
bls.SetEnabledCaching(true)
state.ForEachValidator(func(v solid.Validator, idx, total int) bool {
pk := v.PublicKey()
if err := bls.LoadPublicKeyIntoCache(pk[:], false); err != nil {
panic(err)
}
return true
})

forkDigest, err := ethClock.CurrentForkDigest()
if err != nil {
Expand Down

0 comments on commit f4a93f6

Please sign in to comment.