From b063ae4bc41e9e0d299076278fd1191ef0645d7a Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Thu, 22 Aug 2019 16:55:40 -0400 Subject: [PATCH] update/fix test (blocks start at 0) --- remix-simulator/test/blocks.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/remix-simulator/test/blocks.js b/remix-simulator/test/blocks.js index eafc0f3ec4..b0902390c8 100644 --- a/remix-simulator/test/blocks.js +++ b/remix-simulator/test/blocks.js @@ -13,7 +13,7 @@ describe('blocks', function () { }) it('should get block given its number', async function () { - let block = await web3.eth.getBlock(1) + let block = await web3.eth.getBlock(0) let expectedBlock = { difficulty: '69762765929000', @@ -24,7 +24,7 @@ describe('blocks', function () { logsBloom: '0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331', miner: '0x0000000000000000000000000000000000000001', nonce: '0x0000000000000000', - number: 1, + number: 0, parentHash: '0x0000000000000000000000000000000000000000000000000000000000000000', sha3Uncles: '0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347', size: 163591,