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

Remove userBlock event attribute key prefix #291

Closed
RiccardoM opened this issue Oct 8, 2020 · 0 comments · Fixed by #301
Closed

Remove userBlock event attribute key prefix #291

RiccardoM opened this issue Oct 8, 2020 · 0 comments · Fixed by #301
Assignees
Labels
kind/enhancement Enhance an already existing feature; no "New feature" to add
Milestone

Comments

@RiccardoM
Copy link
Contributor

Bug description

Looking at this transaction, we can see that the block_user event has the following attributes:

{
  "type": "block_user",
  "attributes": [
    {
      "key": "userBlock_blocker",
      "value": "desmos16t82uc3cs0tszpcx363rwk8yx6dthcyrjcn9d4"
    },
    {
      "key": "userBlock_blocked",
      "value": "desmos1uj9c9929scde78wu3u5r99wcavf2fzl7rdesmh"
    },
    {
      "key": "subspace",
      "value": "4e188d9c17150037d5199bbdb91ae1eb2a78a15aca04cb35530cccb81494b36e"
    },
    {
      "key": "userBlock_reason",
      "value": "You have a lot of stake"
    }
  ]
}

As we can see, some keys have the prefix of userBlock_. We can remove this.

@RiccardoM RiccardoM added the kind/enhancement Enhance an already existing feature; no "New feature" to add label Oct 8, 2020
@RiccardoM RiccardoM added this to the v0.13.0 milestone Oct 8, 2020
@RiccardoM RiccardoM added the x/profiles Module that allows to create and manage decentralized social profiles label Oct 14, 2020
@leobragaz leobragaz added module/relationships and removed x/profiles Module that allows to create and manage decentralized social profiles labels Oct 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Enhance an already existing feature; no "New feature" to add
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants