Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incompatibility with Solang-Polkadot Compiled Contracts #4

Open
tareknaser opened this issue Nov 11, 2023 · 0 comments
Open

Incompatibility with Solang-Polkadot Compiled Contracts #4

tareknaser opened this issue Nov 11, 2023 · 0 comments

Comments

@tareknaser
Copy link
Contributor

The current situation is that solang-aqd uses the unreleased version 5 of the metadata format, which contains breaking changes. Solang contracts are constructed with version 4 of ink_metadata, lacking the staticBufferSize field in the metadata. As the latest released version used by Solang is 4.3.0, it doesn't include this field yet.

To resolve this, an upgrade of Solang to use the yet unreleased version 5 of ink_metadata is suggested.
This upgrade will align the metadata structure and resolve the incompatibility with Solang-Polkadot compiled contracts.

This is also because we are using the yet unreleased version of contract-extrinsics crate (See #3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant