From 963cc4b8c6757ad7a7edb82794866e7a5b84c90b Mon Sep 17 00:00:00 2001 From: Oleksii Kosynskyi Date: Wed, 16 Aug 2023 17:23:49 -0400 Subject: [PATCH] web3 up --- apps/remix-ide/src/blockchain/blockchain.tsx | 2 ++ libs/ghaction-helper/package.json | 4 ++-- libs/remix-analyzer/package.json | 4 ++-- libs/remix-astwalker/package.json | 4 ++-- libs/remix-debug/package.json | 4 ++-- libs/remix-lib/package.json | 4 ++-- libs/remix-simulator/package.json | 2 +- libs/remix-solidity/package.json | 4 ++-- libs/remix-tests/package.json | 4 ++-- libs/remix-ws-templates/package.json | 4 ++-- package.json | 2 +- 11 files changed, 20 insertions(+), 18 deletions(-) diff --git a/apps/remix-ide/src/blockchain/blockchain.tsx b/apps/remix-ide/src/blockchain/blockchain.tsx index a4279d5b32..b5bd0b2e7b 100644 --- a/apps/remix-ide/src/blockchain/blockchain.tsx +++ b/apps/remix-ide/src/blockchain/blockchain.tsx @@ -175,8 +175,10 @@ export class Blockchain extends Plugin { /** Return the list of accounts */ // note: the dual promise/callback is kept for now as it was before getAccounts (cb) { + console.log('getAccounts') return new Promise((resolve, reject) => { this.getCurrentProvider().getAccounts((error, accounts) => { + console.log('get accounts res',error, accounts) if (cb) { return cb(error, accounts) } diff --git a/libs/ghaction-helper/package.json b/libs/ghaction-helper/package.json index 542d403b8b..f5b1adf1aa 100644 --- a/libs/ghaction-helper/package.json +++ b/libs/ghaction-helper/package.json @@ -28,8 +28,8 @@ "@remix-project/remix-simulator": "^0.2.31", "chai": "^4.3.7", "ethers": "^5.7.2", - "web3": "^4.0.3" + "web3": "^4.1.0" }, "types": "./src/index.d.ts", "gitHead": "b11b11623729f741a5ccd387bc60dc5db41f28ab" -} \ No newline at end of file +} diff --git a/libs/remix-analyzer/package.json b/libs/remix-analyzer/package.json index 83584cf7eb..53f17eaa08 100644 --- a/libs/remix-analyzer/package.json +++ b/libs/remix-analyzer/package.json @@ -31,7 +31,7 @@ "ethers": "^5.4.2", "ethjs-util": "^0.1.6", "string-similarity": "^4.0.4", - "web3": "^4.0.3" + "web3": "^4.1.0" }, "publishConfig": { "access": "public" @@ -52,4 +52,4 @@ "typings": "src/index.d.ts", "gitHead": "b11b11623729f741a5ccd387bc60dc5db41f28ab", "main": "./src/index.js" -} \ No newline at end of file +} diff --git a/libs/remix-astwalker/package.json b/libs/remix-astwalker/package.json index c14b860d6e..530c588996 100644 --- a/libs/remix-astwalker/package.json +++ b/libs/remix-astwalker/package.json @@ -47,7 +47,7 @@ "tape": "^4.10.1", "ts-node": "^8.0.3", "typescript": "^3.4.3", - "web3": "^4.0.3" + "web3": "^4.1.0" }, "devDependencies": { "tap-spec": "^5.0.0" @@ -55,4 +55,4 @@ "typings": "src/index.d.ts", "gitHead": "b11b11623729f741a5ccd387bc60dc5db41f28ab", "types": "./src/index.d.ts" -} \ No newline at end of file +} diff --git a/libs/remix-debug/package.json b/libs/remix-debug/package.json index bff53dd4be..4e3bc98044 100644 --- a/libs/remix-debug/package.json +++ b/libs/remix-debug/package.json @@ -41,7 +41,7 @@ "merge": "^2.1.1", "string-similarity": "^4.0.4", "time-stamp": "^2.2.0", - "web3": "^4.0.3" + "web3": "^4.1.0" }, "devDependencies": { "@babel/core": "^7.4.5", @@ -71,4 +71,4 @@ "typings": "src/index.d.ts", "gitHead": "b11b11623729f741a5ccd387bc60dc5db41f28ab", "types": "./src/index.d.ts" -} \ No newline at end of file +} diff --git a/libs/remix-lib/package.json b/libs/remix-lib/package.json index 8ce31ea812..93877ef64d 100644 --- a/libs/remix-lib/package.json +++ b/libs/remix-lib/package.json @@ -25,8 +25,8 @@ "from-exponential": "1.1.1", "solc": "^0.7.4", "string-similarity": "^4.0.4", - "web3": "^4.0.3", - "web3-validator": "^1.0.2" + "web3": "^4.1.0", + "web3-validator": "^2.0.0" }, "devDependencies": { "@babel/core": "^7.4.5", diff --git a/libs/remix-simulator/package.json b/libs/remix-simulator/package.json index 0f1d4205bf..b62369a46e 100644 --- a/libs/remix-simulator/package.json +++ b/libs/remix-simulator/package.json @@ -36,7 +36,7 @@ "merge": "^1.2.0", "string-similarity": "^4.0.4", "time-stamp": "^2.0.0", - "web3": "^4.0.3" + "web3": "^4.1.0" }, "devDependencies": { "@babel/core": "^7.4.5", diff --git a/libs/remix-solidity/package.json b/libs/remix-solidity/package.json index 7df7887d50..4b2644ed56 100644 --- a/libs/remix-solidity/package.json +++ b/libs/remix-solidity/package.json @@ -28,7 +28,7 @@ "semver": "^6.3.0", "solc": "^0.7.4", "string-similarity": "^4.0.4", - "web3": "^4.0.3", + "web3": "^4.1.0", "webworkify-webpack": "^2.1.5" }, "devDependencies": { @@ -58,4 +58,4 @@ "homepage": "https://github.com/ethereum/remix-project/tree/master/libs/remix-solidity#readme", "typings": "src/index.d.ts", "gitHead": "b11b11623729f741a5ccd387bc60dc5db41f28ab" -} \ No newline at end of file +} diff --git a/libs/remix-tests/package.json b/libs/remix-tests/package.json index 88a9fd702b..e6885ae853 100644 --- a/libs/remix-tests/package.json +++ b/libs/remix-tests/package.json @@ -62,7 +62,7 @@ "string-similarity": "^4.0.4", "time-stamp": "^2.2.0", "tslib": "^2.3.0", - "web3": "^4.0.3", + "web3": "^4.1.0", "winston": "^3.0.0" }, "devDependencies": { @@ -79,4 +79,4 @@ }, "typings": "src/index.d.ts", "gitHead": "b11b11623729f741a5ccd387bc60dc5db41f28ab" -} \ No newline at end of file +} diff --git a/libs/remix-ws-templates/package.json b/libs/remix-ws-templates/package.json index 5a96def75f..4f4a0183ad 100644 --- a/libs/remix-ws-templates/package.json +++ b/libs/remix-ws-templates/package.json @@ -22,7 +22,7 @@ "@openzeppelin/contracts": "^4.7.3", "@openzeppelin/wizard": "^0.1.1", "ethers": "^5.4.2", - "web3": "^4.0.3" + "web3": "^4.1.0" }, "gitHead": "b11b11623729f741a5ccd387bc60dc5db41f28ab" -} \ No newline at end of file +} diff --git a/package.json b/package.json index 0bf68ba0e0..125f064ce1 100644 --- a/package.json +++ b/package.json @@ -209,7 +209,7 @@ "tslib": "^2.3.0", "viem": "^1.2.12", "wagmi": "^1.3.8", - "web3": "^4.0.3", + "web3": "^4.1.0", "winston": "^3.3.3", "ws": "^7.3.0" },