paritytech / subxt

Interact with Substrate based nodes in Rust or WebAssembly
Other
390 stars 236 forks source link

Runtime call fails with IncompatibleCodegen error code when filtering pallets in generated code #1659

Open pgherveou opened 1 week ago

pgherveou commented 1 week ago

Here is the repro walk through:

The example should work if you generate the metadata with subxt metadata --url ws://localhost:9944 -o metadata.scale

It will fail with Error: Metadata(IncompatibleCodegen) when the code is generated with subxt metadata --pallets "Balances,Timestamp,Contracts,ContractsEvm,System" --url ws://localhost:9944 -o metadata.scale