changelogs.md


raiden-network/raiden-contracts

Repository  -  API  -  Source

0.50.0

  • #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

0.40.3

  • #1602 Upgrade and unpin web3 dependency

0.40.2

  • #1584 Upgrade web3 and eth-tester dependencies

0.40.1

  • #1576 Add missing mypy_extensions requirement

0.40.0

  • #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 and TokenNetwork contract constructors

0.39.0

  • #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

0.38.0

  • #1462 TokenNetwork: allow updating channel state anytime before a channel is settled
  • #1464 Use RDN as default token for service payments

0.37.6

  • #1456 Add Python 3.9 support

0.37.5

  • Add missing deployment files for the unstable deployment done in 0.37.2.

0.37.3

  • #1443 Remove semver dependency, which was causing version conflicts for other packages using raiden-contracts

0.37.2

  • #1439 Provide additional unstable (development) deployment on goerli testnet
  • #1430 Allow reusing the ServiceRegistry when deploying contracts

0.37.0

  • New deployments for both mainnet and testnets (goerli, rinkeby, ropsten)
  • Updated disclaimer

0.37.0-beta

  • Practice deployment for next mainnet release

0.37.0-b3

  • Fix CONTRACTS_VERSION, which was outdated in 0.37.0-b2.

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!

0.36.2

  • #1372 Rename network to chain for consistency
  • #1371 Update web3 and improve typing
  • #1363 Update solc to 0.6.3

0.36.1

  • #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

0.36.0

  • #1355 update solc version to 0.5.16
  • allow unlimited number of TokenNetworks in testnet deployment

0.35.0

  • 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.34.0

  • #1318 add make install-dev.
  • #1350 remove support for deploying unlimited contracts

0.33.3

October 24, 2019
  • #1313 fix deployment using --contracts-version CONTRACT_VERSION, even when data and data_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

October 17, 2019
  • #1296 re-deploy service contracts
  • #1296 removed Kovan deployment files (perhaps people don't use them)

0.33.1

October 15, 2019
  • #1288 fix MANIFEST.in
  • More keyword arguments in Python scripts

0.33.0

October 12, 2019
  • #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

September 25, 2019
  • 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 with non_closing_signature.

0.31.0

August 20, 2019
  • #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

August 15, 2019
  • #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

August 13, 2019
  • #1153 Upgrade web3.py and other dependencies

0.29.0

July 26, 2019
  • #1143 Add ServiceRegistry.hasValidRegistration() function that returns whether a given address has a valid registration.

0.28.0

July 26, 2019
  • #1140 ServiceRegistry exposes the list of addresses that have made deposits

0.27.0

July 23, 2019
  • #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

July 11, 2019
  • #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

July 3, 2019
  • #1101 Add more gas measurements about CustomToken calls

0.25.0

July 3, 2019
  • #1103 Add expiration_block argument to TokenNetwork.setTotalWithdraw().
  • #1099 Remove raiden_contracts.constants.GAS_REQUIRED_FOR* constants. Use instead raiden_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

June 19, 2019
  • #1023 Remove contract_version variable from the contracts
  • #1070 Type-annotate ChainIDs

0.23.0

June 7, 2019
  • #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

June 3, 2019
  • #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

May 28, 2019
  • #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 and receiver

0.20.0

May 17, 2019
  • #979 Start using SHA256 for the hashlock.
  • #979 Start accepting zero as the secret.

0.19.1

May 14, 2019
  • #973 Stop forcing a development-time dependency during the usual installation

0.19.0

May 9, 2019
  • #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

April 12, 2019
  • #831 Add contracts_version=0.11.1 that includes Görli deployment

0.17.2

April 6, 2019
  • #813 expose mypy type checking results to the other packages.

0.17.1

April 2, 2019
  • #809 fix a bug in get_contracts_deployment_info().

0.17.0

March 27, 2019
  • #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

March 26, 2019
  • #775 Added contract_manager.get_contracts_deployed_info() that takes a module (SERVICES, RAIDEN or ALL) instead of services: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

March 19, 2019
  • #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

March 11, 2019
  • #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

March 4, 2019
  • #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

February 28, 2019
  • 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 and contracts_gas_path require an additional flavor argument (either Flavor.Limited or Flavor.Unlimited).
  • Started providing Solidity sources next to the deployment data in raiden_contracts/data

0.11.0

February 14, 2019
  • Deployed on testnets with a new fake token for service payments.

0.10.1

February 13, 2019
  • #557 Revert the new gas measurements

0.10.0

February 13, 2019

0.9.0

January 23, 2019
  • 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

November 12, 2018

Changed

0.7.0

October 25, 2018

0.6.0

October 17, 2018

0.5.1

October 12, 2018

0.5.0

October 11, 2018

0.4.1

October 5, 2018

0.4.0

September 21, 2018

0.3.1

September 17, 2018

0.3.0

September 7, 2018

0.2.0

August 10, 2018

Changed

  • First python package release