-
Notifications
You must be signed in to change notification settings - Fork 2.6k
subkey and polkadot-js tools #3573
Comments
Is your js running schnorrkel 0.1.1 or 0.8.*? We verify correctly the deprecated schnorrkel 0.1.1 signatures in polkadot, but we'll disable this once all the testnets have transitioned. |
Thanks Jeff. |
CC @jacogr |
The JS side is on 0.1.1 - since it still needs Alexander and (some other, e.g. templates) 1.x chain support. The PR is completed, but marked as on-ice until Substrate 1.x support is dropped. polkadot-js/wasm#29 |
@jacogr Thanks. I verified 0.1.1 is ok. And BTW, the readme of subkey:
There is a little small issue that we will get an '0x0a' in the end of message without -n. Nothing a big deal but will be better if
|
@chesterliliang ty for reporting back! I will close this now. |
Could we suggest different branches of polkadot-js for different chains? I'm wondering how long these deployments persist. |
I have a whole chain of dependencies -
There will be a final version of the api that still supports 1.x before that gets dropped (for chains that are based on Substrate 1.x, while e.g. the UI will just immediately "stop"), but while we still have in-use chains with no actual other options, i.e. we don't have an Alexander replacement as of yet, there is not much room to move to just "drop stuff randomly". While all do-able, I'm not jumping up and down with joy at the prospect of having to manage multiples of each of the above alongside everything else, I only have so many hours a day and stretched as it is. While there are still compatibility options, not creating extra work. |
I see. We're not going to upgrade Alexander either? Do we know how long it'll live? |
Don't let my lack of action stop anything, there are ways to manage this (it just adds overhead and some additional support/confusion), but nothing should be a show-stopper in the name of progress. The path of least friction till now is "having the work done, but not merged". Alexander is 6+ months old and really cannot be upgraded from Polkadot 0.4 to 0.5 (lots of things moved around, the trie has changed, etc. It can be done with migration scripts, but is is easier to re-launch a testnet in the same vein without wasted effort) |
I am testing the sr25519 signatures both using subkey tool and polkadot-js tool. I found the signature made by js tool could be verified by subkey, but subkey's signature could not be verified by js any way.
network: kusama
substrate version:
commit 3ba0f2a
(HEAD -> polkadot-master, origin/polkadot-master)
sr25519 for subkey: 0.8.4
url for js tool:https://polkadot.js.org/apps/#/toolbox/verify
setting: to kusama host by parity
account:
subkey verify data=12 in textbox on page
sign cmd on subkey
The text was updated successfully, but these errors were encountered: