Ape 0.4.0
Breaking Changes
BREAKING CHANGES
-
feat!: support decoding multiple ABIs at the same time, including ds-note library logs @banteg (#757)
This required the signature of theEcosystemAPI.decode_logs()
method to change. -
feat!: support per network defaults for txn acceptance timeout @unparalleled-js (#911)
Thetransaction_acceptance_timeout
config item was removed and replaced by network-specific configurations. -
refactor!: change order of parameters in
ape.cli.get_user_selected_account()
@unparalleled-js (#894)
Now, you place the message first instead of theAccountAPI
sub-type. -
refactor!: contract event querying revamp @unparalleled-js (#852)
ContractLog
objects now requirelog_index
andtransaction_index
, and the fieldaddress
was renamed tocontract_address
. Additionally, the signature toProviderAPI.get_contract_logs()
changed to support a class-based argument instead of individual arguments; this support allows for multiple contract addresses to be queried at once. -
refactor!: move contract instance and container helper utilities to chain.contracts @unparalleled-js (#898)
Before, each base model had methodscreate_contract()
andcreate_contract_container()
. Those have been removed in favor of methods in theChainManager.contracts.instance_at()
andChainManager.contracts.get_container()
instead.
Changes
- fix: custom config number of test accounts @NotPeopling2day (#918)
- feat: adhoc network support @unparalleled-js (#913)
- fix: issue where parity style traces did not work in ape-geth provider @banteg (#907)
- test: add test for getting failed receipt @unparalleled-js (#910)
- fix: handle more array situations @unparalleled-js (#909)
- fix: fix for docker issue
AttributeError: module 'rlp' has no attribute 'Serializable'
@sabotagebeats (#891) - feat: get multiple contracts method in contract cache @unparalleled-js (#897)
- test: put type decoding test in test_type module @unparalleled-js (#902)
- test: ensure support for eip712 @unparalleled-js (#900)
- feat: estimate fee support for calls @unparalleled-js (#888)
- feat: support request kwargs in web3 provider API methods @unparalleled-js (#865)
- fix: better handling of closing stream queues in SubprocessProvider @unparalleled-js (#889)
- feat: add timeout kwarg on Web3provider.get_transaction in @unparalleled-js (#866)
- fix: regressions with poll_logs @unparalleled-js (#860)
- fix: bug where geth provider would not use URI from provider_settings dict @unparalleled-js (#886)
- feat: stream traces in geth provider @banteg (#885)
- test: include uncompiled contract types in tests' data directory for reference purposes. @unparalleled-js (#869)
- feat: strip uri credentials from logs @banteg (#884)
- fix: disable console history in tests @helloibis (#882)
- fix:
get_virtual_machine_error()
message extract @helloibis (#877) - fix: grab results list from trace_transaction response @unparalleled-js (#863)
- fix: issue where account would remain unlocked when disabling auto-sign @unparalleled-js (#859)
- fix: detect contracts folder automatically when default in local dependencies @unparalleled-js (#861)
- feat: contract deployment map caching @PatrickAlphaC (#856)
- refactor: avoid attr dicts when making requests for tracing @unparalleled-js (#858)
Special thanks to: @NotPeopling2day, @PatrickAlphaC, @banteg, @helloibis, @sabotagebeats and @unparalleled-js