Skip to content

Commit

Permalink
fix ethclient test backends
Browse files Browse the repository at this point in the history
  • Loading branch information
s1na committed Sep 27, 2022
1 parent 2e14d24 commit a81211a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ethclient/ethclient_test.go
Expand Up @@ -220,7 +220,7 @@ func newTestBackend(t *testing.T) (*node.Node, []*types.Block) {
t.Fatalf("can't create new node: %v", err)
}
// Create Ethereum Service
config := &ethconfig.Config{Genesis: genesis}
config := &ethconfig.Config{Genesis: genesis, RPCGasCap: 50000000}
config.Ethash.PowMode = ethash.ModeFake
ethservice, err := eth.New(n, config)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion ethclient/gethclient/gethclient_test.go
Expand Up @@ -54,7 +54,7 @@ func newTestBackend(t *testing.T) (*node.Node, []*types.Block) {
t.Fatalf("can't create new node: %v", err)
}
// Create Ethereum Service
config := &ethconfig.Config{Genesis: genesis}
config := &ethconfig.Config{Genesis: genesis, RPCGasCap: 50000000}
config.Ethash.PowMode = ethash.ModeFake
ethservice, err := eth.New(n, config)
if err != nil {
Expand Down

0 comments on commit a81211a

Please sign in to comment.