typo and fix test

pull/3598/head
yann300 2 years ago
parent f5bfaa1ca6
commit 24c4b509a4
  1. 2
      libs/remix-simulator/src/vm-context.ts
  2. 2
      libs/remix-simulator/test/blocks.ts

@ -252,7 +252,7 @@ export class VMContext {
return this.currentVm
}
addBlock (block: Block, genesis?: Boolean) {
addBlock (block: Block, genesis?: boolean) {
let blockNumber = bigIntToHex(block.header.number)
if (blockNumber === '0x') {
blockNumber = '0x0'

@ -19,7 +19,7 @@ describe('blocks', () => {
const expectedBlock = {
baseFeePerGas: 1,
difficulty: '69762765929000',
difficulty: 0,
extraData: '0x0',
gasLimit: 8000000,
gasUsed: 0,

Loading…
Cancel
Save