-
Notifications
You must be signed in to change notification settings - Fork 13
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
Implement correctly cosmos account sequence #1334
Comments
We should use the |
I think the Account SDK should return data from the Account Keeper. It looks like the AccountKeeper has all the data needed. |
Will use GetSequence and GetAccountNumber then. |
The |
With that, we should be able to simply use |
This is not that simple. We need to have cosmos context to get the account. I've used auth.NewAccountRetriver to get account number and sequence via rest api. |
Conversation started on #1267 (comment).
The account sequence is currently hardcoded and only work when transactions have different content.
But if 2 transactions have the same content, then they generate the same hash and thus the second is rejected.
The sequence should be always be different.
The text was updated successfully, but these errors were encountered: