mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
graphql: run tests in hash mode as the chain maker needs it
This commit is contained in:
parent
9b6d56598b
commit
978c87fb38
1 changed files with 2 additions and 0 deletions
|
|
@ -32,6 +32,7 @@ import (
|
||||||
"github.com/ethereum/go-ethereum/consensus/beacon"
|
"github.com/ethereum/go-ethereum/consensus/beacon"
|
||||||
"github.com/ethereum/go-ethereum/consensus/ethash"
|
"github.com/ethereum/go-ethereum/consensus/ethash"
|
||||||
"github.com/ethereum/go-ethereum/core"
|
"github.com/ethereum/go-ethereum/core"
|
||||||
|
"github.com/ethereum/go-ethereum/core/rawdb"
|
||||||
"github.com/ethereum/go-ethereum/core/types"
|
"github.com/ethereum/go-ethereum/core/types"
|
||||||
"github.com/ethereum/go-ethereum/core/vm"
|
"github.com/ethereum/go-ethereum/core/vm"
|
||||||
"github.com/ethereum/go-ethereum/crypto"
|
"github.com/ethereum/go-ethereum/crypto"
|
||||||
|
|
@ -452,6 +453,7 @@ func newGQLService(t *testing.T, stack *node.Node, shanghai bool, gspec *core.Ge
|
||||||
TrieDirtyCache: 5,
|
TrieDirtyCache: 5,
|
||||||
TrieTimeout: 60 * time.Minute,
|
TrieTimeout: 60 * time.Minute,
|
||||||
SnapshotCache: 5,
|
SnapshotCache: 5,
|
||||||
|
StateScheme: rawdb.HashScheme,
|
||||||
}
|
}
|
||||||
var engine consensus.Engine = ethash.NewFaker()
|
var engine consensus.Engine = ethash.NewFaker()
|
||||||
if shanghai {
|
if shanghai {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue