diff --git a/libs/remix-simulator/test/blocks.ts b/libs/remix-simulator/test/blocks.ts index e0eb39d6c9c..0b4b2ad52c3 100644 --- a/libs/remix-simulator/test/blocks.ts +++ b/libs/remix-simulator/test/blocks.ts @@ -63,6 +63,17 @@ describe('blocks', () => { }) }) + describe('evm_mine', () => { + it('should mine empty block using evm_mine', async function () { + await web3.provider.request({ + method: 'evm_mine', + params: [{ blocks: 3 }], + }) + const number = await web3.eth.getBlockNumber() + assert.equal(number, 3) + }) + }) + describe('eth_getBlockByHash', () => { it('should get block given its hash', async () => { const correctBlock = await web3.eth.getBlock(0)