Populus

Latest version: v2.2.0

Safety actively analyzes 630169 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 13

0.6.2

-----

- Shorted path to cli tests to stay under 108 character limit for unix sockets.
- Allow passing ``--verbosity`` tag into ``populus chain run``
- Expand documentation with example use case for populus deploy/chain/attach
commands.

0.6.1

-----

- Change the *default* gas for transactions to be a percentage of the max gas.

0.6.0

-----

- Improve ``populus deploy`` command.
- Optional dry run to test chain
- Prompts user for confirmation on production deployments.
- Derives gas needs based on dry-run deployment.
- Addition of ``deploy_coinbase`` testing fixture.
- Renamed ``Contract._meta.rpc_client`` to be ``Contract._meta.blockchain_client``
to be more appropriately named since the ``EthTesterClient`` is not an RPC
client.
- Renamed ``rpc_client`` argument to ``blockchain_client`` in all relevant functions.
- Moved ``get_max_gas`` function onto blockchain clients.
- Moved ``wait_for_transaction`` function onto blockchain clients.
- Moved ``wait_for_block`` function onto blockchain clients.
- Bugfix when decoding large integers.
- Reduced ``gasLimit`` on genesis block for test chains to ``3141592``.
- Updated dependencies to newer versions.

0.5.4

-----

- Additional support for *library* contracts which will be included in
compilation.
- ``deployed_contracts`` automatically derives deployment order and dependencies
as well as linking library addresses.
- ``deployed_contracts`` now comes with the transaction receipts for the
deploying transaction attached.
- Change to use ``pyethash`` from pypi

0.5.3

-----

- New ``populus attach`` command for launching interactive python repl with
contracts and rpc client loaded into local scope.
- Support for auto-linking of library contracts for the ``deployed_contracts``
testing fixture.

0.5.2

-----

- Rename ``rpc_server`` fixture to ``testrpc_server``
- Introduce ``populus_config`` module level fixture which holds all of the
default values for other populus module level fixtures that are configurable.
- Add new configuration options for ``deployed_contracts`` fixture to allow
declaration of which contracts are deployed, dependency ordering and
constructor args.
- Improve overall documentation around fixtures.

Page 9 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.