don't rebuild hypergraph if unnecessary

This commit is contained in:
Cassandra Heart 2025-02-07 00:05:05 -06:00
parent e5954a90a1
commit b59e5b1565
No known key found for this signature in database
GPG Key ID: 6352152859385958

View File

@ -362,8 +362,8 @@ func NewTokenExecutionEngine(
e.proverPublicKey = publicKeyBytes
e.provingKeyAddress = provingKeyAddress
frame, _, err := e.clockStore.GetLatestDataClockFrame(e.intrinsicFilter)
if err != nil || frame.FrameNumber < 186405 {
_, _, err = e.clockStore.GetLatestDataClockFrame(e.intrinsicFilter)
if err != nil {
e.rebuildHypergraph()
} else {
e.hypergraph, err = e.hypergraphStore.LoadHypergraph()