Skip to content

Commit 9e8b4de

Browse files
author
Łukasz Gąsior
committed
Fix test
1 parent 943fd3b commit 9e8b4de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/scala/io/iohk/ethereum/jsonrpc/JsonRpcControllerSpec.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import io.iohk.ethereum.jsonrpc.JsonSerializers.{OptionNoneToJNullSerializer, Qu
1717
import io.iohk.ethereum.jsonrpc.NetService.{ListeningResponse, PeerCountResponse, VersionResponse}
1818
import io.iohk.ethereum.jsonrpc.PersonalService._
1919
import io.iohk.ethereum.keystore.KeyStore
20-
import io.iohk.ethereum.ledger.{BloomFilter, Ledger}
20+
import io.iohk.ethereum.ledger.{BloomFilter, Ledger, LocalVM}
2121
import io.iohk.ethereum.mining.{BlockGenerator, PendingBlock}
2222
import io.iohk.ethereum.network.p2p.messages.PV62.BlockBody
2323
import io.iohk.ethereum.ommers.OmmersPool
@@ -1437,7 +1437,7 @@ class JsonRpcControllerSpec extends FlatSpec with Matchers with PropertyChecks w
14371437
val web3Service = new Web3Service
14381438
val netService = mock[NetService]
14391439
val personalService = mock[PersonalService]
1440-
val testService = new TestService(blockchain, pendingTransactionsManager.ref, consensusConfig, blockchainConfig, validators, Agent[Ledger](ledger))
1440+
val testService = new TestService(LocalVM, blockchain, pendingTransactionsManager.ref, consensusConfig, blockchainConfig, validators, Agent[Ledger](ledger))
14411441
val ethService = new EthService(blockchain, blockGenerator, appStateStorage, fullConsensusConfig, Agent[Ledger](ledger),
14421442
keyStore, pendingTransactionsManager.ref, syncingController.ref, ommersPool.ref, filterManager.ref, filterConfig,
14431443
blockchainConfig, currentProtocolVersion, config)

0 commit comments

Comments
 (0)