Roy Crihfield
981bfb5895
Implements https://github.com/cerc-io/go-ethereum/issues/319 With this we can perform a single pass to process updates. Also * refactor code structure around single-pass iteration * refactor builder metrics to match new set of functions * fix unit tests by running sequentially * update ipld-eth-db in compose * factor out fixture data into external module * some CI updates Reviewed-on: #11
15 lines
389 B
Go
15 lines
389 B
Go
package test_helpers
|
|
|
|
import (
|
|
geth_log "github.com/ethereum/go-ethereum/log"
|
|
|
|
"github.com/cerc-io/plugeth-statediff/utils/log"
|
|
)
|
|
|
|
// QuietLogs silences the geth logs and sets the plugin test log level to "warning"
|
|
// The geth sync logs are noisy, so it can be nice to silence them.
|
|
func QuietLogs() {
|
|
geth_log.Root().SetHandler(geth_log.DiscardHandler())
|
|
log.TestLogger.SetLevel(2)
|
|
}
|