public async Task GetBlocksAsync_Success() { var chain = await _blockchainService.GetChainAsync(); var genesisHash = chain.GenesisBlockHash; var blocks = await _grpcPeer.GetBlocksAsync(genesisHash, 5); blocks.Count.ShouldBe(5); blocks.Select(o => o.Height).ShouldBe(new long[] { 2, 3, 4, 5, 6 }); }