-
Notifications
You must be signed in to change notification settings - Fork 115
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
Migrate the 'chain-spec-builder' utility project to the Substrate 2.0.0rc4 #1148
Conversation
- removed all traces of the pallet_contracts (runtime, rpc, node, chain_spec) - fix load_spec TODO
@@ -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. |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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. 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
There is one piece of useful information which we seem to have lost now which is the commit hash in the version string like:
Is it possible to add it back? |
I restored the node version from the environment variable. |
Features:
chain-spec-builder
utility to the Substrate 2.0.0rc4pallet_contracts
were removed (runimte, rpc, node, chain-spec-builder)AccountInfo
in theservice-discovery
was renamed toStorageProviderAccountInfo
build.rs
scripts in the runtime and node projects.