Skip to content

Missing coin denomination in logs #9785

@skeremidchiev

Description

@skeremidchiev

Summary of Bug

Methods CreateValidator(), Delegate(), BeginRedelegate(), Undelegate() from msgServer in x/staking/keeper/msg_server.go emit incorrect event with missing coin denomination part.

For example instead of having an attribute inside logs with this data:
{"key":"amount","value":"45856uphoton"}
Logs currently contain:
{"key":"amount","value":"45856"}

Version

cosmos-sdk v0.43.0-rc2

Steps to Reproduce


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions