Skip to content

Commit

Permalink
Merge branch 'develop' into refactor/graphql
Browse files Browse the repository at this point in the history
  • Loading branch information
songwongtp authored Sep 20, 2024
2 parents ee113a1 + 9006ed2 commit 1764573
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Bug fixes

- [#1159](https://github.com/alleslabs/celatone-frontend/pull/1159) Fix search showing invalid proposal and pool id
- [#1158](https://github.com/alleslabs/celatone-frontend/pull/1158) Fix incorrect msg detail extraction, total deposits is null in proposal
- [#1150](https://github.com/alleslabs/celatone-frontend/pull/1150) Fix camel case on message

## v1.9.0
Expand Down
28 changes: 14 additions & 14 deletions src/lib/pages/tx-details/components/tx-message/TxMsgExpand.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,10 @@ export const TxMsgExpand = ({
from{" "}
<ExplorerLink
type="code_id"
value={body.codeId as string}
value={body.code_id as string}
showCopyOnHover
textVariant="body1"
rightIcon={<WasmVerifyBadgeById codeId={Number(body.codeId)} />}
rightIcon={<WasmVerifyBadgeById codeId={Number(body.code_id)} />}
ampCopierSection="tx_page_message_header_code"
/>
</Flex>
Expand All @@ -120,10 +120,10 @@ export const TxMsgExpand = ({
from{" "}
<ExplorerLink
type="code_id"
value={body.codeId as string}
value={body.code_id as string}
showCopyOnHover
textVariant="body1"
rightIcon={<WasmVerifyBadgeById codeId={Number(body.codeId)} />}
rightIcon={<WasmVerifyBadgeById codeId={Number(body.code_id)} />}
ampCopierSection="tx_page_message_header_code"
/>
</Flex>
Expand Down Expand Up @@ -163,7 +163,7 @@ export const TxMsgExpand = ({
to Code ID{" "}
<ExplorerLink
type="code_id"
value={body.codeId as string}
value={body.code_id as string}
showCopyOnHover
textVariant="body1"
ampCopierSection="tx_page_message_header_code"
Expand All @@ -185,8 +185,8 @@ export const TxMsgExpand = ({
/>{" "}
to{" "}
<ExplorerLink
type={getAddressType(body.newAdmin as string)}
value={body.newAdmin as string}
type={getAddressType(body.new_admin as string)}
value={body.new_admin as string}
showCopyOnHover
textVariant="body1"
ampCopierSection="tx_page_message_header_admin"
Expand All @@ -211,7 +211,7 @@ export const TxMsgExpand = ({
break;
case "/cosmos.bank.v1beta1.MsgSend":
{
const toAddress = body.toAddress as BechAddr;
const toAddress = body.to_address as BechAddr;
const singleCoin = (body.amount as Coin[])[0];
const singleToken = coinToTokenWithValue(
singleCoin.denom,
Expand Down Expand Up @@ -243,7 +243,7 @@ export const TxMsgExpand = ({
msgIcon = "submit-proposal";
content = (
<Flex gap={1} display="inline">
Submit Proposal {(body.isExpedited as boolean) && " Expedited "}
Submit Proposal {(body.is_expedited as boolean) && " Expedited "}
{log && (
<>
ID{" "}
Expand Down Expand Up @@ -272,7 +272,7 @@ export const TxMsgExpand = ({
on proposal ID{" "}
<ExplorerLink
type="proposal_id"
value={body.proposalId as string}
value={body.proposal_id as string}
showCopyOnHover
textVariant="body1"
ampCopierSection="tx_page_message_header_proposal"
Expand All @@ -286,16 +286,16 @@ export const TxMsgExpand = ({
<Flex gap={1} display="inline">
Delegate by{" "}
<ExplorerLink
type={getAddressType(body.delegatorAddress as string)}
value={body.delegatorAddress as string}
type={getAddressType(body.delegator_address as string)}
value={body.delegator_address as string}
showCopyOnHover
textVariant="body1"
ampCopierSection="tx_page_message_header_delegator"
/>{" "}
to{" "}
<ExplorerLink
type={getAddressType(body.validatorAddress as string)}
value={body.validatorAddress as string}
type={getAddressType(body.validator_address as string)}
value={body.validator_address as string}
showCopyOnHover
textVariant="body1"
ampCopierSection="tx_page_message_header_validator"
Expand Down

0 comments on commit 1764573

Please sign in to comment.