Skip to content

Generic ledger/runtime v15 #1517

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

Merged
merged 3 commits into from
May 16, 2024
Merged

Conversation

valentunn
Copy link
Member

Requires novasamatech/substrate-sdk-android#89

  • Adjust metadata fetching logic:
  1. Fetch all available metadata versions, take the latest known to the app (15 or lower)
  2. Fetch the determined version using state_call
  3. If (1) or (2) fails - fallback to rpc fetching
  • Store the flag for whether metadta is opaque or not since state_call and rpc call have different format
  • Introduce metadata cache migrator - force metadata fetching for all networks after app update to get v15 metadata for already updated networks

@valentunn valentunn force-pushed the generic_ledger/runtime_v15 branch from cb67211 to b9a2ff9 Compare May 14, 2024 12:52
@valentunn valentunn merged commit 41b0919 into generic_ledger_base May 16, 2024
1 check failed
@valentunn valentunn deleted the generic_ledger/runtime_v15 branch May 16, 2024 07:10
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.

1 participant