-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Stop using system_accountNextIndex
#10641
Comments
@TarikGul do you know if there is any way to skip this RPC right now? |
If Im not mistaken this needs to be adjusted in the api layer. I am doing a release of the api tomorrow - It's a must need urgent release. I will try and get this adjusted as well! If I am not mistaken all that needs to be changed is the rpc call needs to be replaced with the runtime api call? |
To further clarify why this is an api level issue: api.derive.tx.signingInfo is where the rpc call is used. |
Completed via polkadot-js/api#5915 |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue if you think you have a related problem or query. |
Pjs should stop using the Rpc and instead switch to the runtime api. The rpc requires that the node is aware of the accountid, which contradicts the "omni node future".
This has one downside, the rpc is adjusting the nonce based on the content in the local transaction pool. However, this will also not really work for light clients as they only keep their own transactions and not external transactions. Users are expected to not use their account from different devices/apps at once.
The text was updated successfully, but these errors were encountered: