diff --git a/libs/remix-simulator/test/accounts.ts b/libs/remix-simulator/test/accounts.ts index 0c36c38191..336d438380 100644 --- a/libs/remix-simulator/test/accounts.ts +++ b/libs/remix-simulator/test/accounts.ts @@ -8,7 +8,7 @@ describe('Accounts', () => { before(async function () { const provider = new Provider() await provider.init() - web3.setProvider(provider) + web3.setProvider(provider as any) }) describe('eth_getAccounts', () => { diff --git a/libs/remix-simulator/test/blocks.ts b/libs/remix-simulator/test/blocks.ts index 827c4dc726..7a78b44ed8 100644 --- a/libs/remix-simulator/test/blocks.ts +++ b/libs/remix-simulator/test/blocks.ts @@ -6,11 +6,11 @@ import * as assert from 'assert' describe('blocks', () => { before(async () => { - const provider = new Provider('vm', { + const provider = new Provider({ coinbase: '0x0000000000000000000000000000000000000001' }) await provider.init() - web3.setProvider(provider) + web3.setProvider(provider as any) }) describe('eth_getBlockByNumber', () => { diff --git a/libs/remix-simulator/test/misc.ts b/libs/remix-simulator/test/misc.ts index cf38ce8740..a339910996 100644 --- a/libs/remix-simulator/test/misc.ts +++ b/libs/remix-simulator/test/misc.ts @@ -8,7 +8,7 @@ describe('Misc', () => { before(async () => { const provider = new Provider() await provider.init() - web3.setProvider(provider) + web3.setProvider(provider as any) }) describe('web3_clientVersion', () => {