Documents changes that result in:
- smart contracts redeployment, especially ABI changes
- API changes in the package (externally used constants, externally used utilities and scripts)
- important bug fixes between releases
- Reduce dependencies and dependency updates
- Drop python3.7 support
- #1580 Establish better naming convention for time related values
- #1550 Replace settle timeout range with one constant value
- #1582 Move settle timeouts from channels to token networks
- #1565 Switch from block numbers to dates/time values
- #1612 Add deployment option for user deposit withdraw timeout
- #1608 Extend documentation for Arbitrum gas prices
- #1623 Add API endpoint to verify Arbitrum One deployments
- #1602 Upgrade and unpin
web3
dependency
- #1584 Upgrade
web3
andeth-tester
dependencies
- #1576 Add missing
mypy_extensions
requirement
- #1517, #1522 Upgrade to solidity 0.8 series
- #1519 Use
block.chainid
in contracts instead of a deploy time value- This changes the ABI of the
TokenNetworkRegistry
andTokenNetwork
contract constructors
- This changes the ABI of the
- #81 Add error messages to all contracts
- #1182 Add support for reusing the
ServiceRegistry
in the deployment scripts - #1383 Add
TokenNetwork.cooperativeSettle
, which settles the channel in a single transaction when the participants cooperate - #1436 Add
TokenNetwork.openChannelWithDeposit
, which combines opening and depositing to a channel - #1481 Allow removing the limits after deployments
- #1482 Add
UserDeposit.withdrawToBeneficiary
, which allows withdrawing to a beneficiary - #1494 Add both participants addresses to the
TokenNetwork.ChannelSettled
event - #1496 Enable contract optimizations
- #1462 TokenNetwork: allow updating channel state anytime before a channel is settled
- #1464 Use RDN as default token for service payments
- #1456 Add Python 3.9 support
- Add missing deployment files for the unstable deployment done in 0.37.2.
- #1443 Remove
semver
dependency, which was causing version conflicts for other packages usingraiden-contracts
- #1439 Provide additional unstable (development) deployment on goerli testnet
- #1430 Allow reusing the ServiceRegistry when deploying contracts
- New deployments for both mainnet and testnets (goerli, rinkeby, ropsten)
- Updated disclaimer
- Fix
CONTRACTS_VERSION
, which was outdated in 0.37.0-b2.
- #1376 Support verification of TokenNetworks
- Test release of contracts on mainnet for Brainbot-internal testing. Do not use for anything else! The deprecation switch will be triggered soon!
- Practice deployment for next mainnet release
- #1372 Rename network to chain for consistency
- #1371 Update
web3
and improve typing - #1363 Update
solc
to 0.6.3
- #1339 Update
web3
and related dependencies. This also enables an Istanbul compatible test chain. - #1361 Require
--service-registry-controller
during service contracts deployment. - #1360 Add Python 3.8 support
- #1355 update solc version to 0.5.16
- allow unlimited number of TokenNetworks in testnet deployment
- No code changes, just different parameters for testnet deployments than in 0.34. Settings are the same as in the 0.33 deployments, again.
0.33.3 - 2019-10-24
- #1313 fix deployment using --contracts-version CONTRACT_VERSION, even when
data
anddata_CONTRACTS_VERSION
contain different sources - #1299 fix consistency of data_0.25.2
- #1306 move data_0.25.2 to data_0.33.0
0.33.2 - 2019-10-17
- #1296 re-deploy service contracts
- #1296 removed Kovan deployment files (perhaps people don't use them)
0.33.1 - 2019-10-15
- #1288 fix MANIFEST.in
- More keyword arguments in Python scripts
0.33.0 - 2019-10-12
- #1260 Simplify the usage of ContractSourceManager. Users don't need to call compute_checksums() to initialize the object.
- Some refactoring and typo fixes.
0.32.0 - 2019-09-25
- The minimum settlement window is now shorter (20 blocks) on test networks.
- #1213 etherscan_verify.py now fails when a source imports a nonexistent file.
- Add many tests
- #1205 When ServiceRegistry creates a new Deposit, ServiceRegistry asserts that the deadline is in the future.
- #1238 Reward Proof now contains
non_closing_address
that goes together withnon_closing_signature
.
0.31.0 - 2019-08-20
- #1163 MonitoringService.monitor() no longer works for service providers that are not registered in ServiceRegistry
- #1177 When ServiceRegistry is deprecated, deposits can be immediately be withdrawn.
0.30.0 - 2019-08-15
- #1150 Use different message ID for chnanelClose() and updateNonClosingBalanceProof()
- #1148 Add TokenNetworkRegistry's address to MonitoringService's constructor arguments
- #1160 Revert the upgrade web3.py and other dependencies
- #1151 OneToN doesn't work for service providers not registered in ServiceRegistry
0.29.1 - 2019-08-13
- #1153 Upgrade web3.py and other dependencies
0.29.0 - 2019-07-26
- #1143 Add ServiceRegistry.hasValidRegistration() function that returns whether a given address has a valid registration.
0.28.0 - 2019-07-26
- #1140 ServiceRegistry exposes the list of addresses that have made deposits
0.27.0 - 2019-07-23
- #1136 ServiceRegistry has a deprecation switch.
- #1132 ServiceRegistry has a controller that can change parameters.
- #1116 ServiceRegistry's required deposit changes dynamically.
- #1124 TokenNetwork's closeChannel() can be called by anybody on behalf of the closing participant.
- #1118 TokenNetwork's ChannelClosed and NonClosingBalanceProofUpdated events contain balance_hash from the submitted balance proofs.
- #1126 TokenNetwork's ChannelSettled event contains locksroots of the two sets of pending transfers.
0.26.0 - 2019-07-11
- #1119 Changed the signature construction of monitoring reward proof so that a signature covers the whole reward proof
- #1108 Added a new event DeprecationSwitch to TokenNetwork
0.25.1 - 2019-07-03
- #1101 Add more gas measurements about CustomToken calls
0.25.0 - 2019-07-03
- #1103 Add
expiration_block
argument toTokenNetwork.setTotalWithdraw()
. - #1099 Remove
raiden_contracts.constants.GAS_REQUIRED_FOR*
constants. Use insteadraiden_contracts.contract_manager.gas_measurements()
. - #1079 Measure gas consumption of CustomToken.mint()
- #1050 MonitoringService.claimReward() returns a boolean as the signature says
0.24.0 - 2019-06-19
0.23.0 - 2019-06-07
- #1013 Remove EndpointRegistry contract
- #1024 When OneToN checks the signature of an IOU, it considers MessageTypeId.IOU
- #1062 Stopped using Merkle trees; instead the concatenation of all submitted locks is hashed
- #1043 This Changelog is supposed to appear in the package
0.22.0 - 2019-06-03
- #1034 Add gas.json in the package so
gas_measurements(contracts_version)
works. - #1025 MonitoringService.monitor() takes a signature that takes in the message ID.
0.21.0 - 2019-05-28
- #1027 Add
gas_measurements(contracts_version)
that shows the gas measurements as a dictionary. - #988 Unlock-related functions' and events' arguments are renamed into
sender
andreceiver
0.20.0 - 2019-05-17
0.19.1 - 2019-05-14
- #973 Stop forcing a development-time dependency during the usual installation
0.19.0 - 2019-05-09
- #909 MonitoringService prioritizes services
- #853 add chain_id in the IOU claims for OneToN
- #928 #956 black formatter is enabled
- #896 #941 Some Python code cleanup
- #867 get_contracts_deployment_info() returns None instead of raising a ValueError when no deployment file is found.
- #863 Deploy 0.4.0 version on Goerli
0.18.0 - 2019-04-12
- #831 Add contracts_version=0.11.1 that includes Görli deployment
0.17.2 - 2019-04-06
- #813 expose mypy type checking results to the other packages.
0.17.1 - 2019-04-02
- #809 fix a bug in
get_contracts_deployment_info()
.
0.17.0 - 2019-03-27
- #711 Re-enable setTotalWithdraw() function of TokenNetwork contract.
- #788 Fix a bug that prevented deploying 0.3._ TokenNetworks
- #785 Require click>=7.0
0.16.0 - 2019-03-26
- #775 Added contract_manager.get_contracts_deployed_info() that takes a module (
SERVICES
,RAIDEN
orALL
) instead ofservices:bool
- #775 Deprecated get_contracts_deployed() whose name sounded wrong and that had to be called twice.
- #755 deploy script does not take --registry option anymore. Use --token-network-registry instead.
0.15.0 - 2019-03-19
- #749 Fixed the problem where Monitoring Services were rewarded too late
- #741 Removed raiden_contracts/contracts. Instead, please edit raiden_contracts/data/source directly.
0.14.0 - 2019-03-11
- #720 Removed checks in MonitoringService.canMonitor() until the design is determined.
- #696 ContractManager created with version=None has contracts_version == None
- #678 Add a deployment-time configurable limit on the whole balance of UserDeposit
- #678 Deployment script's
service
command takes an additional option--user-deposit-whole-limit
0.13.0 - 2019-03-04
- #655 Deployment script's
register
command takes two additional options --channel-participant-deposit-limit and --token-network-deposit-limit - #655 TokenNetworkRegistry's createERC20TokenNetwork() function takes two additional arguments
_channel_participant_deposit_limit
and_token_network_deposit_limit
. - #655 TokenNetwork's constructor takes two additional arguments
_channel_participant_deposit_limit
and_token_network_deposit_limit
- #652 TokenNetworkRegistry's constructor takes an additional argument
max_number_of_token_networks
- #651 Removed flavors
0.12.0 - 2019-02-28
- Add data/gas.json that contains gas measurements on the development version.
- Move Raiden contracts to "raiden" subdir, so that the imports match the directory layout.
contracts_data_path
,contracts_precompiled_path
andcontracts_gas_path
require an additionalflavor
argument (eitherFlavor.Limited
orFlavor.Unlimited
).- Started providing Solidity sources next to the deployment data in
raiden_contracts/data
0.11.0 - 2019-02-14
- Deployed on testnets with a new fake token for service payments.
0.10.1 - 2019-02-13
- #557 Revert the new gas measurements
0.10.0 - 2019-02-13
- https://github.com/raiden-network/raiden-contracts/compare/v0.9.0...master
- rename RaidenServiceBundle contract to ServiceRegistry
- #485 Add OneToN contract
- #468 Remove
raiden-libs
dependency - #448 Add UserDepositContract
0.9.0 - 2019-01-23
- https://github.com/raiden-network/raiden-contracts/compare/v0.8.0...v0.9.0
- various changes in the smart contract comments
- various documentation updates
- internal tests structure updates
- addition of docstrings in the existing tests
- #426 Add support for deploying the testnet
0.3._
version (not to be used in production) - #407 Fix bug in deployment that recompiled the contracts
- #396 Introducing mypy in Travis builds
- #379 #404 Removing
raiden-libs
dependency - #372 MSC - Prefix reward hash with "Ethereum Signed Message"
- #366 Additional
MonitoringService
require
check - #363 Refactor equals() function
- #360 Update monitoring service to core contracts changes
0.8.0 - 2018-11-12
- https://github.com/raiden-network/raiden-contracts/compare/v0.7.0...v0.8.0
- #345 Script for verifying contracts with etherscan
- #348 Add required gas for creating a
TokenNetwork
inconstants.py
0.7.0 - 2018-10-25
- Red Eyes Bug Bounty Release on Mainnet
- https://github.com/raiden-network/raiden-contracts/compare/v0.6.0...v0.7.0
0.6.0 - 2018-10-17
https://github.com/raiden-network/raiden-contracts/compare/v0.5.0...v0.6.0
0.5.1 - 2018-10-12
https://github.com/raiden-network/raiden-contracts/compare/v0.5.0...v0.5.1
0.5.0 - 2018-10-11
https://github.com/raiden-network/raiden-contracts/compare/v0.4.0...v0.5.0
0.4.1 - 2018-10-05
https://github.com/raiden-network/raiden-contracts/compare/v0.4.0...v0.4.1
0.4.0 - 2018-09-21
https://github.com/raiden-network/raiden-contracts/compare/v0.3.0...v0.4.0
0.3.1 - 2018-09-17
https://github.com/raiden-network/raiden-contracts/compare/v0.3.0...v0.3.1
0.3.0 - 2018-09-07
https://github.com/raiden-network/raiden-contracts/compare/v0.2.0...v0.3.0
0.2.0 - 2018-08-10
- First python package release