-
Notifications
You must be signed in to change notification settings - Fork 495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(deps): bump web3[-*] from 1.2.1 to 1.2.4 #2142
Conversation
DeepCode's analysis on #8acae6 found:
💬 This comment has been generated by the DeepCode bot, installed by the owner of the repository. The DeepCode bot protects your repository by detecting and commenting on security vulnerabilities or other critical issues. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Great work
I think we might want to release as 4.2 instead of 4.1.2 since it requires users to bump Geth's version?
@@ -9,7 +9,7 @@ const constants = require('embark-core/constants'); | |||
|
|||
const DEFAULTS = { | |||
"BIN": "geth", | |||
"VERSIONS_SUPPORTED": ">=1.8.14", | |||
"VERSIONS_SUPPORTED": ">=1.9.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we semi-break the version, maybe the new version should be 4.2?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the intention is now to publish as 4.2.0, and I've updated to the PR description to that effect.
I have deployed this at: https://raw.dev.dap.ps/ |
Added don't merge yet label: I'm attempting an upgrade of ganache-cli to 6.7.0 on this branch. While embark's test runner in 4.1.x doesn't seem to make any usage of web3 v1.2.4 that involves the |
Refactor typings as necessary. In order for `bignumber.js` in the root `node_modules` to not conflict with `@types/bignumber.js`, specify `"bignumber.js": "5.0.0"` in `devDependencies` and `"embark-ui/bignumber.js"` in `nohoist` of the root `package.json`. Bump simples from 0.8.8 to 0.9.0-alpha-10 in `packages/embark-blockchain-process/package.json` and refactor `packages/embark-blockchain-process/src/proxy.js`. Drop simples as a dependency in `packages/embark/package.json` since it's not needed there. The upgrade of simples allows embark 4.2.x's proxy to work correctly with geth `>=1.9.1`. Bump ganache-cli from 6.4.3 to 6.7.0 (latest) because 6.4.3 doesn't support `eth_chainId` and since web3 1.2.4 makes use of the `eth_chainId` RPC method (EIP 695). BREAKING CHANGE: bump embark's minimum supported version of geth from `>=1.8.14` to `>=1.9.0` and its minimum supported version of parity from `>=2.0.0` to `>=2.2.1`. This is necessary since web3 1.2.4 makes use of the `eth_chainId` RPC method (EIP 695) and those client versions are the earliest ones to implement it.
04611ba
to
8acae66
Compare
PR description updated with respect to the intention to publish as embark v4.2.0. Also indicated the Also added a note (in PR description and commit message) re: the version bump of ganache-cli. |
NOTE: this PR is against the
4.1.x
4.2.x
branch, which was created from thev4.1.1
tag. If/when this PR is merged, and assuming no additional changes are necessary, the intention is to releasev4.1.2
4.2.0
from the4.1.x
4.2.x
branch.Refactor typings as necessary. In order for
bignumber.js
in the rootnode_modules
to not conflict with@types/bignumber.js
, specify"bignumber.js": "5.0.0"
indevDependencies
and"embark-ui/bignumber.js"
innohoist
of the rootpackage.json
.Bump simples from 0.8.8 to 0.9.0-alpha-10 in
packages/embark-blockchain-process/package.json
and refactorpackages/embark-blockchain-process/src/proxy.js
. Drop simples as a dependency inpackages/embark/package.json
since it's not needed there. The upgrade of simples allows embark4.1.x's4.2.x's proxy to work correctly with geth>=1.9.1
.Bump ganache-cli from 6.4.3 to 6.7.0 (latest) because 6.4.3 doesn't support
eth_chainId
and since web3 1.2.4 makes use of theeth_chainId
RPC method (EIP 695).BREAKING CHANGE: bump embark's minimum supported version of geth from
>=1.8.14
to>=1.9.0
and its minimum supported version of parity from>=2.0.0
to>=2.2.1
. This is necessary since web3 1.2.4 makes use of theeth_chainId
RPC method (EIP 695) and those client versions are the earliest ones to implement it.I've tested these changes by making a local release of
v4.1.2v4.2.0 with verdaccio andembark test
ing andembark run
ing status-teller-network and embark_demo with the local release. In the case of embark_demo the embark installation was global and in the case of teller it was local. Everything seemed to work as expected.