Skip to content

Commit 53f19bc

Browse files
committed
remove web3 dep from gh-action helper
1 parent 3656e46 commit 53f19bc

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

libs/ghaction-helper/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
"@ethereum-waffle/chai": "^3.4.4",
2828
"@remix-project/remix-simulator": "^0.2.79",
2929
"chai": "^4.3.7",
30-
"ethers": "^6.14.0",
31-
"web3": "^4.1.1"
30+
"ethers": "^6.14.0"
3231
},
3332
"types": "./src/index.d.ts",
3433
"gitHead": "326045634cac1e4a67dd21ac2d7716d21ebd6754"

libs/ghaction-helper/src/methods.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import { BrowserProvider, Contract, InterfaceAbi } from "ethers"
33
import { Provider } from '@remix-project/remix-simulator'
44
import { getArtifactsByContractName } from './artifacts-helper'
5-
import { Web3 } from "web3"
65

76
const providerConfig = {
87
fork: global.fork || null,
@@ -16,8 +15,6 @@ global.remixProvider.init()
1615
global.web3Provider = new BrowserProvider(global.remixProvider)
1716
global.provider = global.web3Provider
1817
global.ethereum = global.web3Provider
19-
global.web3 = new Web3(global.web3Provider)
20-
global.web3.eth.setConfig(config)
2118

2219
const isFactoryOptions = (signerOrOptions: any) => {
2320
if (!signerOrOptions || signerOrOptions === undefined || typeof(signerOrOptions.connect) === 'function') return false

0 commit comments

Comments
 (0)