Skip to content

Commit

Permalink
Merge pull request #3000 from luniehq/mario/2983-moniker-undefined-re…
Browse files Browse the repository at this point in the history
…delegations

Mario/2983 moniker undefined redelegations
  • Loading branch information
faboweb authored Sep 30, 2019
2 parents 598e95e + 78e2168 commit ba8651c
Show file tree
Hide file tree
Showing 5 changed files with 489 additions and 483 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ commands:
steps:
- restore_cache:
keys:
- v4-dependencies-root-{{ checksum "package.json" }}
- v4-dependencies-root-
- v5-dependencies-root-{{ checksum "yarn.lock" }}
- v5-dependencies-root-

- run: yarn install
- save_cache:
paths:
- yarn.lock
- node_modules
key: v4-dependencies-root-{{ checksum "package.json" }}
key: v5-dependencies-root-{{ checksum "yarn.lock" }}

yarn-install-extension:
description: "[YARN] update and install"
Expand Down
1 change: 1 addition & 0 deletions changes/mario_2983-moniker-undefined-redelegations
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[Fixed] [#2983](https://github.com/cosmos/lunie/issues/2983) Fix undefined validator moniker in redelegations @mariopino
2 changes: 1 addition & 1 deletion src/components/staking/PageValidator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export default {
return validators.concat({
address: address,
maximum: Math.floor(committedDelegations[address]),
key: `${delegate.moniker} - ${formatBech32(
key: `${delegate.description.moniker} - ${formatBech32(
delegate.operator_address,
false,
20
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1286,7 +1286,7 @@ Array [
},
Object {
"address": "cosmosvaladdr15ky9du8a2wlstz6fpx3p4mqpjyrm5ctplpn3au",
"key": "undefined - cosmosvaladdr…3p4mqpjyrm5ctplpn3au",
"key": "good_greg - cosmosvaladdr…3p4mqpjyrm5ctplpn3au",
"maximum": 5,
"value": 1,
},
Expand Down
Loading

0 comments on commit ba8651c

Please sign in to comment.