You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Somewhat similar to paritytech/polkadot-sdk#173, it seems like this macro also does not work if sp-api is not directly in scope as a dependency. The error message is very cryptic:
This prevents eg. #14137 to re-export sp_api::Core and impl_runtime_apis in a way that is meaningfully usable.
Note that for rest of the APIs, like sp_block_builder you can import it from a 3rd party re-export them from somewhere else and it works. Although, you need make sure to re-export them like pub use sp_block_builder::* to re-export some magic generated by decl_runtime_apis! as well.