question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Metadata v14 content

See original GitHub issue

With the new scale-info features, many need to migrate and in general we should discuss and inform builders of it.

  • What versions of Substrate include this?
  • What changes in your nodes need to be made?
  • What changes in clients/apps need to be made?

Migration guide: https://gist.github.com/ascjones/0d81a4c44e84cacd9f714cd34a6de823

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
JoshOrndorffcommented, Oct 21, 2021

The scale-info crate docs are helpful too https://docs.rs/crate/scale-info/1.0.0

And great tip from @wischli in https://gist.github.com/ascjones/0d81a4c44e84cacd9f714cd34a6de823#gistcomment-3931135

I would like to add that you should add #[scale_info(skip_type_params(T))] for structs which lazily use the pallet’s Config as generic such as pub struct Example<T: Config> - if this statement is correct. This would have saved me quite some time when debugging our upgrade to 0.9.11 sweat_smile

1reaction
ascjonescommented, Oct 18, 2021

I had promised to write some docs on this which I have failed to do so far. I will do a session on this at the retreat so need to do some prep this week and can send over my unedited notes for this as a start.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Metadata Plus - Optimizely
This topic describes Metadata Plus (MDP) 2.0, which is the underlying default storage engine for purchase orders and subscriptions in Optimizely Commerce ...
Read more >
Field Metadata Overrides — Skuid v14.4.3 Documentation
When Skuid retrieves a field from a data object, it returns the field name and field display type as it is stored within...
Read more >
Coming soon! Changes to NCBI Datasets command-line tool ...
More details · How is version 14 of the Datasets command-line tools (CLI v14.x) different from CLI v13. · Easier access to metadata...
Read more >
Veeva Vault Developer Network | API Reference (v14.0)
v7+ - Supports asynchronous metadata indexing. v8+ - Supports suppress generation of viewable rendition. Create Content Placeholder Document.
Read more >
How do I check what metadata version a chain is running?
My confusion stems from the fact that I know that Polkadot/Kusama has upgraded to v14 a while back, but I don't see the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found