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

An in-range update of web3 is breaking the build 🚨 #1281

Open
greenkeeper bot opened this issue Nov 14, 2019 · 6 comments
Open

An in-range update of web3 is breaking the build 🚨 #1281

greenkeeper bot opened this issue Nov 14, 2019 · 6 comments

Comments

@greenkeeper
Copy link
Contributor

greenkeeper bot commented Nov 14, 2019

The dependency web3 was updated from 1.2.2 to 1.2.3.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

web3 is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ci/circleci: unit_test: CircleCI is running your tests (Details).
  • ci/circleci: test: Your tests failed on CircleCI (Details).

Release Notes for web3.js 1.2.3

We have improved with this release the TypeScript type definitions, we applied a fix for the OOG (out-of-gas) error issue, and we added a missing polyfill to the web3.min.js file.

Fixed

  • Fix perfect gas usage causes tx to error (#3175)
  • Fix regenerator runtime error in web3.min.js (#3155)
  • Fix TS types for eth.subscribe syncing, newBlockHeaders, pendingTransactions (#3159)
  • Improve web3-eth-abi decodeParameters error message (#3134)
FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 14, 2019

After pinning to 1.2.2 your tests are passing again. Downgrade this dependency 📌.

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Nov 15, 2019

  • The dependency web3 was updated from 1.2.3 to 1.2.4.

Your tests are passing again with this update. Explicitly upgrade to this version 🚀

Release Notes for web3.js 1.2.4

This release is a hotfix for the scrypt-shim and websocket dependency.

Fixed

  • Fix npm installation error for scrypt-shim and websocket (#3210)
Commits

The new version differs by 7 commits.

  • 341015a v1.2.4
  • 5b24175 changelog updated, min file updated, and versions bumped manually if required
  • e252b8c Merge pull request #3211 from ethereum/issue/3210
  • c516845 Update changelog
  • daca785 Fix import package names in web3-ws / web3-accounts
  • 5dda383 Add dependency-check to CI
  • 79d0aff Merge pull request #3206 from ethereum/release/1.2.3

See the full diff

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Jan 27, 2020

  • The dependency web3 was updated from 1.2.4 to 1.2.5.

Your tests are still failing with this version. Compare changes

Release Notes for web3.js 1.2.5

This release does add the requestAccounts, getPendingTransactions, and getProof JSON-RPC method. By side of it does it improve the returned Error object on the failure of a transaction and provides the possibility to activate the revert instruction handling with the newly added handleRevert module option.

Added

  • eth_requestAccounts as requestAccounts added to web3-eth package (#3219)
  • sha3Raw and soliditySha3Raw added to web3-utils package (#3226)
  • eth_getProof as getProof added to web3-eth package (#3220)
  • BN and BigNumber objects are now supported by the abi.encodeParameter(s) method (#3238)
  • getPendingTransactions added to web3-eth package (#3239)
  • Revert instruction handling added which can get activated with the handleRevert module property (#3248)
  • The receipt does now exist as property on the error object for transaction related errors (#3259)
  • internalType added to AbiInput TS interface in web3-utils (#3279)
  • Agent option added to the HttpProvider options (#2980)

Changed

  • eth-lib dependency updated (0.2.7 => ^0.2.8) (#3242)

Fixed

  • Fix crash when decoding events with identical signatures, differently indexed args (#3272)
  • Fix user supplied callback not fired in eth.accounts.signTransaction (#3283)
  • Fix minified bundle (#3256)
  • defaultBlock property handling fixed (#3247)
  • clearSubscriptions does no longer throw an error if no running subscriptions do exist (#3246)
  • callback type definition for Accounts.signTransaction fixed (#3280)
  • Fix export bloom functions on the index.js
  • Prefer receipt status to code availability on contract deployment (#3298)
Commits

The new version differs by 208 commits.

  • e68246e v1.2.5
  • 37e978e versions bumped
  • cd1790d minified file, CHANGELOG.md, and versions manually updated if required
  • e919f81 v1.2.5-rc.0
  • f0bc893 version in package.json changed back to 1.2.4
  • b8328bb web3.min.js updated
  • a9aaed1 package.json and related package-lock updated
  • 84543a0 Merge pull request #3273 from BesrourMS/patch-1
  • 7f92ba5 version in web3 package manually bumped to 1.2.5-rc to be sure the new version will be set for the version property in the minified file
  • 513116f Merge pull request #3311 from ethereum/test/conf-http
  • 0bf0bc9 Merge branch '1.x' into test/conf-http
  • 3f839c9 Merge pull request #3304 from ethereum/test/e2e-ganache-core
  • 541e71a Fix verdaccio by upgrading to 4.4.2
  • 2058e41 Add tests for wallet method calls with chain/hardfork opts
  • e892151 Add http confirmations test

There are 208 commits in total.

See the full diff

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Feb 2, 2020

  • The dependency web3 was updated from 1.2.5 to 1.2.6.

Your tests are still failing with this version. Compare changes

Release Notes for web3.js 1.2.6

This release does update the ENS registry address in the web3.js library.

Added

  • Görli testnet ENS registry added to the known registries (#3338)

Changed

Commits

The new version differs by 57 commits.

  • c20bcf0 v1.2.6
  • f2e1192 Revert "Merge branch '1.x' into release/1.2.6"
  • 9cdb435 Merge branch '1.x' into release/1.2.6
  • c7b8b7b CHANGELOG.md improved
  • fdadeaa CHANGELOG.md updated
  • 73a42ba version in root package.json updated, min file updated, görli added to ens config, new regsitry address defined in ens config, and related ens tests updated
  • a121b6f Merge pull request #3349 from ltfschoen/release/1.2.5
  • fa031fd Merge branch '1.x' into release/1.2.5
  • 8bb46d5 Merge pull request #1 from ltfschoen/ltfschoen-patch-1
  • 12f29d2 fix: Fixes #3348. Add missing .net to documentation examples
  • ee78ff7 Merge pull request #3338 from ethereum/issue/3252
  • b604f5d Merge branch '1.x' into issue/3252
  • c948aad missing file header added, source url of those addresses added, and @type notation added to the variable documentation
  • 4c1aa63 Merge pull request #3342 from ethereum/dependencies/regenerator-runtime
  • 46fe5ae regenerator-runtime readded to package.json

There are 57 commits in total.

See the full diff

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented Apr 24, 2020

  • The dependency web3 was updated from 1.2.6 to 1.2.7.

Your tests are still failing with this version. Compare changes

Release Notes for web3.js 1.2.7

Hi!

Features

Alongside some small bug fixes, this release contains two large improvements, authored by @nivida.

  • The Websocket Provider module has been rewritten and now supports an auto-reconnect option which should dramatically improve the stability of connections to remote clients like Infura. You can enable auto-reconnect by configuring the provider as below.

    const Web3 = require('web3');
    

    const options = {
    // Enable auto reconnection
    reconnect: {
    auto: true,
    delay: 5000, // ms
    maxAttempts: 5,
    onTimeout: false
    }
    };

    const ws = new Web3.providers.WebsocketProvider('ws://localhost:8546', options)

    More info about configuration can be found in the docs here. (PR #3190).

  • The ENS module now allows connection to a custom registry. We've also added support for a large number of additional Registry and Resolver methods. The complete ENS API at Web3 is available in the docs here. (PR #3325).

Note about behavioral change in Geth 1.9.12

Recently in issue #3456 @Aniket-Engg drew attention to an important breaking change in Geth 1.9.12 which affects Web3 users. From their release notes:

eth_call will not default to your first account any more if you don't explicitly specify a sender. This was done to avoid the same input behaving differently in different environments.

This means that if you're:

  • calling view methods that refer to a msg.sender
  • calling estimateGas
  • calling methods with .call

... without explicitly setting a from address in your request options, you may see errors or unexpected behavior.

In Web3.js, the from address can be specified on a per-call basis or by setting the defaultAccount property

// Call
myContract.methods.myMethod(123).call({from: '0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe'});

// Contract
web3.eth.Contract.defaultAccount = '0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe';

// Instance
contractInstance.defaultAccount = '0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe';

// All
web3.eth.defaultAccount = '0xde0B295669a9FD93d5F28D9Ec85E40f4cb697BAe';

Added

  • Add revert reason support to sendSignedTransaction (#3345)
  • ENS module extended with the possibility to add a custom registry (#3301)
  • Missing ENS Registry methods and Resolver.supportsInterface method added (#3325)
  • Add optional gas type to AbiItem typescript definitions (for ABIs generated by Vyper) (#3437)
  • Add görli testnet ENS registry to the known registries (#3252)
  • Add auto-reconnect option for Websockets (#3092, #1085, #1391, #1558, #1852, #1646)

Changed

  • Ensure '0x' prefix is existing for Accounts.sign and Accounts.privateKeyToAccount (#3041)
  • Repository cleanup (#3443)
    • Removed old docs/_build folder
    • Removed old bower and meteor artifacts
    • Moved logo assets to own folder
    • Moved github assets to own folder
  • Remove @types/node from (non-dev) dependency tree (#3965, #3227)

Fixed

  • Add missing subscription.on('connected') TS type definition (#3319)
  • Add missing bignumber.js dependency for TS types (#3386)
  • Upgrade swarm-js to 0.1.40 to remove npm vulnerability warning (#3399)
  • Upgrade devDeps to resolve security warnings (#3464)
    • dtslint 0.4.2 => 3.4.1
    • definitelytyped-header-parser 1.0.1 => 3.9.0
  • Race-condition when subscribing to historical logs as first client request (#3389)
  • Fix crash when using Web-Workers by removing any-promise dependency (#3377 #2211 #1774)

Please don't hesitate to report any problems you see to the issues, and thanks for checking out this new release!

Commits

The new version differs by 326 commits ahead by 326, behind by 6.

  • 65237be v1.2.7
  • 598e531 v1.2.7-rc.0
  • 7614938 Use web3.js for root package name
  • 1f41523 Run build on different lerna version lifecycle segment
  • ac25f9c Document gulpfile
  • 6a1bcef Update lerna dep and release scripts
  • 8540877 Update changelog
  • 1149c41 Add docs note for Geth v1.9.12 eth_call change (#3467)
  • a510a00 Add missing items to 1.2.7 changelog (#3465)
  • 3684fc3 Merge pull request #3464 from ethereum/upgradeDtslintDep
  • e0a8c1d Upgrade devDeps to resolve security warnings (dtslint, definitelytyped-header-parser)
  • bd9cf48 Merge pull request #3437 from maektwain/1.x
  • 2e15ff4 Fix changelog
  • aba4de8 Merge branch '1.x' into 1.x
  • 2a5c5cb Fetch revert reason for sendSignedTransaction (#3420)

There are 250 commits in total.

See the full diff

@greenkeeper
Copy link
Contributor Author

greenkeeper bot commented May 20, 2020

  • The dependency web3 was updated from 1.2.7 to 1.2.8.

Your tests are still failing with this version. Compare changes

Release Notes for web3.js 1.2.8

Hi!

Features

Alongside some Typescript improvements and patches for the Websocket Provider reconnection logic introduced in 1.2.7, this release contains two larger changes:

  • Ethers ABI Coder has received a full version increment, from 4.0.0-beta.3 to 5.0.0-beta.153. Since 2018, Web3 has relied on @ricmoo's great Ethers project to manage encoding and decoding data passed between Web3 and the EVM. This update should allow Web3 to absorb the latest work at Ethers going forward.

    The new ABI coder runs additional checks to validate inputs against the ABI types. Behavioral differences include:

Edge case Web3 <= 1.2.7 Web3 1.2.8
Input exceeds an ABI type's max value (ex: "257" for uint8) overflows out of bounds error
Negative input for uint underflows out of bounds error
Invalid utf-8 character in string silently sanitized utf-8 error
  • The ENS module now supports ENS's contenthash feature (EIP 1577), which allows you to associate an IPFS or Swarm hash with an ENS domain. There's a nice introduction to content hashes in this ENS medium post. Docs for the newly added methods can be found here.

Added

  • Introduce review and release guidelines. (#3460)
  • Add EIP-1193 compatible provider to AbstractProvider interface. (#3499, #3521)
  • Add Typescript definitions for contract call. (#3454, #3521)
  • Add support for ENS contenthash methods (#3392, #2782, #3511)

Changed

  • Change CI provider from Travis to Github Actions. (#3468)
  • Update web3-eth-abi ABICoder dependency. (#3490, #3522)
  • Improve code clarity of HttpProvider keepAlive option setting. (#3463)
  • Updated type definitions for Web3 HTTP Provider. (#3482)
  • Improve code clarity of HttpProvider keepAlive value. (#3463)
  • Fix indentation of web3-eth documentation (#3478)

Fixed

  • Fix intermittent CI build issues with dtslint. (#3479)
  • Fix WSS credentials Base64 encoding (for browser) (#3508)
  • Fire provider "error" and/or "end" events when Websocket provider disconnects (#3485)
  • Remove web3-eth revert error return types to squash TS compilation errors (#3496)
  • Backfill event subscriptions when WS connection dropped across multiple blocks (#3491)
  • Stop swallowing errors when WS connection has died after exhausting reconnection attempts (#3492)
Commits

The new version differs by 143 commits ahead by 143, behind by 7.

  • e5b3b37 v1.2.8
  • 6289002 v1.2.8-rc.1
  • fcf5d22 Add 1.2.8-rc.1 changelog entries
  • ba7677d Merge pull request #3522 from ethereum/abiCoderParamFormatting
  • 16c44d4 Fix setContenthash docs formatting (#3511)
  • d13c468 Add detail to compatibility comment
  • b7dbcd6 handle more encoding rules to reduce any breaking changes for abicoder dep update
  • 58d1f5b Merge pull request #3521 from ethereum/fix/release-tsc-errors
  • 7911e5d Apply geth 1.9.13 CI fix to release branch
  • 7d27f50 Revert contract.method TS definition change (PR #3454)
  • 14a0272 Add optional connected property to AbstractProvider type
  • 035d11a v1.2.8-rc.0
  • dd4c8ec Merge pull request #3507 from ethereum/changelog-1.2.8.rc.0
  • e94013f Add headers
  • 26db9c1 Create 1.2.9 entry

There are 143 commits in total.

See the full diff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants