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

breaking change in last web3js release. fix dep. #180

Merged
merged 1 commit into from
Jan 31, 2019

Conversation

branciard
Copy link

Last webjs introduce breaking change on existing code.

For instance, v1.0.0-beta.38 remove utils here :
web3/web3.js@cfd9130

and it breaks the following code :
https://github.com/poanetwork/bridge-ui/blob/develop/src/stores/utils/gas.js#L1

It seems, I have also have an issue with .call format change here from a string to an object and break the switch condition here :
https://github.com/poanetwork/bridge-ui/blob/develop/src/stores/utils/bridgeMode.js#L33
as value bridgeModeHash show in the picture :

formatchange

I fix by targeting strict version : "web3": "1.0.0-beta.30" instead of : "web3": "^1.0.0-beta.30".

Maybe a specific future web3js update to treat.

@netlify
Copy link

netlify bot commented Jan 28, 2019

Deploy preview for kind-kilby-95344f processing.

Building with commit a49de49

https://app.netlify.com/sites/kind-kilby-95344f/deploys/5c4f19a4979f000008a5d1ab

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.

2 participants