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

Remove MultiSignature #127

Merged
merged 13 commits into from
Dec 18, 2020
Merged

Remove MultiSignature #127

merged 13 commits into from
Dec 18, 2020

Conversation

JoshOrndorff
Copy link
Contributor

@JoshOrndorff JoshOrndorff commented Nov 19, 2020

What does it do?

Changes the Moonbeam Runtime's signature type from a MultiSignature to just EthereumSignature.

What important points reviewers should know?

The main reason we had Multisignature was for compatability with Polkadot JS which expected Multisignature in the past. Now that PolkadotJS is flexible to support this single signature type, we should use it.

Is there anything left for Followups

The one thing that doesn't appear working is the display of token balances in Apps. I'm not sure whether this is new with this PR, or pre-existing. Confirmed this issue exists in master and was not introduced by this PR. So this is good to go.

Are there relevant PRs or issues in other repositories (Substrate, Polkadot, Frontier, Cumulus)?

MOON-117 - tracking issue
polkadot-js/api#2845 - Jaco adds ability to no use MultiSignature
polkadot-js/apps#4151 - Antoine adds our updated types

What value does it bring to the blockchain users?

It is a minor detail in the unified accounts story. We want Ethereum-style H160 accounts to be the one and only notion of account on Moonbeam

Checklist

  • Does it require a purge of the network?
  • You bumped the runtime version if there are breaking changes in the runtime ?
  • [NO] Does it require changes in documentation/tutorials ?

@JoshOrndorff JoshOrndorff marked this pull request as draft November 19, 2020 19:55
@JoshOrndorff
Copy link
Contributor Author

@joelamouche I've done as much as I can for now here. I'll need you to tell me whether this works with Polkadot JS, or what else I need to do on it.

@joelamouche
Copy link
Contributor

Everything seems to be working. How do I provision an account with tokens to test transfer?

@joelamouche

This comment has been minimized.

@JoshOrndorff

This comment has been minimized.

@JoshOrndorff

This comment has been minimized.

@joelamouche

This comment has been minimized.

@joelamouche

This comment has been minimized.

@joelamouche

This comment has been minimized.

@JoshOrndorff

This comment has been minimized.

@joelamouche

This comment has been minimized.

@joelamouche
Copy link
Contributor

joelamouche commented Dec 7, 2020

@JoshOrndorff I corrected the type on this branch https://github.com/joelamouche/apps/tree/jlm-update-moonbeam-types and all the transfers work now. I added "[u8; 65]" type for the Ethereum signature, which is the ecdsa signature format.

Please test and let me know if it works for you so that I can submit the PR

https://github.com/polkadot-js/apps/pull/4151/files

@JoshOrndorff

This comment has been minimized.

@JoshOrndorff JoshOrndorff marked this pull request as ready for review December 14, 2020 17:05
runtime/account/src/lib.rs Outdated Show resolved Hide resolved
Co-authored-by: Amar Singh <asinghchrony@protonmail.com>
@4meta5 4meta5 mentioned this pull request Dec 17, 2020
3 tasks
@crystalin
Copy link
Collaborator

I think this could be merged once green

@JoshOrndorff JoshOrndorff merged commit 319ab3e into master Dec 18, 2020
@JoshOrndorff JoshOrndorff deleted the joshy-no-multisig branch December 18, 2020 21:52
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.

4 participants