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

[Discussion]: Find reason why simulate success with wrong publickey #75

Open
InnerPeace080 opened this issue May 3, 2024 · 0 comments

Comments

@InnerPeace080
Copy link
Collaborator

Summary

When address first init (first receive tkx from other account), it do not have public key infomation.

Call simulate with wrong public key type /cosmos.crypto.ed25519.PubKey return error.
But after try use keplr to send tkx from that account => it have public key information after that. And Call simulate again with still wrong public key type => it success this time . WHY is it happen.

Issue meet before:

Very new address do not have public key info => error when create delegate transaction

Proceduce step:

send tkx to very new address (that address do not have public key information when retrieve account info)

use new address to create transaction (in tkxscan.io)

delegate : error when verify signature

First transaction have high probability to fail with gas error. But after that public key information have created and everything after that become normal

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

No branches or pull requests

1 participant