remove debug logging

This commit is contained in:
Jared Wasinger 2023-12-13 14:30:45 +01:00
parent 914343c6cc
commit 9a158dd749
2 changed files with 0 additions and 5 deletions

View file

@ -177,12 +177,10 @@ func (w *Witness) Summary() string {
panic(err) panic(err)
} }
totBlock := len(xx) totBlock := len(xx)
fmt.Printf("total block size is %d\n", totBlock)
yy := w.EncodeRLP() yy := w.EncodeRLP()
totWit := len(yy) totWit := len(yy)
fmt.Printf("yy len is %d\n", totWit)
totCode := 0 totCode := 0
for _, c := range w.codes { for _, c := range w.codes {
totCode += len(c) totCode += len(c)

View file

@ -1253,9 +1253,6 @@ func (s *StateDB) Commit(block uint64, deleteEmptyObjects bool) (common.Hash, er
if err != nil { if err != nil {
return common.Hash{}, err return common.Hash{}, err
} }
if set != nil {
fmt.Printf("leaf count: %d\n", len(set.Leaves))
}
// Merge the dirty nodes of account trie into global set // Merge the dirty nodes of account trie into global set
if set != nil { if set != nil {
if err := nodes.Merge(set); err != nil { if err := nodes.Merge(set); err != nil {