Files
api/packages/api-contract/test
Jaco 72fcd97cdb Add typeName to TypeDef (#4089)
* Add typeName to TypeDef

* Sanitize typeName

* Export typeName inside fuction args meta

* Correct typeName extraction
2021-10-22 08:35:09 +03:00
..
2021-10-22 08:35:09 +03:00
2019-08-28 16:13:06 +02:00

A breaking change was introduced by substrate runtime spec_version 97. https://github.com/paritytech/substrate/pull/2911/files

The change had to be implemented in ink! which changed the structure of the Wasm files.

The Polkadot JS API is only supporting srml-contract and ink! versions after than spec_version 97.

Compatibility If the substrate version is older than this https://github.com/paritytech/substrate/pull/2911 it will only work with contracts generated by an ink! version prior to https://github.com/paritytech/ink/pull/129 and vice versa.