Repository URL to install this package:
|
Version:
1.19.2+sf.0 ▾
|
eth-brownie
/
CHANGELOG.md
|
|---|
All notable changes to this project are documented in this file.
This changelog format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
from_explorer (#1596)>=0.3.4 (#1578)>=0.3.4 coverage data generation breaking project compilation (#1586)to field in transaction receipt so that contract deploying with Anvil works properly (#1573)StopIteration when compiling some Vyper v0.3.3 contracts (#1547)ReturnValue comparison on tuples containing strings (#1476).env file exists on installed packages (#1504)chain.mine with Ganache v7 (#1438).env file exists for installed packages (#1504)override argument to contract methods which allows changing the state before the call (#1412)WEB3_ALCHEMY_PROJECT_ID environment var (#1401)use_latest_patch in brownie-config.yaml to use the latest patch version of a compiler based on the pragma version of the contract (#1383)-r for raising exceptions to the caller instead of doing a system exit (#1394)v0.3.1ARBISCAN_TOKEN env var (#1319)getcontext() (#1310)gasPrice in eth_getTransaction (#1285)only_confirmed as an optional kwarg for history.clear (#1251).env to default project gitignore (#1249)arbitrum-main to default networks in network-config.yaml (#1235)multicall (#1233)max_fee and priority_fee (#1206)eth.get_block to avoid deprecated method warning (#1203)LocalAccount.sign_defunct_message method to sign EIP-191 text messages (#1163)-Preserve active input when writing to the console (#1181) -Modifications to internal flow when handling transactions, fixes some threadlock issues (#1182)
py-solc-ast version to fix AST issues with solc >=0.8.3 (#1165)eth_sendTransaction and related RPC calls (#1160)POLYGONSCAN_TOKEN env var (#1135)LocalAccount.sign_message method to sign EIP712Message objects (#1097)Account.load (#1099)v0.2.14 (#1155)TransactionReceipts (#1106)Wei objects in gas strategies (#1113)no_call_coverage as a pytest mark (#1150)Account.from_mnemonic (#1050)chainId field when signing transactions (#1056)__ret_value__ prior to writing console output (#1057)StopIteration issues within receipts (#1059)eth_newBlockFilter (#1061)BSCSCAN_TOKEN env var (#1017)abicoder v2 pragma when verifying source code (#1018)chain.mine without a timestamp (#1005)eth_getCode caching to consider selfdestruct via delegate call (#1002)geth --dev as a local test network (#998)--brownie-project cli flag (#996)export BROWNIE_LIB=1 to install brownie with soft pins. Also ensured hard pins for all dependencies are set. (#993)continue now exits the console to run the next test (#989)address_or_alias (#978)v0.2.11 (#979)project.load (#971)brownie run --interactive enters the console with the namespace of the successfully executed function (#976)eth_getStorageAt using Ganache v6.12.2 (#974)PUSH before popping pushed bytes (#935)eth_getStorageAt (#946)decode_input, decode_output and info methods to OverloadedMethod object (#925)ReturnType instead of list for some _EventItem return values (#919)master (#917)chain_id and network_id ganache-cli parameters. Forked networks retain chain_id. (#908)TransactionReceipt.info (#898)TxHistory.wait to wait for all pending transactions (#910)Contract.from_explorer (#881)Contract.from_explorer (#876)ContractContainer.decode_input (#879)build/contracts/dependencies (#878)eth_estimateGas (#880)TransactionReceipt.replace for rebroadcasting pending transactions (#846)timedelta as a kwarg in chain.mine (#856)require_network pytest marker (#858)TransactionReceipt.dev_revert_msg to access the dev revert string when there is a regular revert message (#860)brownie.reverts (#861)brownie.reverts (#864)skip_coverage and no_call_coverage are now markers, the fixtures have been deprecated (#859)"from" field (864)Contract.at (#842)interfaces folder (#857)timestamp kwarg for chain.mine (#838)ETH_ADDRESS constant (#835)ProjectContract in tx "from" field on development networks (#836)SyntaxError (#834)ZERO_ADDRESS constant is now available from main namespace (#830)stdout output when broadcasting a transaction (#833)brownie bake project names are no longer case sensetive (#829)ConnectionError when pulling Vyper versions (#815)gasPrice during gas estimation (#817)0x when parsing tuples with black for call trace (#818)Contract.deploy (#820)vyper library version in installed versions, after installing a new version (#803)Contract objects in the from field of a transaction dict (#801)tx as a local variable during interactive debugging (#796)vyper instead of vvm for compilation, where possible (#797)-U flag (#795)v6.11.0 (#787)v0.2.5 (#784)Account.get_deployment_address (#763)eth_unlockUnkonwnAccount to unlock arbitrary accounts in development mode (#776)sys.argv handling for brownie test to allow arbitrary flags (#773)stdout capture when compiling a project prior to running tests (#774)gas_limit kwarg for Account.estimate_gas (#764)compile_source (#768)EthAddress is now hashable (#756)InterfaceContainer (#754)--size flag for brownie compile to see deployed bytecode sizes (#750)AttributeError from ProjectContract (#753)Contract.from_explorer (#752)InterfaceConstructor.selectors (#748)VirtualMachineError.__str__ always returns a string (#747)chain.new_blocks for iterating over new blocks (#742)gas_buffer setting for transactions (#739)solcx v1.0.0 (#733)brownie run -I (#732)TempProject contracts when calculating coverage (#730)balance function (#721)brownie run can run scripts outside of projects (#722)ganache-cli>=6.10.1 (#704)--version cli flag (#705)__getitem__/__call__ prior to showing type hints (#694)chain.redo across multiple transactions (#692)chain fixture returns expected object (#689)TransactionReceipt.call_trace includes inputs and return values (#679)chain object (#681)--silent flag for brownie run (#680)address member for decoded events (#682)rpc methods have been deprecated in favor of the new chain object (#681)TransactionReceipt verbosity and minor fixes (#665)v0.2.1 (#656)v0.6.9 (#647)brownie run exit status when using --interactive flag (#655)eth_call (#639)brownie run -I (#638)required_confs from transaction parameters prior to making a call (#620)pytest reports, fixes Windows formatting issues (#620)brownie test (#616)dev_deployment_artifacts: true (#590)deployments/map.json (#590)required_confs = n / {'required_confs: n} argument for transactions. Will wait for n confirmations before processing the tx receipt. n = 0 will immediately return a pending receipt. (#587)tx.confirmations shows number of confirmations, tx.wait(n) waits until tx has n or more confirmations. (#587)load_source hook point (#584)block_identifier for contract calls (#596)length kwarg for strategy('address') (#607)tx.call_trace() now displays internal and total gas usage (#564)ZombieProcess and NoSuchProcess when attaching to ganache in OSX (#574)@given tests (#591)Rpc.undo correctly rewinds to immediately before a transaction (#604)A big thank you to @matnad for many contributions during this release!
ValueError instead of VirtualMachineError when the returned RPC error does not contain a data field (#555)web3.eth.accounts for new unlocked accounts when calling Accounts.at (#551)KeyError when handling certain types of RPC errors (#550)--interactive flag when using brownie run (#547)wss:// endpoints (#542)--gas report (#543)timeout as a field in brownie networks CLI (#533)contract_strategy for drawing objects from a ContractContainer (#528)hypothesis.given (#526)Account.gas_used (#518)Wei.to for unit conversion (#501)block_time, default_balance and time ganache-cli parameters (#501)TransactionReceipt.timestamp (#504)brownie-config.yaml can now specify ganache-cli parameters (#501)nonce parameter to deploy, transfer and transact methods (#488)Rpc.undo / Rpc.redo with non-instant confirmations (#483)Contract.from_explorer on OSX (#490).None for functions name of proxied contract calls (#481)silent parameter to Account.transfer (#472)Rpc.undo and Rpc.redo (#457)InterfaceContainer and InterfaceConstructor (#463)Account.transfer (#464)getabi if getsourcecode fails (#462)print method (#460).json suffix (#448)KeyError when using autofetch_sources (#445)--fork with Ganache (#437)brownie init on a directory that isn't empty (#428)require as last statement in a function (#424)xdist (#422)brownie pm CLI commands (#390)brownie networks CLI commands (#408)Contract.from_explorer (#413)prompt_toolkit in console to enable autocompletion, input suggestions and code highlights (#416)ContractCall.info (#395)Accounts.default to set default account for contract deployments (#391)-s flag with pytest (#397)Contract init method deprecated in favor of from_ethpm or from_abi class methods (#413)brownie ethpm CLI tool temporarily deprecated in favor of brownie pm until ethPM v3 is official (#390)dir in consoleZeroDivisionError during coverage evaluation when nothing has changedContract objectINVALID instructions with no related ast node (assembly)-k flag)brownie analyze based on updates to MythX APIContractContainer instances from brownie when running tests--stateful flag to only run or skip stateful test casesREVERT outside of function when generating revert mapTransactionReceipt.new_contracts - list of contracts deployed during a contract callTransactionReceipt.internal_transfers - information on internal ether transfers during a transactionbrownie.convert into sub-moduleseth_abi.grammar.parse when formatting contract inputs and outputsdocopt with docopt-ng (fixes deprecation warnings)ContractContainer.at compares actual bytecode to expected, returns Contract object if they do not matchpytest.default_contract_owner config setting from having any effect"" and "0x" when converting to bytes, disallow booleansrootdir when a Brownie project is in a subfolder of a Python projectinterfaces/ folder for interface sourcespytest-xdistget_abi method for Solidity and Vyper compilers.gitignore and .gitattributes when initializing new projectProject.__init__ to Project.loadistanbul as default EVM ruleset, run tests against ganache-cli v6.8.2pytest.reverts is deprecated in favor of brownie.revertsabstract contract when regexing contract sourcebrownie-config.yamlatlantis and agharta as EVM ruleset options in brownie-config.yaml~/.brownie/accounts when accounts commandline interface is calledbrownie accounts commandline interfaceactive_branches between jumpsistanbul as choice for EVM ruleset (default is still petersburg)dev: revert comments for assert statementsJUMPDEST targets within first 256 bytes~/.brownie/ProjectContract objects persist between sessions (when enabled in the config file)scripts.run only works when a project is loaded, supports multiple loaded projectsisinstance instead of type for conversions, fixes hexstring comparison bugSyntaxError in console when there is no source highlight==x.x dependencies over >=x.x <x.y, removed deps-of-deps to reduce conflictsbuild/contracts/ when contract name has changed within the same source fileYAML formattingrpc.attach with no port setbrownie analyze CLI commandbroadcast_reverting_tx with reverting_tx_gas_limit in configblack, mypy, isortThanks to @crawfordleeds and @dmuhs for their contributions on this release!
Beta releases do not adhere to semver.