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

Disable creation #11

Merged
merged 8 commits into from
Aug 17, 2020
Merged

Disable creation #11

merged 8 commits into from
Aug 17, 2020

Conversation

mikiquantum
Copy link
Contributor

@mikiquantum mikiquantum commented Aug 13, 2020

Commented multi-account creation extrinsic code.
Ensuring tests still pass by keeping the create function as internal only, for smoother transition.

Copy link
Contributor

@philipstanislaus philipstanislaus left a comment

Choose a reason for hiding this comment

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

Thanks 🙏

@vedhavyas
Copy link
Contributor

@mikiquantum would removing this extrinsic changes/breaks the metadata and makes the signer unusable? If so, I was thinking we could keep the extrinsic as is but just error out with a helpful error message and do a metadata update once we add the proxy pallet in. WDYT ?

@mikiquantum
Copy link
Contributor Author

@vedhavyas I like that approach too, I would then create an empty extrinsic function that returns a useful error. Since I am not sure if that would affect the parity signer, although in any case, that would need to be updated with the bundle of RC3 I believe.

src/lib.rs Outdated Show resolved Hide resolved
@@ -2,10 +2,6 @@
# will have compiled files and executables
/target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
Cargo.lock
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mikiquantum mikiquantum merged commit ce36ce9 into centrifuge:master Aug 17, 2020
@mikiquantum mikiquantum deleted the dis/create branch August 17, 2020 17:35
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.

3 participants