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

use types v6 #799

Merged
merged 24 commits into from
Aug 31, 2023
Merged

use types v6 #799

merged 24 commits into from
Aug 31, 2023

Conversation

shunjizhan
Copy link
Collaborator

@shunjizhan shunjizhan commented Aug 9, 2023

Change

  • upgraded to use new acala types v6, and updated polkadot api to latest version
  • removed temp runtime type patch, they are now all available in the acala types
  • removed legacy createApi file

fix #578
fix #766

Test

  • all tests still pass
  • manually inspected that every api.xxx has a precise TS signature
  • all methods are now decorated, so starting rpc adapter with latest runtime 2200 doesn't throw any of the previous warnings
API/INIT: RPC methods not decorated: chainHead_unstable_body, chainHead_unstable_call, chainHead_unstable_follow, chainHead_unstable_genesisHash, chainHead_unstable_header, chainHead_unstable_stopBody, chainHead_unstable_stopCall, chainHead_unstable_stopStorage, chainHead_unstable_storage, chainHead_unstable_unfollow, chainHead_unstable_unpin, transaction_unstable_submitAndWatch, transaction_unstable_unwatch
API/INIT: mandala/2200: Not decorating runtime apis without matching versions: Metadata/2 (1 known)

@shunjizhan shunjizhan changed the title Use new type use types v6 Aug 18, 2023
@shunjizhan shunjizhan marked this pull request as ready for review August 30, 2023 09:57
@shunjizhan shunjizhan requested review from zjb0807 and xlc August 30, 2023 10:03
@shunjizhan shunjizhan merged commit e6c3f8e into master Aug 31, 2023
12 checks passed
@shunjizhan shunjizhan deleted the use-new-type branch August 31, 2023 01:58
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.

fix temp type patch RPC not decorated warning
2 participants