-
Notifications
You must be signed in to change notification settings - Fork 355
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
Your runtime does not expose the api.call.contractsApi.call runtime interfaces #5400
Comments
It literally means what it says - the chain you are connecting to does not expose the runtime interfaces required. See the explict check - api/packages/api-contract/src/base/Base.ts Lines 27 to 29 in 114050f
It either means - (a) it is a non-contract chain (e.g. Polkadot/Kusama/etc - a chain explicitly needs to have the contracts pallet included in the on-chain runtime) |
Yes, I saw the My setup:
Given that:
|
I think I've found the reason why it keeps working with ContractsUI paritytech/substrate#12358 |
My chain is exposing that interface though @jacogr , see https://github.com/Cardinal-Cryptography/aleph-node/blob/main/bin/runtime/src/lib.rs#L924 |
Yes, the RPCs are completely unused since they are deprecated/removed in Substrate. So the API only uses the state call interfaces directly. |
Tell me, please, if I get the exact same error when running
Wouldn't that mean it's not the problem with my chain but the library? Error:
|
@jacogr , turns out that the error was caused by invalid version of npm -- failed on |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query. |
After upgrading network to WeightsV2, my frontend code started to fail with the following errors
link to the repository.
Version:
Environment:
Language:
"typescript": "^4.8.4"
)The text was updated successfully, but these errors were encountered: