Skip to content

Commit

Permalink
feat(namada): include name field in validator metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
egasimus committed Aug 26, 2024
1 parent 85db832 commit 716e511
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/namada/src/tx/content.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ fn become_validator (binary: &[u8]) -> Result<Object, Error> {
("website".into(), inner.website.into()),
("discordHandle".into(), inner.discord_handle.into()),
("avatar".into(), inner.avatar.into()),
("name".into(), inner.name.into()),
])
}

Expand Down Expand Up @@ -129,6 +130,7 @@ fn change_validator_metadata (binary: &[u8]) -> Result<Object, Error> {
("discordHandle".into(), inner.discord_handle.into()),
("avatar".into(), inner.avatar.into()),
("commissionRate".into(), inner.commission_rate.map(|x|format!("{x}")).into()),
("name".into(), inner.name.into()),
])
}

Expand Down

0 comments on commit 716e511

Please sign in to comment.