Skip to content
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

Merged
merged 1 commit into from
Dec 18, 2019

Conversation

michaelsbradleyjr
Copy link
Contributor

@michaelsbradleyjr michaelsbradleyjr commented Dec 17, 2019

NOTE: this PR is against the 4.1.x 4.2.x branch, which was created from the v4.1.1 tag. If/when this PR is merged, and assuming no additional changes are necessary, the intention is to release v4.1.2 4.2.0 from the 4.1.x 4.2.x branch.


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.1.x's 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.

I've tested these changes by making a local release of v4.1.2 v4.2.0 with verdaccio and embark testing and embark runing 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.

@michaelsbradleyjr michaelsbradleyjr requested a review from a team December 17, 2019 01:36
@ghost
Copy link

ghost commented Dec 17, 2019

DeepCode's analysis on #8acae6 found:

  • 0 critical issues. ⚠️ 0 warnings and 0 minor issues. ✔️ 0 issues were fixed.

💬 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.


☺️ If you want to provide feedback on our bot, here is how to contact us.

Copy link
Collaborator

@jrainville jrainville left a 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",
Copy link
Collaborator

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?

Copy link
Contributor Author

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.

@jakubgs
Copy link
Collaborator

jakubgs commented Dec 17, 2019

I have deployed this at: https://raw.dev.dap.ps/
It seems to work in Safari. Amazing work dude!

@michaelsbradleyjr
Copy link
Contributor Author

michaelsbradleyjr commented Dec 18, 2019

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 eth_chainId RPC method, it still makes sense to ship an embark version (e.g. pending 4.1.2 4.2.0) that includes a simulator that fully supports the web3 version that's included with embark.

@michaelsbradleyjr michaelsbradleyjr changed the base branch from 4.1.x to 4.2.x December 18, 2019 19:36
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.
@michaelsbradleyjr
Copy link
Contributor Author

PR description updated with respect to the intention to publish as embark v4.2.0.

Also indicated the BREAKING CHANGE: re: minimum supported versions of geth and parity (in PR description and commit message).

Also added a note (in PR description and commit message) re: the version bump of ganache-cli.

@michaelsbradleyjr michaelsbradleyjr merged commit e7ed552 into 4.2.x Dec 18, 2019
@delete-merged-branch delete-merged-branch bot deleted the refactor-4.1.x/bump-web3 branch December 18, 2019 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants