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

class_id of token.EventIssue contains unnecessary characters #538

Closed
4 tasks
brew0722 opened this issue May 11, 2022 · 2 comments
Closed
4 tasks

class_id of token.EventIssue contains unnecessary characters #538

brew0722 opened this issue May 11, 2022 · 2 comments

Comments

@brew0722
Copy link
Contributor

Summary of Bug

when I executed the lbm tx token issue, it will be returned below.

                {
                    "type": "lbm.token.v1.EventIssue",
                    "attributes": [
                        {
                            "key": "class_id",
                            "value": "\"678c146a\""
                        }
                    ]

If you look at the value, it contains ", which seems unnecessary.

Version

e2acac9

Steps to Reproduce


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@0Tech
Copy link
Collaborator

0Tech commented May 12, 2022

Because TypedEvent may contain arbitrary structures, it uses json formated value. So you must unmarshal the value.

@zemyblue
Copy link
Member

This is same issue with #463 .

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

3 participants