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

Old metadata conversion #6

Merged
merged 16 commits into from
Sep 16, 2024
Merged

Old metadata conversion #6

merged 16 commits into from
Sep 16, 2024

Conversation

Apolixit
Copy link
Member

This PR handle conversion from MetadataV9/10/11/12/13 to V14
A lot of manual mapping has been done, so now we need to try it in real use case and do some adaptations if needed.

Features added :

  • Convert old metadata to v14
  • Convert v14 to MetaData.cs class from NET.API (to keep compatibility with the NET.Toolchain)
  • Refacto MetadataService to a static class, because this is just algorithm on metadata and nothing has to be persisted, so no need to instanciate this

Apolixit added 16 commits August 2, 2024 23:03
# Conflicts:
#	Substrate.NET.Metadata.Tests/MetadataServiceV10Test.cs
#	Substrate.NET.Metadata.Tests/MetadataServiceV11Test.cs
#	Substrate.NET.Metadata.Tests/MetadataServiceV12Test.cs
#	Substrate.NET.Metadata.Tests/MetadataServiceV13Test.cs
#	Substrate.NET.Metadata.Tests/MetadataServiceV14Test.cs
#	Substrate.NET.Metadata.Tests/MetadataServiceV15Test.cs
#	Substrate.NET.Metadata.Tests/MetadataServiceV9Test.cs
#	Substrate.NET.Metadata.Tests/Substrate.NET.Metadata.Tests.csproj
#	Substrate.NET.Metadata/Substrate.NET.Metadata.csproj
#	Substrate.NET.Metadata/V15/RuntimeMetadataV15.cs
@Apolixit Apolixit added the enhancement New feature or request label Sep 15, 2024
Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
12.5% Duplication on New Code (required ≤ 3%)

See analysis details on SonarCloud

@Apolixit Apolixit changed the title Spike/metadata convert Old metadata conversion Sep 15, 2024
@Apolixit Apolixit merged commit f713645 into master Sep 16, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants