Skip to content
This repository has been archived by the owner on May 28, 2021. It is now read-only.

Indra v7.1.1

Compare
Choose a tag to compare
@rhlsthrm rhlsthrm released this 10 Aug 08:05
· 379 commits to staging since this release

API Changes

  • #1359 - Client API methods deposit and requestCollateral now return without waiting for the completion of an onchain tx. The methods return a function completed() as part of the response to allow waiting for the full process including the onchain tx and offchain protocol (inspired by Ethers' await tx.wait() API).

An example deposit call:

import { BigNumber, constants } from "ethers";
const response = await client.deposit({ amount: BigNumber.from(10), assetId: constants.AddressZero });
// deposit method returns quickly

await response.completed();
// tx complete, channel balance updated

New Features

  • #1073 - Added groundwork for supporting Grafana and Prometheus to provide a node operator dashboard. More to come.

Bugfixes

  • #1340 - Fix cases where onchain tx was taking too long when the receiver needed to be collateralized.
  • #1153 - Add more reliable onchain transaction tracking to cf-core.
  • #1331 - Fix issue where mainnet was getting spammed by error logs from SwapRateService.
  • #1347 - More reliable process around withdrawing to enable node to send the client a tx hash immediately.
  • #1327 - Ops bug.
  • #1332 - Reenable config endpoint with old API (without chainId specification).
  • #1330 - Fix pruneExpiredApps task
  • #1332 - Hard limit on number of apps allowed in a channel.
  • #1323 - Allow locking on just the appIdentityHash rather than full channel locks.
  • #1298 - Add version number to protocol, follows semantic versioning.
  • #1087 - Delete commitments on uninstall.
  • #1310 - Cooperative cancel for receiver.
  • #1317 - Retry failed txes.

Node Docker Image

NPM Packages

  • @connext/{types,utils,cf-core,apps,messaging,store,channel-provider,client,watcher}@7.1.1