Files
api/packages/api-contract/test
kwingram25 05ec4964fe Generate types from new contract ABI JSON (#1320)
* generate types from registry

* cleanup

* merge, rearrange

* lint

* built out

* abi v2 creation

* throw on unions

* linting

* version handling

* split functions

* cleanup

* drop v1 support

* special types

* changes

* requested changes

* formatTYpe

* rv outdated test

* rv union test

* codeclimate

* codeclimate

* codeclimate

* codeclimate

* codeclimate

* review

* cleanup encodeTypes

* fix option sub

* TypeDefInfo.Result
2019-10-08 16:31:48 +02: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.