We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7851d30 commit 34196d9Copy full SHA for 34196d9
src/test/scala/io/iohk/ethereum/blockchain/sync/regular/RegularSyncSpec.scala
@@ -170,6 +170,8 @@ class RegularSyncSpec extends RegularSyncFixtures with WordSpecLike with BeforeA
170
implicit val ec: ExecutionContext = system.dispatcher
171
override lazy val blockchain: BlockchainImpl = stub[BlockchainImpl]
172
(blockchain.getBestBlockNumber _).when().onCall(() => ledger.bestBlock.number)
173
+ // Just to bypass metrics needs
174
+ (blockchain.getBlockByHash _).when(*).returns(None)
175
override lazy val ledger: TestLedgerImpl = new FakeLedgerImpl()
176
override lazy val syncConfig = defaultSyncConfig.copy(
177
blockHeadersPerRequest = 5,
0 commit comments