Manual touches to preserve compatability of other networks with utils as well as fix a failing test in core/rawdb.

This commit is contained in:
philip-morlier
2023-02-21 10:29:25 -08:00
parent bff86afa0c
commit 78e00bf68d
7 changed files with 43 additions and 342 deletions
+6
View File
@@ -26,12 +26,18 @@ import (
"path"
"sync"
"testing"
"time"
"github.com/ethereum/go-ethereum/ethdb"
"github.com/ethereum/go-ethereum/rlp"
"github.com/stretchr/testify/require"
)
// seeding random below, as well as the time import are PluGeth injections to enable this test to pass as it fails in geth v1.11.1
func init() {
rand.Seed(time.Now().Unix())
}
var freezerTestTableDef = map[string]bool{"test": true}
func TestFreezerModify(t *testing.T) {