Skip to content

Update contracts module and add example to CI #435

@haerdib

Description

@haerdib

The current contracts is outdated. PutCode for example does not exist any more and instantiate_with_code is deprecated.
See https://polkadot.js.org/docs/substrate/extrinsics/#contracts & https://github.com/paritytech/substrate/blob/bfc2d085f392ccfb369251709bccb4bfa0edebe7/frame/contracts/src/lib.rs.

That should be fixed. Additionally, I don't see any reason why https://github.com/scs/substrate-api-client/blob/1fe5ffeef2e2e2ede77a8f8174a4f232e5a63979/examples/examples/contract_instantiate_with_code.rs should not be tested in CI. Kitchensink runtime includes this pallet.

Additional fixes:

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions