-
Notifications
You must be signed in to change notification settings - Fork 381
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
After upgraded node to v5.43.0, the signedRawTx can't be accept by node #1344
Comments
Did you manually add the What version of polkadot.js are you using? |
I meant the polkadot.js library your code is using. Anyways, this issue seems to be completely related to your code. |
@lajiww have you made sure to update tx version as well? |
Every time when i construct tx, i will get specVersion and transactionVersion from chain |
For spec_version 90, we have sent tx to node successfully. For spec_version 91, we didn't try it. now spec_version is 92 |
how do you sign tx for polkadot? it should work the same |
@lajiww you can fork locally on your browser and test it. No need to send it on-chain. |
before node upgraded, version should be v5.38.0 |
This has nothing to do with node version. Validation is done by runtime. |
@lajiww please provide step-by-step how to reproduce your issue locally. So far we've been guessing, as you've omitted lots of information. |
I'm not sure what this screenshot represents. Please don't post screenshots of the code, but provide either a github link, whole source or a gist. In my previous message I asked for a step-by-step guide to reproduce your issue so please provide that. |
Sry. i can't supply the whole code. If can't find a problem from above information,plz close this issue |
We cannot debug based on what you provided since the issue is with your code or the way you use some libraries. Make sure to update them and recheck the docs of what's new. |
Node version: v5.43.0
after we upgraded node to v5.43.0, the signedRawTx can't be accept by node. I used polkadot.js to decode this signedRawTx and
found it got error.
signedRawTx:
0x4d028400ac64926676a413a99c7e5c00244fcbbd7a72f3488cd97bf65643667ba5c63a470126480008ea5c52d480ef403f324fd75e6772e19698b451fb77c4bc906d3a5a6dd4f76c07e498db9f716114f5d3c08d6f561d9114f57ed81d50cb776bd67a148b00b0001f03001e343e84e457800805cbc9230cddfe799f5e8ab9594424e23187aaa5b9b17d42170000c83dcc27016518
decode:
so I used polkadot.js to generate a transfer, I decoded it and found this tx has a new filed "mode". i changed my code to add "mode" filed when generate transfer. It can be decoded correctly after that. But when i called submitExtrinsic rpc, it still got error.
signedRawTx:
0x55028400f2a3d477b1003c890f105a9abc61751f49d7d283d81c31788bf7e88ae65ffa08014435836f3ca06fb881220d20e2c1c212bb9966fec600447a5e5e9baf725f7b65dd71ede9f80e2b7584ef671e2f9fb16651d2ef7c97b655507f6b99607f2ab58c000000001f0300ac64926676a413a99c7e5c00244fcbbd7a72f3488cd97bf65643667ba5c63a471b00400a9c73d146dcaf01
decode:
submit:
Plz help me to solve this. Thanks
The text was updated successfully, but these errors were encountered: