File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change 27
27
"@ethereum-waffle/chai" : " ^3.4.4" ,
28
28
"@remix-project/remix-simulator" : " ^0.2.79" ,
29
29
"chai" : " ^4.3.7" ,
30
- "ethers" : " ^6.14.0" ,
31
- "web3" : " ^4.1.1"
30
+ "ethers" : " ^6.14.0"
32
31
},
33
32
"types" : " ./src/index.d.ts" ,
34
33
"gitHead" : " 326045634cac1e4a67dd21ac2d7716d21ebd6754"
Original file line number Diff line number Diff line change 2
2
import { BrowserProvider , Contract , InterfaceAbi } from "ethers"
3
3
import { Provider } from '@remix-project/remix-simulator'
4
4
import { getArtifactsByContractName } from './artifacts-helper'
5
- import { Web3 } from "web3"
6
5
7
6
const providerConfig = {
8
7
fork : global . fork || null ,
@@ -16,8 +15,6 @@ global.remixProvider.init()
16
15
global . web3Provider = new BrowserProvider ( global . remixProvider )
17
16
global . provider = global . web3Provider
18
17
global . ethereum = global . web3Provider
19
- global . web3 = new Web3 ( global . web3Provider )
20
- global . web3 . eth . setConfig ( config )
21
18
22
19
const isFactoryOptions = ( signerOrOptions : any ) => {
23
20
if ( ! signerOrOptions || signerOrOptions === undefined || typeof ( signerOrOptions . connect ) === 'function' ) return false
You can’t perform that action at this time.
0 commit comments