Skip to content

Mainnet Release v3.0.0 Rohinī

Compare
Choose a tag to compare
@weilbith weilbith released this 02 May 16:59
· 170 commits to master since this release

⚡ New Raiden Light Client SDK, dApp and CLI

INFO: The Light Client SDK, CLI and dApp are all work in progress projects. All three projects have been released for mainnet and all code is available in the Light Client repository. As this release still has its limitations and is a beta release, it is crucial to read this readme including the security notes carefully before using the software.

With this release the Light Client becomes compatible to the contract versions 0.50.0 which are available on Arbitrum One and are compatible with any project living on top of the roll-up. As a result of this release, the whole on-boarding process and blockchain interactions are much faster and cheaper thanks to the roll-up technology. This release required major refactoring also by the Light Client, resulting in breaking changes to all interfaces.

Raiden SDK

Fixed

  • #3106 Fix bug where Raiden.transferOnchainTokens with subkey=true could be ignored and main account used instead

Changed

  • #2916 BREAKING Switched timeouts to use timestamps (seconds) instead of blocks; previous Raiden stable releases and contracts used block numbers to count the passage of time (e.g. transfers, withdraws and channel settlement timeouts); the new refactored contracts use timestamps (in seconds) instead, which is more predictable on networks with random or on-demand block generation cadence, like rollups; while this change is motivated by the Arbitrum compatiblity effort, it's not restricted to rollups, and may eventually also be deployed to other networks
  • #2976 BREAKING Switched to arbitrum branch of raiden-contracts; this contracts branch uses block.timestamps to count timeouts, instead of block numbers; this also creates a new state for clients (new contracts, new state schema and entry)

Added

  • #3034 SDK now accepts config.confirmationBlocks = 0 (default for Arbitrum), speeding up transactions wait times on rollup environments

Removed

  • #3034 Remove settleTimeout option from config and Raiden.openChannel methods, since this value is now constant per contract deployment (exposed through Raiden.settleTimeout getter)

Raiden dApp

Fixed

  • #3078 Fix quick pay feature for Arbitrum and zero confirmation blocks

Changed

  • #3051 Adapt UDC withdraws to timestamps instead of block numbers

Removed

  • #3053 Remove settleTimeout references and settlement block countdown, since these don't apply anymore

Raiden CLI

Removed

  • #3034 Remove --default-settle-timeout CLI option, since this value isn't customizable anymore and instead constant per contract's deployment

Changed

  • #3034 --default-reveal-timeout now receives seconds, instead of blocks