AtomicLoans / agent

💥 Atomic Agent
1 stars 3 forks source link

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

Open greenkeeper[bot] opened 4 years ago

greenkeeper[bot] commented 4 years ago

The dependency web3 was updated from 1.2.5 to 1.2.6.

🚨 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 - ❌ **continuous-integration/travis-ci/push:** The Travis CI build failed ([Details](https://travis-ci.org/AtomicLoans/agent/builds/645089505?utm_source=github_status&utm_medium=notification)). - ✅ **coverage/coveralls:** First build on greenkeeper/web3-1.2.6 at 34.513% ([Details](https://coveralls.io/builds/28481661)).

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

FAQ and help There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those don’t help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).

Your Greenkeeper Bot :palm_tree:

greenkeeper[bot] commented 4 years ago

After pinning to 1.2.5 your tests are still failing. The reported issue might not affect your project. These imprecisions are caused by inconsistent test results.

greenkeeper[bot] commented 4 years ago

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

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[bot] commented 4 years ago

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

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 462 commits ahead by 462, behind by 6.

  • 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 250 commits in total.

See the full diff