From ee5e81d18d4910c34db497909848442cba604d73 Mon Sep 17 00:00:00 2001 From: luu-alex Date: Tue, 28 Nov 2023 19:13:27 -0500 Subject: [PATCH 01/11] update changelog and run lerna --- CHANGELOG.md | 77 +++++++++++++++++++++++ packages/web3-core/CHANGELOG.md | 6 +- packages/web3-core/package.json | 12 ++-- packages/web3-eth-abi/CHANGELOG.md | 6 ++ packages/web3-eth-abi/package.json | 6 +- packages/web3-eth-accounts/CHANGELOG.md | 4 ++ packages/web3-eth-accounts/package.json | 8 +-- packages/web3-eth-contract/CHANGELOG.md | 6 +- packages/web3-eth-contract/package.json | 8 +-- packages/web3-eth-ens/CHANGELOG.md | 8 ++- packages/web3-eth-ens/package.json | 16 ++--- packages/web3-eth-iban/CHANGELOG.md | 12 ++++ packages/web3-eth-iban/package.json | 8 +-- packages/web3-eth-personal/CHANGELOG.md | 6 ++ packages/web3-eth-personal/package.json | 14 ++--- packages/web3-eth/CHANGELOG.md | 6 ++ packages/web3-eth/package.json | 18 +++--- packages/web3-net/CHANGELOG.md | 6 ++ packages/web3-net/package.json | 10 +-- packages/web3-providers-http/CHANGELOG.md | 6 ++ packages/web3-providers-http/package.json | 8 +-- packages/web3-providers-ipc/CHANGELOG.md | 6 ++ packages/web3-providers-ipc/package.json | 8 +-- packages/web3-providers-ws/CHANGELOG.md | 6 ++ packages/web3-providers-ws/package.json | 8 +-- packages/web3-rpc-methods/package.json | 6 +- packages/web3-utils/CHANGELOG.md | 4 +- packages/web3-utils/package.json | 6 +- packages/web3-validator/package.json | 4 +- packages/web3/CHANGELOG.md | 9 ++- packages/web3/package.json | 28 ++++----- packages/web3/src/version.ts | 2 +- tools/web3-plugin-example/package.json | 10 +-- 33 files changed, 251 insertions(+), 97 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c7ca239e669..eaacbeb2703 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2226,6 +2226,7 @@ If there are any bugs, improvements, optimizations or any new feature proposal f - Dependencies updated ## [4.2.2] + ### Added #### web3-core @@ -2253,4 +2254,80 @@ If there are any bugs, improvements, optimizations or any new feature proposal f - Will populate `data` for transactions in contract for metamask provider instead of `input` (#6534) +## [4.4.0] + +### Changed + +#### web3-core + +- Web3config `contractDataInputFill` has been defaulted to `data`, istead of `input`. (#6622) + +#### web3-eth-abi + +- Dependencies updated + +#### web3-eth-accounts + +- Dependencies updated + +#### web3-eth-contracts + +- Web3config `contractDataInputFill` has been defaulted to `data`, istead of `input`. (#6622) + +#### web3-eth-ens + +- Dependencies updated + +#### web3-eth-iban + +- Dependencies updated + +#### web3-eth + +- Dependencies updated + +#### web3-net + +- Dependencies updated + +#### web3-providers-http + +- Dependencies updated + +#### web3-providers-ipc + +- Dependencies updated + +#### web3-providers-ws + +- Dependencies updated + +### Added + +#### web3-eth-accounts + +- Added public function `privateKeyToPublicKey` +- Added exporting `BaseTransaction` from the package (#6493) +- Added exporting `txUtils` from the package (#6493) + +#### web3-utils + +- `SocketProvider` now contains public function `getPendingRequestQueueSize`, `getSentRequestsQueueSize` and `clearQueues` (#6479) +- Added `safeDisconnect` as a `SocketProvider` method to disconnect only when request queue size and send request queue size is 0 (#6479) +- Add `isContractInitOptions` method (#6555) + +### Fixed + +#### web3-eth-accounts + +- Fixed `recover` function, `v` will be normalized to value 0,1 (#6344) + +#### web3-rpc-methods + +- Fix web3-types import #6590 (#6589) + +#### web3-utils + +- Fix unecessary array copy when pack encoding (#6553) + ## [Unreleased] diff --git a/packages/web3-core/CHANGELOG.md b/packages/web3-core/CHANGELOG.md index 2c782c67f4d..cdc59a267a8 100644 --- a/packages/web3-core/CHANGELOG.md +++ b/packages/web3-core/CHANGELOG.md @@ -201,8 +201,10 @@ Documentation: - Added `isMetaMaskProvider` function to check if provider is metamask (#6534) -## [Unreleased] +## [4.4.0] ### Changed -- Web3config `contractDataInputFill` has been defaulted to `data`, istead of `input`. (#6622) \ No newline at end of file +- Web3config `contractDataInputFill` has been defaulted to `data`, istead of `input`. (#6622) + +## [Unreleased] \ No newline at end of file diff --git a/packages/web3-core/package.json b/packages/web3-core/package.json index 72ba5ee3cd8..cfbe27a23f9 100644 --- a/packages/web3-core/package.json +++ b/packages/web3-core/package.json @@ -1,6 +1,6 @@ { "name": "web3-core", - "version": "4.3.1", + "version": "4.4.0", "description": "Web3 core tools for sub-packages. This is an internal package.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -43,16 +43,16 @@ }, "dependencies": { "web3-errors": "^1.1.4", - "web3-eth-iban": "^4.0.7", "web3-eth-accounts": "^4.1.0", - "web3-providers-http": "^4.1.0", - "web3-providers-ws": "^4.0.7", + "web3-eth-iban": "^4.0.8", + "web3-providers-http": "^4.1.1", + "web3-providers-ws": "^4.0.8", "web3-types": "^1.3.1", - "web3-utils": "^4.0.7", + "web3-utils": "^4.1.0", "web3-validator": "^2.0.3" }, "optionalDependencies": { - "web3-providers-ipc": "^4.0.7" + "web3-providers-ipc": "^4.0.8" }, "devDependencies": { "@types/jest": "^28.1.6", diff --git a/packages/web3-eth-abi/CHANGELOG.md b/packages/web3-eth-abi/CHANGELOG.md index 69c387b19c7..2a301cc2dd9 100644 --- a/packages/web3-eth-abi/CHANGELOG.md +++ b/packages/web3-eth-abi/CHANGELOG.md @@ -154,4 +154,10 @@ Documentation: - Bug fix of `ERR_UNSUPPORTED_DIR_IMPORT` in ABI (#6535) +## [4.1.5] + +### Changed + +- Dependencies updated + ## [Unreleased] \ No newline at end of file diff --git a/packages/web3-eth-abi/package.json b/packages/web3-eth-abi/package.json index c685639c1ac..515eab4ce39 100644 --- a/packages/web3-eth-abi/package.json +++ b/packages/web3-eth-abi/package.json @@ -43,9 +43,9 @@ }, "dependencies": { "abitype": "0.7.1", - "web3-errors": "^1.1.3", - "web3-types": "^1.3.0", - "web3-utils": "^4.0.7", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.0", "web3-validator": "^2.0.3" }, "devDependencies": { diff --git a/packages/web3-eth-accounts/CHANGELOG.md b/packages/web3-eth-accounts/CHANGELOG.md index 5e1e9bee8c1..861b3c009c5 100644 --- a/packages/web3-eth-accounts/CHANGELOG.md +++ b/packages/web3-eth-accounts/CHANGELOG.md @@ -149,4 +149,8 @@ Documentation: - Fixed `recover` function, `v` will be normalized to value 0,1 (#6344) +### Changed + +- Dependencies updated + ## [Unreleased] \ No newline at end of file diff --git a/packages/web3-eth-accounts/package.json b/packages/web3-eth-accounts/package.json index ae62345610d..99210b33bc0 100644 --- a/packages/web3-eth-accounts/package.json +++ b/packages/web3-eth-accounts/package.json @@ -55,15 +55,15 @@ "prettier": "^2.7.1", "ts-jest": "^28.0.7", "typescript": "^4.7.4", - "web3-providers-ipc": "^4.0.7" + "web3-providers-ipc": "^4.0.8" }, "dependencies": { "@ethereumjs/rlp": "^4.0.1", "crc-32": "^1.2.2", "ethereum-cryptography": "^2.0.0", - "web3-errors": "^1.1.3", - "web3-types": "^1.3.0", - "web3-utils": "^4.0.7", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.0", "web3-validator": "^2.0.3" } } diff --git a/packages/web3-eth-contract/CHANGELOG.md b/packages/web3-eth-contract/CHANGELOG.md index d34fa85d053..1c0b215c381 100644 --- a/packages/web3-eth-contract/CHANGELOG.md +++ b/packages/web3-eth-contract/CHANGELOG.md @@ -347,8 +347,10 @@ Documentation: - Will populate `data` for transactions in contract for metamask provider instead of `input` (#6534) -## [Unreleased] +## [4.2.0] ### Changed -- `contractDataInputFill` has been defaulted to `data`, istead of `input`. (#6622) \ No newline at end of file +- Web3config `contractDataInputFill` has been defaulted to `data`, istead of `input`. (#6622) + +## [Unreleased] \ No newline at end of file diff --git a/packages/web3-eth-contract/package.json b/packages/web3-eth-contract/package.json index b905e8500ce..8d115711244 100644 --- a/packages/web3-eth-contract/package.json +++ b/packages/web3-eth-contract/package.json @@ -1,6 +1,6 @@ { "name": "web3-eth-contract", - "version": "4.1.3", + "version": "4.2.0", "description": "Web3 module to interact with Ethereum smart contracts.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -45,12 +45,12 @@ "test:e2e:firefox": "npx cypress run --headless --browser firefox --env grep='ignore',invert=true" }, "dependencies": { - "web3-core": "^4.3.1", + "web3-core": "^4.4.0", "web3-errors": "^1.1.4", - "web3-eth": "^4.3.1", + "web3-eth": "^4.4.0", "web3-eth-abi": "^4.1.4", "web3-types": "^1.3.1", - "web3-utils": "^4.0.7", + "web3-utils": "^4.1.0", "web3-validator": "^2.0.3" }, "devDependencies": { diff --git a/packages/web3-eth-ens/CHANGELOG.md b/packages/web3-eth-ens/CHANGELOG.md index f47355882dd..7758f6427e0 100644 --- a/packages/web3-eth-ens/CHANGELOG.md +++ b/packages/web3-eth-ens/CHANGELOG.md @@ -141,4 +141,10 @@ Documentation: - Dependencies updated -## [Unreleased] \ No newline at end of file +## [4.0.9] + +### Changed + +- Dependencies updated + +## [Unreleased] diff --git a/packages/web3-eth-ens/package.json b/packages/web3-eth-ens/package.json index 6d38e795878..0020a312dd7 100644 --- a/packages/web3-eth-ens/package.json +++ b/packages/web3-eth-ens/package.json @@ -1,6 +1,6 @@ { "name": "web3-eth-ens", - "version": "4.0.8", + "version": "4.0.9", "description": "This package has ENS functions for interacting with Ethereum Name Service.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -59,13 +59,13 @@ }, "dependencies": { "@adraffy/ens-normalize": "^1.8.8", - "web3-core": "^4.3.0", - "web3-errors": "^1.1.3", - "web3-eth": "^4.3.1", - "web3-eth-contract": "^4.1.2", - "web3-net": "^4.0.7", - "web3-types": "^1.3.0", - "web3-utils": "^4.0.7", + "web3-core": "^4.4.0", + "web3-errors": "^1.1.4", + "web3-eth": "^4.4.0", + "web3-eth-contract": "^4.2.0", + "web3-net": "^4.0.8", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.0", "web3-validator": "^2.0.3" } } diff --git a/packages/web3-eth-iban/CHANGELOG.md b/packages/web3-eth-iban/CHANGELOG.md index 797f4ffe29f..0b5de105a0c 100644 --- a/packages/web3-eth-iban/CHANGELOG.md +++ b/packages/web3-eth-iban/CHANGELOG.md @@ -125,4 +125,16 @@ Documentation: - Dependencies updated +## [4.0.8] + +### Changed + +- Dependencies updated + +## [4.0.9] + +### Changed + +- Dependencies updated + ## [Unreleased] \ No newline at end of file diff --git a/packages/web3-eth-iban/package.json b/packages/web3-eth-iban/package.json index c04c1b0476c..58bfa94e329 100644 --- a/packages/web3-eth-iban/package.json +++ b/packages/web3-eth-iban/package.json @@ -1,6 +1,6 @@ { "name": "web3-eth-iban", - "version": "4.0.7", + "version": "4.0.8", "description": "This package converts Ethereum addresses to IBAN addresses and vice versa.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -56,9 +56,9 @@ "typescript": "^4.7.4" }, "dependencies": { - "web3-errors": "^1.1.3", - "web3-types": "^1.3.0", - "web3-utils": "^4.0.7", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.0", "web3-validator": "^2.0.3" } } diff --git a/packages/web3-eth-personal/CHANGELOG.md b/packages/web3-eth-personal/CHANGELOG.md index aba75cae036..0875355f0ae 100644 --- a/packages/web3-eth-personal/CHANGELOG.md +++ b/packages/web3-eth-personal/CHANGELOG.md @@ -147,4 +147,10 @@ Documentation: - Dependencies updated +## [4.0.9] + +### Changed + +- Dependencies updated + ## [Unreleased] \ No newline at end of file diff --git a/packages/web3-eth-personal/package.json b/packages/web3-eth-personal/package.json index ad0c3088cb1..4d73b5f735c 100644 --- a/packages/web3-eth-personal/package.json +++ b/packages/web3-eth-personal/package.json @@ -1,6 +1,6 @@ { "name": "web3-eth-personal", - "version": "4.0.8", + "version": "4.0.9", "description": "Web3 module to interact with the Ethereum blockchain accounts stored in the node.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -42,11 +42,11 @@ "test:integration": "jest --config=./test/integration/jest.config.js" }, "dependencies": { - "web3-core": "^4.3.0", - "web3-eth": "^4.3.1", - "web3-rpc-methods": "^1.1.3", - "web3-types": "^1.3.0", - "web3-utils": "^4.0.7", + "web3-core": "^4.4.0", + "web3-eth": "^4.4.0", + "web3-rpc-methods": "^1.1.4", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.0", "web3-validator": "^2.0.3" }, "devDependencies": { @@ -62,6 +62,6 @@ "prettier": "^2.7.1", "ts-jest": "^28.0.7", "typescript": "^4.7.4", - "web3-providers-ws": "^4.0.7" + "web3-providers-ws": "^4.0.8" } } diff --git a/packages/web3-eth/CHANGELOG.md b/packages/web3-eth/CHANGELOG.md index aac5c9d1097..104c43cbdc8 100644 --- a/packages/web3-eth/CHANGELOG.md +++ b/packages/web3-eth/CHANGELOG.md @@ -213,4 +213,10 @@ Documentation: - Dependencies updated +## [4.4.0] + +### Changed + +- Dependencies updated + ## [Unreleased] \ No newline at end of file diff --git a/packages/web3-eth/package.json b/packages/web3-eth/package.json index 4cfb96130fb..ee5204d708e 100644 --- a/packages/web3-eth/package.json +++ b/packages/web3-eth/package.json @@ -1,6 +1,6 @@ { "name": "web3-eth", - "version": "4.3.1", + "version": "4.4.0", "description": "Web3 module to interact with the Ethereum blockchain and smart contracts.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -59,19 +59,19 @@ "prettier": "^2.7.1", "ts-jest": "^28.0.7", "typescript": "^4.7.4", - "web3-providers-http": "^4.1.0" + "web3-providers-http": "^4.1.1" }, "dependencies": { "setimmediate": "^1.0.5", - "web3-core": "^4.3.0", - "web3-errors": "^1.1.3", + "web3-core": "^4.4.0", + "web3-errors": "^1.1.4", "web3-eth-abi": "^4.1.4", "web3-eth-accounts": "^4.1.0", - "web3-net": "^4.0.7", - "web3-providers-ws": "^4.0.7", - "web3-rpc-methods": "^1.1.3", - "web3-types": "^1.3.0", - "web3-utils": "^4.0.7", + "web3-net": "^4.0.8", + "web3-providers-ws": "^4.0.8", + "web3-rpc-methods": "^1.1.4", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.0", "web3-validator": "^2.0.3" } } diff --git a/packages/web3-net/CHANGELOG.md b/packages/web3-net/CHANGELOG.md index dd6227ecdd8..c9f87021f34 100644 --- a/packages/web3-net/CHANGELOG.md +++ b/packages/web3-net/CHANGELOG.md @@ -141,4 +141,10 @@ Documentation: - Dependencies updated +## [4.0.8] + +### Changed + +- Dependencies updated + ## [Unreleased] \ No newline at end of file diff --git a/packages/web3-net/package.json b/packages/web3-net/package.json index f6ddefca6ee..e50d0ee05f6 100644 --- a/packages/web3-net/package.json +++ b/packages/web3-net/package.json @@ -1,6 +1,6 @@ { "name": "web3-net", - "version": "4.0.7", + "version": "4.0.8", "description": "Web3 module to interact with the Ethereum nodes networking properties.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -56,9 +56,9 @@ "typescript": "^4.7.4" }, "dependencies": { - "web3-core": "^4.3.0", - "web3-rpc-methods": "^1.1.3", - "web3-types": "^1.3.0", - "web3-utils": "^4.0.7" + "web3-core": "^4.4.0", + "web3-rpc-methods": "^1.1.4", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.0" } } diff --git a/packages/web3-providers-http/CHANGELOG.md b/packages/web3-providers-http/CHANGELOG.md index 6d57af6dcf7..9cd58bb3432 100644 --- a/packages/web3-providers-http/CHANGELOG.md +++ b/packages/web3-providers-http/CHANGELOG.md @@ -129,4 +129,10 @@ Documentation: - Fix issue lquixada/cross-fetch#78, enabling to run web3.js in service worker (#6463) +## [4.1.1] + +### Changed + +- Dependencies updated + ## [Unreleased] \ No newline at end of file diff --git a/packages/web3-providers-http/package.json b/packages/web3-providers-http/package.json index 6a01d2e835d..b5f3a4ed02f 100644 --- a/packages/web3-providers-http/package.json +++ b/packages/web3-providers-http/package.json @@ -1,6 +1,6 @@ { "name": "web3-providers-http", - "version": "4.1.0", + "version": "4.1.1", "description": "HTTP provider for Web3 4.x.x", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -61,8 +61,8 @@ }, "dependencies": { "cross-fetch": "^4.0.0", - "web3-errors": "^1.1.3", - "web3-types": "^1.3.0", - "web3-utils": "^4.0.7" + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.0" } } diff --git a/packages/web3-providers-ipc/CHANGELOG.md b/packages/web3-providers-ipc/CHANGELOG.md index 6f75b93995e..bf1a782bb2b 100644 --- a/packages/web3-providers-ipc/CHANGELOG.md +++ b/packages/web3-providers-ipc/CHANGELOG.md @@ -135,4 +135,10 @@ Documentation: - Fixed bug in chunks processing logic (#6496) +## [4.0.8] + +### Changed + +- Dependencies updated + ## [Unreleased] \ No newline at end of file diff --git a/packages/web3-providers-ipc/package.json b/packages/web3-providers-ipc/package.json index e0052448ae3..02669258c24 100644 --- a/packages/web3-providers-ipc/package.json +++ b/packages/web3-providers-ipc/package.json @@ -1,6 +1,6 @@ { "name": "web3-providers-ipc", - "version": "4.0.7", + "version": "4.0.8", "description": "IPC provider for Web3 4.x.x", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -56,8 +56,8 @@ "typescript": "^4.7.4" }, "dependencies": { - "web3-errors": "^1.1.3", - "web3-types": "^1.3.0", - "web3-utils": "^4.0.7" + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.0" } } diff --git a/packages/web3-providers-ws/CHANGELOG.md b/packages/web3-providers-ws/CHANGELOG.md index 8648c09c9d3..ec1eb3b1a00 100644 --- a/packages/web3-providers-ws/CHANGELOG.md +++ b/packages/web3-providers-ws/CHANGELOG.md @@ -129,4 +129,10 @@ Documentation: - Fixed bug in chunks processing logic (#6496) +## [4.0.8] + +### Changed + +- Dependencies updated + ## [Unreleased] \ No newline at end of file diff --git a/packages/web3-providers-ws/package.json b/packages/web3-providers-ws/package.json index 6aa3bde1ee1..aaa54ae5529 100644 --- a/packages/web3-providers-ws/package.json +++ b/packages/web3-providers-ws/package.json @@ -1,6 +1,6 @@ { "name": "web3-providers-ws", - "version": "4.0.7", + "version": "4.0.8", "description": "Websocket provider for Web3 4.x.x", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -63,9 +63,9 @@ "dependencies": { "@types/ws": "8.5.3", "isomorphic-ws": "^5.0.0", - "web3-errors": "^1.1.3", - "web3-types": "^1.3.0", - "web3-utils": "^4.0.7", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.0", "ws": "^8.8.1" } } diff --git a/packages/web3-rpc-methods/package.json b/packages/web3-rpc-methods/package.json index 25cc30c36ae..b4a0a5bd135 100644 --- a/packages/web3-rpc-methods/package.json +++ b/packages/web3-rpc-methods/package.json @@ -1,6 +1,6 @@ { "name": "web3-rpc-methods", - "version": "1.1.3", + "version": "1.1.4", "description": "Ethereum RPC methods for Web3 4.x.x", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -56,8 +56,8 @@ "typescript": "^4.7.4" }, "dependencies": { - "web3-core": "^4.3.0", - "web3-types": "^1.3.0", + "web3-core": "^4.4.0", + "web3-types": "^1.3.1", "web3-validator": "^2.0.3" } } diff --git a/packages/web3-utils/CHANGELOG.md b/packages/web3-utils/CHANGELOG.md index bd385bdf0c5..953d1ff035a 100644 --- a/packages/web3-utils/CHANGELOG.md +++ b/packages/web3-utils/CHANGELOG.md @@ -169,7 +169,7 @@ Documentation: - Fix issue with default config with babel (and React): "TypeError: Cannot convert a BigInt value to a number #6187" (#6506) - Fixed bug in chunks processing logic (#6496) -## [Unreleased] +## [4.1.0] ### Added @@ -180,3 +180,5 @@ Documentation: ### Fixed - Fix unecessary array copy when pack encoding (#6553) + +## [Unreleased] diff --git a/packages/web3-utils/package.json b/packages/web3-utils/package.json index a4d48ca5cf4..e8630b147f9 100644 --- a/packages/web3-utils/package.json +++ b/packages/web3-utils/package.json @@ -1,7 +1,7 @@ { "name": "web3-utils", "sideEffects": false, - "version": "4.0.7", + "version": "4.1.0", "description": "Collection of utility functions used in web3.js.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -64,8 +64,8 @@ }, "dependencies": { "ethereum-cryptography": "^2.0.0", - "web3-errors": "^1.1.3", - "web3-types": "^1.3.0", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", "web3-validator": "^2.0.3" } } diff --git a/packages/web3-validator/package.json b/packages/web3-validator/package.json index 483ac6237aa..5aecd5b8f22 100644 --- a/packages/web3-validator/package.json +++ b/packages/web3-validator/package.json @@ -47,8 +47,8 @@ "dependencies": { "ethereum-cryptography": "^2.0.0", "util": "^0.12.5", - "web3-errors": "^1.1.3", - "web3-types": "^1.3.0", + "web3-errors": "^1.1.4", + "web3-types": "^1.3.1", "zod": "^3.21.4" }, "devDependencies": { diff --git a/packages/web3/CHANGELOG.md b/packages/web3/CHANGELOG.md index 934a794cc30..b0bf8840826 100644 --- a/packages/web3/CHANGELOG.md +++ b/packages/web3/CHANGELOG.md @@ -173,8 +173,15 @@ Documentation: - Dependencies updated ( details are in root changelog ) -## [Unreleased] +## [4.3.0] ### Added - Added methods (privateKeyToAddress, parseAndValidatePrivateKey, and privateKeyToPublicKey) to web3.eth.accounts (#6620) + +### Changed + +- Dependencies updated + +## [Unreleased] + diff --git a/packages/web3/package.json b/packages/web3/package.json index 675264fdbfd..0f722169de3 100644 --- a/packages/web3/package.json +++ b/packages/web3/package.json @@ -1,6 +1,6 @@ { "name": "web3", - "version": "4.2.2", + "version": "4.3.0", "description": "Ethereum JavaScript API", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -60,7 +60,7 @@ "test:blackbox:geth:ws": "./scripts/black_box_test.sh geth ws", "test:blackbox:infura:http": "./scripts/black_box_test.sh infura http", "test:blackbox:infura:ws": "./scripts/black_box_test.sh infura ws", - "test:e2e:chrome:stress": "npx cypress run --headless --browser chrome" + "test:e2e:chrome:stress": "npx cypress run --headless --browser chrome" }, "devDependencies": { "@truffle/hdwallet-provider": "^2.0.12", @@ -80,24 +80,24 @@ "prettier": "^2.7.1", "ts-jest": "^28.0.7", "typescript": "^4.7.4", - "web3-providers-ipc": "^4.0.7" + "web3-providers-ipc": "^4.0.8" }, "dependencies": { - "web3-core": "^4.3.1", + "web3-core": "^4.4.0", "web3-errors": "^1.1.4", - "web3-eth": "^4.3.1", + "web3-eth": "^4.4.0", "web3-eth-abi": "^4.1.4", "web3-eth-accounts": "^4.1.0", - "web3-eth-contract": "^4.1.3", - "web3-eth-ens": "^4.0.8", - "web3-eth-iban": "^4.0.7", - "web3-eth-personal": "^4.0.8", - "web3-net": "^4.0.7", - "web3-providers-http": "^4.1.0", - "web3-providers-ws": "^4.0.7", - "web3-rpc-methods": "^1.1.3", + "web3-eth-contract": "^4.2.0", + "web3-eth-ens": "^4.0.9", + "web3-eth-iban": "^4.0.8", + "web3-eth-personal": "^4.0.9", + "web3-net": "^4.0.8", + "web3-providers-http": "^4.1.1", + "web3-providers-ws": "^4.0.8", + "web3-rpc-methods": "^1.1.4", "web3-types": "^1.3.1", - "web3-utils": "^4.0.7", + "web3-utils": "^4.1.0", "web3-validator": "^2.0.3" } } diff --git a/packages/web3/src/version.ts b/packages/web3/src/version.ts index c0c7faf90d7..b90de9000b7 100644 --- a/packages/web3/src/version.ts +++ b/packages/web3/src/version.ts @@ -1 +1 @@ -/* eslint-disable header/header */ export const Web3PkgInfo = { version: '4.2.2' }; +/* eslint-disable header/header */ export const Web3PkgInfo = { version: '4.3.0' }; diff --git a/tools/web3-plugin-example/package.json b/tools/web3-plugin-example/package.json index 6e5782e9f3d..c7110b0e8eb 100644 --- a/tools/web3-plugin-example/package.json +++ b/tools/web3-plugin-example/package.json @@ -45,12 +45,12 @@ "prettier": "^2.7.1", "ts-jest": "^28.0.7", "typescript": "^4.7.4", - "web3": "^4.2.1", - "web3-core": "^4.3.0", + "web3": "^4.3.0", + "web3-core": "^4.4.0", "web3-eth-abi": "^4.1.4", - "web3-eth-contract": "^4.1.2", - "web3-types": "^1.3.0", - "web3-utils": "^4.0.7" + "web3-eth-contract": "^4.2.0", + "web3-types": "^1.3.1", + "web3-utils": "^4.1.0" }, "peerDependencies": { "web3-core": ">= 4.1.1 < 5", From 330128716645eff12640eddf2dee13b44bcc74b4 Mon Sep 17 00:00:00 2001 From: luu-alex Date: Tue, 28 Nov 2023 19:17:23 -0500 Subject: [PATCH 02/11] update changelog --- CHANGELOG.md | 4 ++-- packages/web3-eth-contract/CHANGELOG.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eaacbeb2703..c778261419c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2254,7 +2254,7 @@ If there are any bugs, improvements, optimizations or any new feature proposal f - Will populate `data` for transactions in contract for metamask provider instead of `input` (#6534) -## [4.4.0] +## [4.3.0] ### Changed @@ -2272,7 +2272,7 @@ If there are any bugs, improvements, optimizations or any new feature proposal f #### web3-eth-contracts -- Web3config `contractDataInputFill` has been defaulted to `data`, istead of `input`. (#6622) +- By default, contracts will fill `data` instead of `input` within method calls (#6622) #### web3-eth-ens diff --git a/packages/web3-eth-contract/CHANGELOG.md b/packages/web3-eth-contract/CHANGELOG.md index 1c0b215c381..ee7b7b92200 100644 --- a/packages/web3-eth-contract/CHANGELOG.md +++ b/packages/web3-eth-contract/CHANGELOG.md @@ -351,6 +351,6 @@ Documentation: ### Changed -- Web3config `contractDataInputFill` has been defaulted to `data`, istead of `input`. (#6622) +- By default, contracts will fill `data` instead of `input` within method calls (#6622) ## [Unreleased] \ No newline at end of file From 4dffaccec72ae05864de0d36af2dce74d6ad0a28 Mon Sep 17 00:00:00 2001 From: luu-alex Date: Tue, 28 Nov 2023 23:55:28 -0500 Subject: [PATCH 03/11] fix versioning --- packages/web3-eth-abi/package.json | 2 +- packages/web3-eth-contract/package.json | 2 +- packages/web3-eth-iban/CHANGELOG.md | 6 ------ packages/web3-eth/package.json | 2 +- packages/web3-rpc-methods/CHANGELOG.md | 5 ++++- packages/web3/package.json | 2 +- tools/web3-plugin-example/package.json | 2 +- 7 files changed, 9 insertions(+), 12 deletions(-) diff --git a/packages/web3-eth-abi/package.json b/packages/web3-eth-abi/package.json index 515eab4ce39..f2321a0b03d 100644 --- a/packages/web3-eth-abi/package.json +++ b/packages/web3-eth-abi/package.json @@ -1,6 +1,6 @@ { "name": "web3-eth-abi", - "version": "4.1.4", + "version": "4.1.5", "description": "Web3 module encode and decode EVM in/output.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", diff --git a/packages/web3-eth-contract/package.json b/packages/web3-eth-contract/package.json index 8d115711244..356f08cfae5 100644 --- a/packages/web3-eth-contract/package.json +++ b/packages/web3-eth-contract/package.json @@ -48,7 +48,7 @@ "web3-core": "^4.4.0", "web3-errors": "^1.1.4", "web3-eth": "^4.4.0", - "web3-eth-abi": "^4.1.4", + "web3-eth-abi": "^4.1.5", "web3-types": "^1.3.1", "web3-utils": "^4.1.0", "web3-validator": "^2.0.3" diff --git a/packages/web3-eth-iban/CHANGELOG.md b/packages/web3-eth-iban/CHANGELOG.md index 0b5de105a0c..36c6a5b62d3 100644 --- a/packages/web3-eth-iban/CHANGELOG.md +++ b/packages/web3-eth-iban/CHANGELOG.md @@ -131,10 +131,4 @@ Documentation: - Dependencies updated -## [4.0.9] - -### Changed - -- Dependencies updated - ## [Unreleased] \ No newline at end of file diff --git a/packages/web3-eth/package.json b/packages/web3-eth/package.json index ee5204d708e..3cd6978e1de 100644 --- a/packages/web3-eth/package.json +++ b/packages/web3-eth/package.json @@ -65,7 +65,7 @@ "setimmediate": "^1.0.5", "web3-core": "^4.4.0", "web3-errors": "^1.1.4", - "web3-eth-abi": "^4.1.4", + "web3-eth-abi": "^4.1.5", "web3-eth-accounts": "^4.1.0", "web3-net": "^4.0.8", "web3-providers-ws": "^4.0.8", diff --git a/packages/web3-rpc-methods/CHANGELOG.md b/packages/web3-rpc-methods/CHANGELOG.md index 59757e0e5ac..29de022b81c 100644 --- a/packages/web3-rpc-methods/CHANGELOG.md +++ b/packages/web3-rpc-methods/CHANGELOG.md @@ -126,8 +126,11 @@ Documentation: - Dependencies updated -## [Unreleased] +## [1.1.4] ### Fixed - Fix web3-types import #6590 (#6589) + +## [Unreleased] + diff --git a/packages/web3/package.json b/packages/web3/package.json index 0f722169de3..30e07b6a15f 100644 --- a/packages/web3/package.json +++ b/packages/web3/package.json @@ -86,7 +86,7 @@ "web3-core": "^4.4.0", "web3-errors": "^1.1.4", "web3-eth": "^4.4.0", - "web3-eth-abi": "^4.1.4", + "web3-eth-abi": "^4.1.5", "web3-eth-accounts": "^4.1.0", "web3-eth-contract": "^4.2.0", "web3-eth-ens": "^4.0.9", diff --git a/tools/web3-plugin-example/package.json b/tools/web3-plugin-example/package.json index c7110b0e8eb..afd4082e652 100644 --- a/tools/web3-plugin-example/package.json +++ b/tools/web3-plugin-example/package.json @@ -47,7 +47,7 @@ "typescript": "^4.7.4", "web3": "^4.3.0", "web3-core": "^4.4.0", - "web3-eth-abi": "^4.1.4", + "web3-eth-abi": "^4.1.5", "web3-eth-contract": "^4.2.0", "web3-types": "^1.3.1", "web3-utils": "^4.1.0" From 9ccb2fbc1224b9933702807ab506a6475f478c05 Mon Sep 17 00:00:00 2001 From: luu-alex Date: Wed, 29 Nov 2023 12:03:14 -0500 Subject: [PATCH 04/11] update vers --- CHANGELOG.md | 6 +++--- packages/web3-core/CHANGELOG.md | 2 +- packages/web3-core/package.json | 4 ++-- packages/web3-eth-accounts/CHANGELOG.md | 2 ++ packages/web3-eth-accounts/package.json | 2 +- packages/web3-eth-contract/CHANGELOG.md | 2 +- packages/web3-eth-contract/package.json | 8 ++++---- packages/web3-eth-ens/package.json | 6 +++--- packages/web3-eth-personal/package.json | 4 ++-- packages/web3-eth/CHANGELOG.md | 2 +- packages/web3-eth/package.json | 6 +++--- packages/web3-net/package.json | 2 +- packages/web3-rpc-methods/package.json | 2 +- packages/web3/package.json | 8 ++++---- tools/web3-plugin-example/package.json | 4 ++-- 15 files changed, 31 insertions(+), 29 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c778261419c..5fe1aba85a1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2316,11 +2316,11 @@ If there are any bugs, improvements, optimizations or any new feature proposal f - Added `safeDisconnect` as a `SocketProvider` method to disconnect only when request queue size and send request queue size is 0 (#6479) - Add `isContractInitOptions` method (#6555) -### Fixed +#### web3 -#### web3-eth-accounts +- Added methods (privateKeyToAddress, parseAndValidatePrivateKey, and privateKeyToPublicKey) to web3.eth.accounts (#6620) -- Fixed `recover` function, `v` will be normalized to value 0,1 (#6344) +### Fixed #### web3-rpc-methods diff --git a/packages/web3-core/CHANGELOG.md b/packages/web3-core/CHANGELOG.md index cdc59a267a8..39d574bcd43 100644 --- a/packages/web3-core/CHANGELOG.md +++ b/packages/web3-core/CHANGELOG.md @@ -201,7 +201,7 @@ Documentation: - Added `isMetaMaskProvider` function to check if provider is metamask (#6534) -## [4.4.0] +## [4.3.2] ### Changed diff --git a/packages/web3-core/package.json b/packages/web3-core/package.json index cfbe27a23f9..044e871d28e 100644 --- a/packages/web3-core/package.json +++ b/packages/web3-core/package.json @@ -1,6 +1,6 @@ { "name": "web3-core", - "version": "4.4.0", + "version": "4.3.2", "description": "Web3 core tools for sub-packages. This is an internal package.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -43,7 +43,7 @@ }, "dependencies": { "web3-errors": "^1.1.4", - "web3-eth-accounts": "^4.1.0", + "web3-eth-accounts": "^4.1.1", "web3-eth-iban": "^4.0.8", "web3-providers-http": "^4.1.1", "web3-providers-ws": "^4.0.8", diff --git a/packages/web3-eth-accounts/CHANGELOG.md b/packages/web3-eth-accounts/CHANGELOG.md index 861b3c009c5..900a880431e 100644 --- a/packages/web3-eth-accounts/CHANGELOG.md +++ b/packages/web3-eth-accounts/CHANGELOG.md @@ -149,6 +149,8 @@ Documentation: - Fixed `recover` function, `v` will be normalized to value 0,1 (#6344) +## [4.1.1] + ### Changed - Dependencies updated diff --git a/packages/web3-eth-accounts/package.json b/packages/web3-eth-accounts/package.json index 99210b33bc0..3d8f88737d2 100644 --- a/packages/web3-eth-accounts/package.json +++ b/packages/web3-eth-accounts/package.json @@ -1,6 +1,6 @@ { "name": "web3-eth-accounts", - "version": "4.1.0", + "version": "4.1.1", "description": "Package for managing Ethereum accounts and signing", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", diff --git a/packages/web3-eth-contract/CHANGELOG.md b/packages/web3-eth-contract/CHANGELOG.md index ee7b7b92200..324fdc99879 100644 --- a/packages/web3-eth-contract/CHANGELOG.md +++ b/packages/web3-eth-contract/CHANGELOG.md @@ -347,7 +347,7 @@ Documentation: - Will populate `data` for transactions in contract for metamask provider instead of `input` (#6534) -## [4.2.0] +## [4.1.4] ### Changed diff --git a/packages/web3-eth-contract/package.json b/packages/web3-eth-contract/package.json index 356f08cfae5..bace6307b85 100644 --- a/packages/web3-eth-contract/package.json +++ b/packages/web3-eth-contract/package.json @@ -1,6 +1,6 @@ { "name": "web3-eth-contract", - "version": "4.2.0", + "version": "4.1.4", "description": "Web3 module to interact with Ethereum smart contracts.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -45,9 +45,9 @@ "test:e2e:firefox": "npx cypress run --headless --browser firefox --env grep='ignore',invert=true" }, "dependencies": { - "web3-core": "^4.4.0", + "web3-core": "^4.3.2", "web3-errors": "^1.1.4", - "web3-eth": "^4.4.0", + "web3-eth": "^4.3.2", "web3-eth-abi": "^4.1.5", "web3-types": "^1.3.1", "web3-utils": "^4.1.0", @@ -67,6 +67,6 @@ "prettier": "^2.7.1", "ts-jest": "^28.0.7", "typescript": "^4.7.4", - "web3-eth-accounts": "^4.1.0" + "web3-eth-accounts": "^4.1.1" } } diff --git a/packages/web3-eth-ens/package.json b/packages/web3-eth-ens/package.json index 0020a312dd7..295ab11c06b 100644 --- a/packages/web3-eth-ens/package.json +++ b/packages/web3-eth-ens/package.json @@ -59,10 +59,10 @@ }, "dependencies": { "@adraffy/ens-normalize": "^1.8.8", - "web3-core": "^4.4.0", + "web3-core": "^4.3.2", "web3-errors": "^1.1.4", - "web3-eth": "^4.4.0", - "web3-eth-contract": "^4.2.0", + "web3-eth": "^4.3.2", + "web3-eth-contract": "^4.1.4", "web3-net": "^4.0.8", "web3-types": "^1.3.1", "web3-utils": "^4.1.0", diff --git a/packages/web3-eth-personal/package.json b/packages/web3-eth-personal/package.json index 4d73b5f735c..4e0d4778316 100644 --- a/packages/web3-eth-personal/package.json +++ b/packages/web3-eth-personal/package.json @@ -42,8 +42,8 @@ "test:integration": "jest --config=./test/integration/jest.config.js" }, "dependencies": { - "web3-core": "^4.4.0", - "web3-eth": "^4.4.0", + "web3-core": "^4.3.2", + "web3-eth": "^4.3.2", "web3-rpc-methods": "^1.1.4", "web3-types": "^1.3.1", "web3-utils": "^4.1.0", diff --git a/packages/web3-eth/CHANGELOG.md b/packages/web3-eth/CHANGELOG.md index 104c43cbdc8..7fdd5b26850 100644 --- a/packages/web3-eth/CHANGELOG.md +++ b/packages/web3-eth/CHANGELOG.md @@ -213,7 +213,7 @@ Documentation: - Dependencies updated -## [4.4.0] +## [4.3.2] ### Changed diff --git a/packages/web3-eth/package.json b/packages/web3-eth/package.json index 3cd6978e1de..3ccd345388b 100644 --- a/packages/web3-eth/package.json +++ b/packages/web3-eth/package.json @@ -1,6 +1,6 @@ { "name": "web3-eth", - "version": "4.4.0", + "version": "4.3.2", "description": "Web3 module to interact with the Ethereum blockchain and smart contracts.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -63,10 +63,10 @@ }, "dependencies": { "setimmediate": "^1.0.5", - "web3-core": "^4.4.0", + "web3-core": "^4.3.2", "web3-errors": "^1.1.4", "web3-eth-abi": "^4.1.5", - "web3-eth-accounts": "^4.1.0", + "web3-eth-accounts": "^4.1.1", "web3-net": "^4.0.8", "web3-providers-ws": "^4.0.8", "web3-rpc-methods": "^1.1.4", diff --git a/packages/web3-net/package.json b/packages/web3-net/package.json index e50d0ee05f6..3efbb557c50 100644 --- a/packages/web3-net/package.json +++ b/packages/web3-net/package.json @@ -56,7 +56,7 @@ "typescript": "^4.7.4" }, "dependencies": { - "web3-core": "^4.4.0", + "web3-core": "^4.3.2", "web3-rpc-methods": "^1.1.4", "web3-types": "^1.3.1", "web3-utils": "^4.1.0" diff --git a/packages/web3-rpc-methods/package.json b/packages/web3-rpc-methods/package.json index b4a0a5bd135..53b4a9a61dd 100644 --- a/packages/web3-rpc-methods/package.json +++ b/packages/web3-rpc-methods/package.json @@ -56,7 +56,7 @@ "typescript": "^4.7.4" }, "dependencies": { - "web3-core": "^4.4.0", + "web3-core": "^4.3.2", "web3-types": "^1.3.1", "web3-validator": "^2.0.3" } diff --git a/packages/web3/package.json b/packages/web3/package.json index 30e07b6a15f..e0fa387693d 100644 --- a/packages/web3/package.json +++ b/packages/web3/package.json @@ -83,12 +83,12 @@ "web3-providers-ipc": "^4.0.8" }, "dependencies": { - "web3-core": "^4.4.0", + "web3-core": "^4.3.2", "web3-errors": "^1.1.4", - "web3-eth": "^4.4.0", + "web3-eth": "^4.3.2", "web3-eth-abi": "^4.1.5", - "web3-eth-accounts": "^4.1.0", - "web3-eth-contract": "^4.2.0", + "web3-eth-accounts": "^4.1.1", + "web3-eth-contract": "^4.1.4", "web3-eth-ens": "^4.0.9", "web3-eth-iban": "^4.0.8", "web3-eth-personal": "^4.0.9", diff --git a/tools/web3-plugin-example/package.json b/tools/web3-plugin-example/package.json index afd4082e652..3e98355597a 100644 --- a/tools/web3-plugin-example/package.json +++ b/tools/web3-plugin-example/package.json @@ -46,9 +46,9 @@ "ts-jest": "^28.0.7", "typescript": "^4.7.4", "web3": "^4.3.0", - "web3-core": "^4.4.0", + "web3-core": "^4.3.2", "web3-eth-abi": "^4.1.5", - "web3-eth-contract": "^4.2.0", + "web3-eth-contract": "^4.1.4", "web3-types": "^1.3.1", "web3-utils": "^4.1.0" }, From 4163ad146a9df955144d3924d223a7b9896ff42b Mon Sep 17 00:00:00 2001 From: luu-alex Date: Wed, 29 Nov 2023 16:38:42 -0500 Subject: [PATCH 05/11] revert some package bumps --- CHANGELOG.md | 47 +++-------------------- packages/web3-core/package.json | 9 ++--- packages/web3-eth-abi/package.json | 4 +- packages/web3-eth-accounts/CHANGELOG.md | 6 --- packages/web3-eth-accounts/package.json | 10 ++--- packages/web3-eth-contract/package.json | 6 +-- packages/web3-eth-ens/CHANGELOG.md | 6 --- packages/web3-eth-ens/package.json | 16 ++++---- packages/web3-eth-iban/CHANGELOG.md | 6 --- packages/web3-eth-iban/package.json | 8 ++-- packages/web3-eth-personal/CHANGELOG.md | 12 ------ packages/web3-eth-personal/package.json | 16 ++++---- packages/web3-eth/CHANGELOG.md | 6 --- packages/web3-eth/package.json | 22 +++++------ packages/web3-net/CHANGELOG.md | 6 --- packages/web3-net/package.json | 10 ++--- packages/web3-providers-http/CHANGELOG.md | 6 --- packages/web3-providers-http/package.json | 8 ++-- packages/web3-providers-ipc/CHANGELOG.md | 6 --- packages/web3-providers-ipc/package.json | 8 ++-- packages/web3-providers-ws/CHANGELOG.md | 6 --- packages/web3-providers-ws/package.json | 2 +- packages/web3-validator/package.json | 4 +- packages/web3/package.json | 20 +++++----- tools/web3-plugin-example/package.json | 2 +- 25 files changed, 78 insertions(+), 174 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5fe1aba85a1..7168def6a78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2238,6 +2238,12 @@ If there are any bugs, improvements, optimizations or any new feature proposal f - Interface `MetaMaskProvider` added and is part of `SupportedProviders` (#6534) - `gasPrice` was added to `Transaction1559UnsignedAPI` type. (#6539) +#### web3-eth-accounts + +- Added public function `privateKeyToPublicKey` +- Added exporting `BaseTransaction` from the package (#6493) +- Added exporting `txUtils` from the package (#6493) + ### Changed #### web3 @@ -2262,53 +2268,12 @@ If there are any bugs, improvements, optimizations or any new feature proposal f - Web3config `contractDataInputFill` has been defaulted to `data`, istead of `input`. (#6622) -#### web3-eth-abi - -- Dependencies updated - -#### web3-eth-accounts - -- Dependencies updated - #### web3-eth-contracts - By default, contracts will fill `data` instead of `input` within method calls (#6622) -#### web3-eth-ens - -- Dependencies updated - -#### web3-eth-iban - -- Dependencies updated - -#### web3-eth - -- Dependencies updated - -#### web3-net - -- Dependencies updated - -#### web3-providers-http - -- Dependencies updated - -#### web3-providers-ipc - -- Dependencies updated - -#### web3-providers-ws - -- Dependencies updated - ### Added -#### web3-eth-accounts - -- Added public function `privateKeyToPublicKey` -- Added exporting `BaseTransaction` from the package (#6493) -- Added exporting `txUtils` from the package (#6493) #### web3-utils diff --git a/packages/web3-core/package.json b/packages/web3-core/package.json index 044e871d28e..9cadd38dbbb 100644 --- a/packages/web3-core/package.json +++ b/packages/web3-core/package.json @@ -43,16 +43,15 @@ }, "dependencies": { "web3-errors": "^1.1.4", - "web3-eth-accounts": "^4.1.1", - "web3-eth-iban": "^4.0.8", - "web3-providers-http": "^4.1.1", - "web3-providers-ws": "^4.0.8", + "web3-eth-iban": "^4.0.7", + "web3-eth-accounts": "^4.1.0", + "web3-providers-http": "^4.1.0", "web3-types": "^1.3.1", "web3-utils": "^4.1.0", "web3-validator": "^2.0.3" }, "optionalDependencies": { - "web3-providers-ipc": "^4.0.8" + "web3-providers-ipc": "^4.0.7" }, "devDependencies": { "@types/jest": "^28.1.6", diff --git a/packages/web3-eth-abi/package.json b/packages/web3-eth-abi/package.json index f2321a0b03d..997e1431cc8 100644 --- a/packages/web3-eth-abi/package.json +++ b/packages/web3-eth-abi/package.json @@ -1,6 +1,6 @@ { "name": "web3-eth-abi", - "version": "4.1.5", + "version": "4.1.4", "description": "Web3 module encode and decode EVM in/output.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -43,7 +43,7 @@ }, "dependencies": { "abitype": "0.7.1", - "web3-errors": "^1.1.4", + "web3-errors": "^1.1.3", "web3-types": "^1.3.1", "web3-utils": "^4.1.0", "web3-validator": "^2.0.3" diff --git a/packages/web3-eth-accounts/CHANGELOG.md b/packages/web3-eth-accounts/CHANGELOG.md index 900a880431e..5e1e9bee8c1 100644 --- a/packages/web3-eth-accounts/CHANGELOG.md +++ b/packages/web3-eth-accounts/CHANGELOG.md @@ -149,10 +149,4 @@ Documentation: - Fixed `recover` function, `v` will be normalized to value 0,1 (#6344) -## [4.1.1] - -### Changed - -- Dependencies updated - ## [Unreleased] \ No newline at end of file diff --git a/packages/web3-eth-accounts/package.json b/packages/web3-eth-accounts/package.json index 3d8f88737d2..ae62345610d 100644 --- a/packages/web3-eth-accounts/package.json +++ b/packages/web3-eth-accounts/package.json @@ -1,6 +1,6 @@ { "name": "web3-eth-accounts", - "version": "4.1.1", + "version": "4.1.0", "description": "Package for managing Ethereum accounts and signing", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -55,15 +55,15 @@ "prettier": "^2.7.1", "ts-jest": "^28.0.7", "typescript": "^4.7.4", - "web3-providers-ipc": "^4.0.8" + "web3-providers-ipc": "^4.0.7" }, "dependencies": { "@ethereumjs/rlp": "^4.0.1", "crc-32": "^1.2.2", "ethereum-cryptography": "^2.0.0", - "web3-errors": "^1.1.4", - "web3-types": "^1.3.1", - "web3-utils": "^4.1.0", + "web3-errors": "^1.1.3", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7", "web3-validator": "^2.0.3" } } diff --git a/packages/web3-eth-contract/package.json b/packages/web3-eth-contract/package.json index bace6307b85..873bbc78ec8 100644 --- a/packages/web3-eth-contract/package.json +++ b/packages/web3-eth-contract/package.json @@ -47,8 +47,8 @@ "dependencies": { "web3-core": "^4.3.2", "web3-errors": "^1.1.4", - "web3-eth": "^4.3.2", - "web3-eth-abi": "^4.1.5", + "web3-eth": "^4.3.1", + "web3-eth-abi": "^4.1.4", "web3-types": "^1.3.1", "web3-utils": "^4.1.0", "web3-validator": "^2.0.3" @@ -67,6 +67,6 @@ "prettier": "^2.7.1", "ts-jest": "^28.0.7", "typescript": "^4.7.4", - "web3-eth-accounts": "^4.1.1" + "web3-eth-accounts": "^4.1.0" } } diff --git a/packages/web3-eth-ens/CHANGELOG.md b/packages/web3-eth-ens/CHANGELOG.md index 7758f6427e0..c1fb717c2a8 100644 --- a/packages/web3-eth-ens/CHANGELOG.md +++ b/packages/web3-eth-ens/CHANGELOG.md @@ -141,10 +141,4 @@ Documentation: - Dependencies updated -## [4.0.9] - -### Changed - -- Dependencies updated - ## [Unreleased] diff --git a/packages/web3-eth-ens/package.json b/packages/web3-eth-ens/package.json index 295ab11c06b..6d38e795878 100644 --- a/packages/web3-eth-ens/package.json +++ b/packages/web3-eth-ens/package.json @@ -1,6 +1,6 @@ { "name": "web3-eth-ens", - "version": "4.0.9", + "version": "4.0.8", "description": "This package has ENS functions for interacting with Ethereum Name Service.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -59,13 +59,13 @@ }, "dependencies": { "@adraffy/ens-normalize": "^1.8.8", - "web3-core": "^4.3.2", - "web3-errors": "^1.1.4", - "web3-eth": "^4.3.2", - "web3-eth-contract": "^4.1.4", - "web3-net": "^4.0.8", - "web3-types": "^1.3.1", - "web3-utils": "^4.1.0", + "web3-core": "^4.3.0", + "web3-errors": "^1.1.3", + "web3-eth": "^4.3.1", + "web3-eth-contract": "^4.1.2", + "web3-net": "^4.0.7", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7", "web3-validator": "^2.0.3" } } diff --git a/packages/web3-eth-iban/CHANGELOG.md b/packages/web3-eth-iban/CHANGELOG.md index 36c6a5b62d3..797f4ffe29f 100644 --- a/packages/web3-eth-iban/CHANGELOG.md +++ b/packages/web3-eth-iban/CHANGELOG.md @@ -125,10 +125,4 @@ Documentation: - Dependencies updated -## [4.0.8] - -### Changed - -- Dependencies updated - ## [Unreleased] \ No newline at end of file diff --git a/packages/web3-eth-iban/package.json b/packages/web3-eth-iban/package.json index 58bfa94e329..c04c1b0476c 100644 --- a/packages/web3-eth-iban/package.json +++ b/packages/web3-eth-iban/package.json @@ -1,6 +1,6 @@ { "name": "web3-eth-iban", - "version": "4.0.8", + "version": "4.0.7", "description": "This package converts Ethereum addresses to IBAN addresses and vice versa.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -56,9 +56,9 @@ "typescript": "^4.7.4" }, "dependencies": { - "web3-errors": "^1.1.4", - "web3-types": "^1.3.1", - "web3-utils": "^4.1.0", + "web3-errors": "^1.1.3", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7", "web3-validator": "^2.0.3" } } diff --git a/packages/web3-eth-personal/CHANGELOG.md b/packages/web3-eth-personal/CHANGELOG.md index 0875355f0ae..11d09bb8549 100644 --- a/packages/web3-eth-personal/CHANGELOG.md +++ b/packages/web3-eth-personal/CHANGELOG.md @@ -141,16 +141,4 @@ Documentation: - Dependencies updated -## [4.0.8] - -### Changed - -- Dependencies updated - -## [4.0.9] - -### Changed - -- Dependencies updated - ## [Unreleased] \ No newline at end of file diff --git a/packages/web3-eth-personal/package.json b/packages/web3-eth-personal/package.json index 4e0d4778316..8c3cb967689 100644 --- a/packages/web3-eth-personal/package.json +++ b/packages/web3-eth-personal/package.json @@ -1,6 +1,6 @@ { "name": "web3-eth-personal", - "version": "4.0.9", + "version": "4.0.8", "description": "Web3 module to interact with the Ethereum blockchain accounts stored in the node.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -18,7 +18,7 @@ "node": ">=14", "npm": ">=6.12.0" }, - "files": [ +"files": [ "lib/**/*", "src/**/*" ], @@ -42,11 +42,11 @@ "test:integration": "jest --config=./test/integration/jest.config.js" }, "dependencies": { - "web3-core": "^4.3.2", - "web3-eth": "^4.3.2", - "web3-rpc-methods": "^1.1.4", - "web3-types": "^1.3.1", - "web3-utils": "^4.1.0", + "web3-core": "^4.3.0", + "web3-eth": "^4.3.1", + "web3-rpc-methods": "^1.1.3", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7", "web3-validator": "^2.0.3" }, "devDependencies": { @@ -62,6 +62,6 @@ "prettier": "^2.7.1", "ts-jest": "^28.0.7", "typescript": "^4.7.4", - "web3-providers-ws": "^4.0.8" + "web3-providers-ws": "^4.0.7" } } diff --git a/packages/web3-eth/CHANGELOG.md b/packages/web3-eth/CHANGELOG.md index 7fdd5b26850..aac5c9d1097 100644 --- a/packages/web3-eth/CHANGELOG.md +++ b/packages/web3-eth/CHANGELOG.md @@ -213,10 +213,4 @@ Documentation: - Dependencies updated -## [4.3.2] - -### Changed - -- Dependencies updated - ## [Unreleased] \ No newline at end of file diff --git a/packages/web3-eth/package.json b/packages/web3-eth/package.json index 3ccd345388b..4cfb96130fb 100644 --- a/packages/web3-eth/package.json +++ b/packages/web3-eth/package.json @@ -1,6 +1,6 @@ { "name": "web3-eth", - "version": "4.3.2", + "version": "4.3.1", "description": "Web3 module to interact with the Ethereum blockchain and smart contracts.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -59,19 +59,19 @@ "prettier": "^2.7.1", "ts-jest": "^28.0.7", "typescript": "^4.7.4", - "web3-providers-http": "^4.1.1" + "web3-providers-http": "^4.1.0" }, "dependencies": { "setimmediate": "^1.0.5", - "web3-core": "^4.3.2", - "web3-errors": "^1.1.4", - "web3-eth-abi": "^4.1.5", - "web3-eth-accounts": "^4.1.1", - "web3-net": "^4.0.8", - "web3-providers-ws": "^4.0.8", - "web3-rpc-methods": "^1.1.4", - "web3-types": "^1.3.1", - "web3-utils": "^4.1.0", + "web3-core": "^4.3.0", + "web3-errors": "^1.1.3", + "web3-eth-abi": "^4.1.4", + "web3-eth-accounts": "^4.1.0", + "web3-net": "^4.0.7", + "web3-providers-ws": "^4.0.7", + "web3-rpc-methods": "^1.1.3", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7", "web3-validator": "^2.0.3" } } diff --git a/packages/web3-net/CHANGELOG.md b/packages/web3-net/CHANGELOG.md index c9f87021f34..dd6227ecdd8 100644 --- a/packages/web3-net/CHANGELOG.md +++ b/packages/web3-net/CHANGELOG.md @@ -141,10 +141,4 @@ Documentation: - Dependencies updated -## [4.0.8] - -### Changed - -- Dependencies updated - ## [Unreleased] \ No newline at end of file diff --git a/packages/web3-net/package.json b/packages/web3-net/package.json index 3efbb557c50..f6ddefca6ee 100644 --- a/packages/web3-net/package.json +++ b/packages/web3-net/package.json @@ -1,6 +1,6 @@ { "name": "web3-net", - "version": "4.0.8", + "version": "4.0.7", "description": "Web3 module to interact with the Ethereum nodes networking properties.", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -56,9 +56,9 @@ "typescript": "^4.7.4" }, "dependencies": { - "web3-core": "^4.3.2", - "web3-rpc-methods": "^1.1.4", - "web3-types": "^1.3.1", - "web3-utils": "^4.1.0" + "web3-core": "^4.3.0", + "web3-rpc-methods": "^1.1.3", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7" } } diff --git a/packages/web3-providers-http/CHANGELOG.md b/packages/web3-providers-http/CHANGELOG.md index 9cd58bb3432..6d57af6dcf7 100644 --- a/packages/web3-providers-http/CHANGELOG.md +++ b/packages/web3-providers-http/CHANGELOG.md @@ -129,10 +129,4 @@ Documentation: - Fix issue lquixada/cross-fetch#78, enabling to run web3.js in service worker (#6463) -## [4.1.1] - -### Changed - -- Dependencies updated - ## [Unreleased] \ No newline at end of file diff --git a/packages/web3-providers-http/package.json b/packages/web3-providers-http/package.json index b5f3a4ed02f..6a01d2e835d 100644 --- a/packages/web3-providers-http/package.json +++ b/packages/web3-providers-http/package.json @@ -1,6 +1,6 @@ { "name": "web3-providers-http", - "version": "4.1.1", + "version": "4.1.0", "description": "HTTP provider for Web3 4.x.x", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -61,8 +61,8 @@ }, "dependencies": { "cross-fetch": "^4.0.0", - "web3-errors": "^1.1.4", - "web3-types": "^1.3.1", - "web3-utils": "^4.1.0" + "web3-errors": "^1.1.3", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7" } } diff --git a/packages/web3-providers-ipc/CHANGELOG.md b/packages/web3-providers-ipc/CHANGELOG.md index bf1a782bb2b..6f75b93995e 100644 --- a/packages/web3-providers-ipc/CHANGELOG.md +++ b/packages/web3-providers-ipc/CHANGELOG.md @@ -135,10 +135,4 @@ Documentation: - Fixed bug in chunks processing logic (#6496) -## [4.0.8] - -### Changed - -- Dependencies updated - ## [Unreleased] \ No newline at end of file diff --git a/packages/web3-providers-ipc/package.json b/packages/web3-providers-ipc/package.json index 02669258c24..e0052448ae3 100644 --- a/packages/web3-providers-ipc/package.json +++ b/packages/web3-providers-ipc/package.json @@ -1,6 +1,6 @@ { "name": "web3-providers-ipc", - "version": "4.0.8", + "version": "4.0.7", "description": "IPC provider for Web3 4.x.x", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", @@ -56,8 +56,8 @@ "typescript": "^4.7.4" }, "dependencies": { - "web3-errors": "^1.1.4", - "web3-types": "^1.3.1", - "web3-utils": "^4.1.0" + "web3-errors": "^1.1.3", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7" } } diff --git a/packages/web3-providers-ws/CHANGELOG.md b/packages/web3-providers-ws/CHANGELOG.md index ec1eb3b1a00..8648c09c9d3 100644 --- a/packages/web3-providers-ws/CHANGELOG.md +++ b/packages/web3-providers-ws/CHANGELOG.md @@ -129,10 +129,4 @@ Documentation: - Fixed bug in chunks processing logic (#6496) -## [4.0.8] - -### Changed - -- Dependencies updated - ## [Unreleased] \ No newline at end of file diff --git a/packages/web3-providers-ws/package.json b/packages/web3-providers-ws/package.json index aaa54ae5529..a809326f0ec 100644 --- a/packages/web3-providers-ws/package.json +++ b/packages/web3-providers-ws/package.json @@ -1,6 +1,6 @@ { "name": "web3-providers-ws", - "version": "4.0.8", + "version": "4.0.7", "description": "Websocket provider for Web3 4.x.x", "main": "./lib/commonjs/index.js", "module": "./lib/esm/index.js", diff --git a/packages/web3-validator/package.json b/packages/web3-validator/package.json index 5aecd5b8f22..483ac6237aa 100644 --- a/packages/web3-validator/package.json +++ b/packages/web3-validator/package.json @@ -47,8 +47,8 @@ "dependencies": { "ethereum-cryptography": "^2.0.0", "util": "^0.12.5", - "web3-errors": "^1.1.4", - "web3-types": "^1.3.1", + "web3-errors": "^1.1.3", + "web3-types": "^1.3.0", "zod": "^3.21.4" }, "devDependencies": { diff --git a/packages/web3/package.json b/packages/web3/package.json index e0fa387693d..e09c3dd5ecd 100644 --- a/packages/web3/package.json +++ b/packages/web3/package.json @@ -80,21 +80,21 @@ "prettier": "^2.7.1", "ts-jest": "^28.0.7", "typescript": "^4.7.4", - "web3-providers-ipc": "^4.0.8" + "web3-providers-ipc": "^4.0.7" }, "dependencies": { "web3-core": "^4.3.2", "web3-errors": "^1.1.4", - "web3-eth": "^4.3.2", - "web3-eth-abi": "^4.1.5", - "web3-eth-accounts": "^4.1.1", + "web3-eth": "^4.3.1", + "web3-eth-abi": "^4.1.4", + "web3-eth-accounts": "^4.1.0", "web3-eth-contract": "^4.1.4", - "web3-eth-ens": "^4.0.9", - "web3-eth-iban": "^4.0.8", - "web3-eth-personal": "^4.0.9", - "web3-net": "^4.0.8", - "web3-providers-http": "^4.1.1", - "web3-providers-ws": "^4.0.8", + "web3-eth-ens": "^4.0.8", + "web3-eth-iban": "^4.0.7", + "web3-eth-personal": "^4.0.8", + "web3-net": "^4.0.7", + "web3-providers-http": "^4.1.0", + "web3-providers-ws": "^4.0.7", "web3-rpc-methods": "^1.1.4", "web3-types": "^1.3.1", "web3-utils": "^4.1.0", diff --git a/tools/web3-plugin-example/package.json b/tools/web3-plugin-example/package.json index 3e98355597a..97389677d65 100644 --- a/tools/web3-plugin-example/package.json +++ b/tools/web3-plugin-example/package.json @@ -47,7 +47,7 @@ "typescript": "^4.7.4", "web3": "^4.3.0", "web3-core": "^4.3.2", - "web3-eth-abi": "^4.1.5", + "web3-eth-abi": "^4.1.4", "web3-eth-contract": "^4.1.4", "web3-types": "^1.3.1", "web3-utils": "^4.1.0" From 8e87ef9ae482c42cfe18fad8e76fca968a8ad44b Mon Sep 17 00:00:00 2001 From: luu-alex Date: Wed, 29 Nov 2023 16:46:55 -0500 Subject: [PATCH 06/11] update packages --- packages/web3-eth-abi/CHANGELOG.md | 6 ------ packages/web3-eth-abi/package.json | 4 ++-- packages/web3-eth-personal/package.json | 2 +- packages/web3-providers-ws/package.json | 6 +++--- 4 files changed, 6 insertions(+), 12 deletions(-) diff --git a/packages/web3-eth-abi/CHANGELOG.md b/packages/web3-eth-abi/CHANGELOG.md index 2a301cc2dd9..69c387b19c7 100644 --- a/packages/web3-eth-abi/CHANGELOG.md +++ b/packages/web3-eth-abi/CHANGELOG.md @@ -154,10 +154,4 @@ Documentation: - Bug fix of `ERR_UNSUPPORTED_DIR_IMPORT` in ABI (#6535) -## [4.1.5] - -### Changed - -- Dependencies updated - ## [Unreleased] \ No newline at end of file diff --git a/packages/web3-eth-abi/package.json b/packages/web3-eth-abi/package.json index 997e1431cc8..c685639c1ac 100644 --- a/packages/web3-eth-abi/package.json +++ b/packages/web3-eth-abi/package.json @@ -44,8 +44,8 @@ "dependencies": { "abitype": "0.7.1", "web3-errors": "^1.1.3", - "web3-types": "^1.3.1", - "web3-utils": "^4.1.0", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7", "web3-validator": "^2.0.3" }, "devDependencies": { diff --git a/packages/web3-eth-personal/package.json b/packages/web3-eth-personal/package.json index 8c3cb967689..ad0c3088cb1 100644 --- a/packages/web3-eth-personal/package.json +++ b/packages/web3-eth-personal/package.json @@ -18,7 +18,7 @@ "node": ">=14", "npm": ">=6.12.0" }, -"files": [ + "files": [ "lib/**/*", "src/**/*" ], diff --git a/packages/web3-providers-ws/package.json b/packages/web3-providers-ws/package.json index a809326f0ec..6aa3bde1ee1 100644 --- a/packages/web3-providers-ws/package.json +++ b/packages/web3-providers-ws/package.json @@ -63,9 +63,9 @@ "dependencies": { "@types/ws": "8.5.3", "isomorphic-ws": "^5.0.0", - "web3-errors": "^1.1.4", - "web3-types": "^1.3.1", - "web3-utils": "^4.1.0", + "web3-errors": "^1.1.3", + "web3-types": "^1.3.0", + "web3-utils": "^4.0.7", "ws": "^8.8.1" } } From 8c75060c3f8f9a64fefc2b366051ca8787d7ca5f Mon Sep 17 00:00:00 2001 From: luu-alex Date: Wed, 29 Nov 2023 16:48:01 -0500 Subject: [PATCH 07/11] update changelog --- packages/web3-eth-personal/CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/packages/web3-eth-personal/CHANGELOG.md b/packages/web3-eth-personal/CHANGELOG.md index 11d09bb8549..aba75cae036 100644 --- a/packages/web3-eth-personal/CHANGELOG.md +++ b/packages/web3-eth-personal/CHANGELOG.md @@ -141,4 +141,10 @@ Documentation: - Dependencies updated +## [4.0.8] + +### Changed + +- Dependencies updated + ## [Unreleased] \ No newline at end of file From 84242dadd17946b32be27ccfaaac80f7e69ef44a Mon Sep 17 00:00:00 2001 From: luu-alex Date: Thu, 30 Nov 2023 10:26:28 -0500 Subject: [PATCH 08/11] update changelog --- CHANGELOG.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7168def6a78..c6d65b40333 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2238,12 +2238,6 @@ If there are any bugs, improvements, optimizations or any new feature proposal f - Interface `MetaMaskProvider` added and is part of `SupportedProviders` (#6534) - `gasPrice` was added to `Transaction1559UnsignedAPI` type. (#6539) -#### web3-eth-accounts - -- Added public function `privateKeyToPublicKey` -- Added exporting `BaseTransaction` from the package (#6493) -- Added exporting `txUtils` from the package (#6493) - ### Changed #### web3 From 7e2b4e7e5e784257e644b59edc6d75174f67c8f9 Mon Sep 17 00:00:00 2001 From: luu-alex Date: Mon, 4 Dec 2023 12:30:36 -0500 Subject: [PATCH 09/11] add missing package --- packages/web3-core/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/web3-core/package.json b/packages/web3-core/package.json index 9cadd38dbbb..1865d56d8e6 100644 --- a/packages/web3-core/package.json +++ b/packages/web3-core/package.json @@ -46,6 +46,7 @@ "web3-eth-iban": "^4.0.7", "web3-eth-accounts": "^4.1.0", "web3-providers-http": "^4.1.0", + "web3-providers-ws": "^4.0.7", "web3-types": "^1.3.1", "web3-utils": "^4.1.0", "web3-validator": "^2.0.3" From 33c068db9372c016a27131435444ddf5fa711893 Mon Sep 17 00:00:00 2001 From: luu-alex Date: Mon, 4 Dec 2023 14:53:07 -0500 Subject: [PATCH 10/11] fix getproof error --- packages/web3/test/e2e/get_proof.test.ts | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/packages/web3/test/e2e/get_proof.test.ts b/packages/web3/test/e2e/get_proof.test.ts index 73e1e1ba7f2..c25fd0f1080 100644 --- a/packages/web3/test/e2e/get_proof.test.ts +++ b/packages/web3/test/e2e/get_proof.test.ts @@ -68,7 +68,17 @@ describe(`${getSystemTestBackend()} tests - getProof`, () => { if (block === 'blockHash' || block === 'blockNumber') { expect(result).toEqual(expectedProof); - } else { + } + else if(block === 'pending') { + expect(result).toMatchObject({ + balance: expect.any(BigInt), + codeHash: expect.any(String), + nonce: expect.any(BigInt), + storageHash: expect.any(String), + storageProof: expect.any(Array), + }); + } + else { expect(result).toMatchObject({ accountProof: expect.any(Array), balance: expect.any(BigInt), From b9b5fe0210da1a4ebf62e2b54f37a9c747bfa136 Mon Sep 17 00:00:00 2001 From: luu-alex Date: Mon, 4 Dec 2023 15:09:59 -0500 Subject: [PATCH 11/11] update test --- packages/web3/test/e2e/get_proof.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web3/test/e2e/get_proof.test.ts b/packages/web3/test/e2e/get_proof.test.ts index c25fd0f1080..a80f6d6f1f4 100644 --- a/packages/web3/test/e2e/get_proof.test.ts +++ b/packages/web3/test/e2e/get_proof.test.ts @@ -70,7 +70,7 @@ describe(`${getSystemTestBackend()} tests - getProof`, () => { expect(result).toEqual(expectedProof); } else if(block === 'pending') { - expect(result).toMatchObject({ + expect(result).toMatchObject({ balance: expect.any(BigInt), codeHash: expect.any(String), nonce: expect.any(BigInt),