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

Migrate the 'chain-spec-builder' utility project to the Substrate 2.0.0rc4 #1148

Conversation

shamil-gadelshin
Copy link
Contributor

Features:

  • converted chain-spec-builder utility to the Substrate 2.0.0rc4
  • all traces of the pallet_contracts were removed (runimte, rpc, node, chain-spec-builder)
  • AccountInfo in the service-discovery was renamed to StorageProviderAccountInfo
  • updated build.rs scripts in the runtime and node projects.

@@ -10,8 +10,8 @@
//!
//! ## Supported extrinsics
//!
//! - [set_ipns_id](./struct.Module.html#method.set_ipns_id) - Creates the AccountInfo to save an IPNS identity for the storage provider.
//! - [unset_ipns_id](./struct.Module.html#method.unset_ipns_id) - Deletes the AccountInfo with the IPNS identity for the storage provider.
//! - [set_ipns_id](./struct.Module.html#method.set_ipns_id) - Creates the StorageProviderAccountInfo to save an IPNS identity for the storage provider.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand the need to change the name here because it conflicts with the balances::AccountInfo struct. And I recommend a better name of ServiceProviderRecord because it shouldn't be storage provider specific. I'm not sure how much longer we will keep this module around or if it will be used by other services, but until then we might as well use a general name.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

types library is prepared with this requested change #1153

This is the only change request otherwise ready to merge. 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@mnaamani
Copy link
Member

There is one piece of useful information which we seem to have lost now which is the commit hash in the version string like:

MokoBook:substrate mokhtar$ joystream-node --version
joystream-node 2.7.0-dc3b7624f-x86_64-macos

Is it possible to add it back?

@shamil-gadelshin
Copy link
Contributor Author

I restored the node version from the environment variable.

@mnaamani mnaamani merged commit 6ee1a56 into Joystream:substrate_version_upgrade Aug 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants