final tweaks

This commit is contained in:
Cassandra Heart 2025-02-20 01:44:15 -06:00
parent 690eb654b3
commit badd6529bc
No known key found for this signature in database
GPG Key ID: 6352152859385958
3 changed files with 6 additions and 5 deletions

View File

@ -635,6 +635,10 @@ func (e *TokenExecutionEngine) hyperSync() {
"hypergraph root commit",
zap.String("root", hex.EncodeToString(roots[0])),
)
if err = e.hypergraphStore.SaveHypergraph(e.hypergraph); err != nil {
e.logger.Error("error while saving", zap.Error(err))
}
}
func (e *TokenExecutionEngine) rebuildHypergraph() {

View File

@ -377,7 +377,7 @@ outer:
},
}
if err := stream.Send(queryMsg); err != nil {
return err
break outer
}
case msg, ok := <-incomingOut:
@ -797,7 +797,7 @@ outer:
queryPath,
metadataOnly,
); err != nil {
return err
break outer
}
} else {
logger.Info(

View File

@ -4,7 +4,6 @@ import (
"bytes"
"encoding/gob"
"encoding/hex"
"fmt"
"io/fs"
"os"
"path"
@ -238,8 +237,6 @@ func (p *PebbleHypergraphStore) LoadHypergraph() (
return nil
}
fmt.Println(d.Name())
shardSet, err := hex.DecodeString(d.Name())
if err != nil {
return err