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

do not rely only on transaction signatures #1066

Merged
merged 1 commit into from
Nov 29, 2019
Merged

Conversation

husio
Copy link
Contributor

@husio husio commented Nov 29, 2019

Update x/sigs and x/username to not rely only on x.AnySigner but
use it as a fallback. Always allow to enforce an address by setting it
in the message and ignore signers order.

This is a backward compatible change, because new fields are optional.

Update `x/sigs` and `x/username` to not rely only on `x.AnySigner` but
use it as a fallback. Always allow to enforece an address by setting it
in the message and ignore signers order.
@orkunkl
Copy link
Contributor

orkunkl commented Nov 29, 2019

Interesting... Why use it as fallback, I mean what drove you to make user optional?

@codecov-io

This comment has been minimized.

@husio
Copy link
Contributor Author

husio commented Nov 29, 2019

It must be optional, because backward compatibility must be preserved. We cannot change functionality that was once executed on production.

Copy link
Contributor

@webmaster128 webmaster128 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice

@husio husio merged commit fd99a32 into master Nov 29, 2019
@husio husio deleted the do_not_rely_on_signatures branch November 29, 2019 12:00
husio added a commit that referenced this pull request Dec 16, 2019
This change is a reverse of modification introduced in 0.23.0 release.
Do not allow to explicitely specify a new token owner. Rely on the
`AnySigner` result.
The above was an improvement. We deprecate `x/username` pacakge and do
not want to introduce more work, even if those are fixing issues.

resolve #1066
husio added a commit that referenced this pull request Dec 16, 2019
This change is a reverse of modification introduced in 0.23.0 release.
Do not allow to explicitely specify a new token owner. Rely on the
`AnySigner` result.
The above was an improvement. We deprecate `x/username` pacakge and do
not want to introduce more work, even if those are fixing issues.

resolve #1066
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

Successfully merging this pull request may close these issues.

4 participants