forbole / big-dipper

A block explorer for Cosmos
https://cosmos.bigdipper.live
Apache License 2.0
180 stars 243 forks source link

Claim BLD insurance award #514

Open AlexDCryptoC opened 3 years ago

AlexDCryptoC commented 3 years ago

Describe the bug The txHash generated by this command, is not visible in explorer: 68978D4BC53EFD595E71DA862190C8B5AA51132937ABF39A17850E2E7A9BD883

To Reproduce ag-cosmos-helper tx distribution withdraw-all-rewards --from=stake2earn --chain-id=agorictest-11 --gas=auto --keyring-dir=$HOME/.ag-cosmos-helper

Screenshots image

Desktop (please complete the following information):

kwunyeung commented 3 years ago

@michaelfig is that tx missing in your node for running Big Dipper?

AlexDCryptoC commented 3 years ago

Nop, from my node is not missing ( I can 'query tx' that hash directly in chain and see the results). But in Big Dipper browser explorer, while searching for that tx, I found anything.

michaelfig commented 3 years ago

@michaelfig is that tx missing in your node for running Big Dipper?

I've confirmed that the tx is on Big Dipper, just that the withdraw_rewards rendering has a problem with the data model, and it's the same on current master. I've traced it to events.withdraw_rewards is undefined:

root@explorer-testnet:/home/bigdipper/big-dipper# rg withdraw_rewards .
./imports/ui/components/Activities.jsx
84:            return <p><Account address={msg.delegator_address}/> {(this.props.invalid)?<T>activities.failedTo</T>:''}<MsgType type={msg["@type"]} /> {(!this.props.invalid)?<T _purify={false} amount={new Coin(parseInt(events['withdraw_rewards'][0].value), events['withdraw_rewards'][0].value.replace(/[0-9]/g, '')).toString(6)}>activities.withAmount</T>:''} <T>activities.from</T> <Account address={msg.validator_address} /><T>common.fullStop</T></p>
root@explorer-testnet:/home/bigdipper/big-dipper# 

You can reproduce it at: https://testnet-11.explorer.agoric.net/transactions/68978D4BC53EFD595E71DA862190C8B5AA51132937ABF39A17850E2E7A9BD883

image