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

Fix broken web frontend #122

Merged
merged 13 commits into from
May 16, 2023
Merged

Fix broken web frontend #122

merged 13 commits into from
May 16, 2023

Conversation

tash-2s
Copy link
Member

@tash-2s tash-2s commented May 16, 2023

This PR fixes the problem that made the frontend broken and unusable.

The cause of the issue is that the contract query RPC that we've used was removed in paritytech/substrate#12358, and that has been preventing querying data from the chain. The error on the front is Error: Your runtime does not expose the api.call.contractsApi.call runtime interfaces.

To fix this, I updated the @polkadot/api to the latest version, which uses the live RPC. Also, some updates required to align with the new environment were applied.

This resolves #119.

More maintenance tasks and revamp of dev docs will follow soon.

@tash-2s tash-2s merged commit 1c7fdc8 into OpenEmojiBattler:main May 16, 2023
@tash-2s tash-2s deleted the revive branch May 16, 2023 20:57
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

Successfully merging this pull request may close these issues.

Error: Your runtime does not expose the api.call.contractsApi.call runtime interfaces
1 participant