Skip to content
This repository has been archived by the owner on Mar 15, 2024. It is now read-only.

update web3 & handleRevert #85

Merged
merged 1 commit into from
Jan 31, 2020
Merged

update web3 & handleRevert #85

merged 1 commit into from
Jan 31, 2020

Conversation

invocamanman
Copy link
Contributor

In view/pure-type functions require does not work
Related issues:
ethers-io/ethers.js#262
web3/web3.js#1903

Already fixes by web3@1.25 with the flag

web3.eth.handleRevert = true; `

Pull request web3: web3/web3.js#3248
Release Notes web3@1.2.5: https://github.com/ethereum/web3.js/releases

We update to web3@1.25 and add:

new this.web3.eth.Contract(rollupPoSABI, this.rollupPoSAddress, {handleRevert: true});

Copy link
Member

@krlosMata krlosMata left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😸
good !!

@krlosMata krlosMata merged commit 9f142f5 into master Jan 31, 2020
@krlosMata krlosMata deleted the feature/update-web3 branch March 16, 2020 07:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants