Skip to content

v3.8.1

Compare
Choose a tag to compare
@jacogr jacogr released this 07 Feb 13:08

Upgrade priority: Low. Recommended for users of the latest Substrate master, especially using contracts.

  • Important The api-contract Code now supports deploying the code and a contract in on operation. This aligns with the latest Substrate where code cannot be uploaded with a contract. The createBlueprint is therefore deprecated, use code.tx.<constructor>(...) to deploy code. (Compatible with both old and new versions of Substrate)

Contributed:

Changes:

  • Expand api-contract to allow for Code to deploy contract alongside code. createBlueprint is now deprecated, replaced by createContract or the preferred code.tx.<constructor>, which uploads and deploys the code in one operation. This aligns with the current Substrate master contracts implementation.
  • Allow for signed extensions to be supplied inside type bundles
  • Ensure that the auto-connect state is checked on auto-connections (respecting disconnect)
  • Added CancelProxy to `ProxyTypes on Polkadot, Kusama & Westend
  • Updated to latest Substrate metadata