Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

Migrate to Web3.py v5 #2038

Merged
merged 15 commits into from
Aug 8, 2019
Merged

Migrate to Web3.py v5 #2038

merged 15 commits into from
Aug 8, 2019

Commits on Aug 7, 2019

  1. Install Py packages in dep. order, not in parallel

    Install Python packages in dependency order, not in parallel.
    feuGeneA committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    62de72b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c2741a1 View commit details
    Browse the repository at this point in the history
  3. Fix python package dependency ordering...

    ...and include a script to produce the proper ordering.
    feuGeneA committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    adca5f0 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2019

  1. Configuration menu
    Copy the full SHA
    05537e0 View commit details
    Browse the repository at this point in the history
  2. contract_wrappers.py: don't auto-import wrappers

    This was discovered while minimizing CircleCI steps to dianose a problem
    with running the Launch Kit Backend in CircleCI.
    
    These classes should be imported via the
    zero_ex.contract_wrappers.exchange and
    zero_ex.contract_wrappers.erc20_token modules, respectively.  We
    permitted importing them from just zero_ex.contract_wrappers back when
    they were the only wrappers we had, but now that we have so many
    different contracts being wrapped, this is just another list to keep
    manually updated (which, obviously is error prone, since it slipped
    through the cracks already), so it's better to just not support this
    type of import.
    feuGeneA committed Aug 8, 2019
    Configuration menu
    Copy the full SHA
    a598a8f View commit details
    Browse the repository at this point in the history
  3. abi-gen/Py: doc contract method attributes

    Without this, generated documentation was not including the class
    members that represent the contract methods, rendering the usage
    unclear.
    feuGeneA committed Aug 8, 2019
    Configuration menu
    Copy the full SHA
    d81927a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    663845f View commit details
    Browse the repository at this point in the history
  5. contract_wrappers.py: gen docs for all wrappers...

    ...except for the dummy tokens.
    feuGeneA committed Aug 8, 2019
    Configuration menu
    Copy the full SHA
    9c1da33 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3b4c126 View commit details
    Browse the repository at this point in the history
  7. sra_client.py/test: change launch kit docker image

    Previously these teses were using 0xorg/launch-kit-ci, but that was a
    one-off thing created just for CI, back before there was a regularly
    maintained docker image of Launch Kit.
    
    Changed to use 0xorg/launch-kit-backend since it's regularly
    maintained/updated.
    
    Because the -backend image is using a different Linux distribution
    (Alpine), the commands used to wait for ganache startup also had to
    change.
    
    The tag used, 74bcc39, is provisional due to the pending Issue at
    0xProject/0x-launch-kit-backend#73 .  When
    that issue is resolved, the tag suffix on the imag name should be
    removed.
    feuGeneA committed Aug 8, 2019
    Configuration menu
    Copy the full SHA
    a851e63 View commit details
    Browse the repository at this point in the history
  8. sra_client.py: checksum address in doctest

    Due to problem with launch-kit-backend, documented at
    0xProject/0x-launch-kit-backend#73 ,
    we need to checksum the makerAddress, in the order retrieved from the
    relayer, before filling it, otherwise Web3.py gives this error:
    
    InvalidAddress('Web3.py only accepts checksum addresses. The software
    that gave you this non-checksum address should be considered unsafe,
    please file it as a bug on their platform. Try using an ENS name
    instead. Or, if you must accept lower safety, use
    Web3.toChecksumAddress(lower_case_address).',
    '0x5409ed021d9299bf6814279a6a1411a7e866a631')
    feuGeneA committed Aug 8, 2019
    Configuration menu
    Copy the full SHA
    33525ff View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    bfb0fa4 View commit details
    Browse the repository at this point in the history
  10. Update CHANGELOGs

    feuGeneA committed Aug 8, 2019
    Configuration menu
    Copy the full SHA
    1c0b321 View commit details
    Browse the repository at this point in the history
  11. sra_client.py: make CHANGELOG be REVESE chrono.

    Formerly CHANGELOG was in chronological order.  Now it's in reverse
    chronological order.
    feuGeneA committed Aug 8, 2019
    Configuration menu
    Copy the full SHA
    66d0ae9 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2e5501a View commit details
    Browse the repository at this point in the history