diff --git a/configs/envs/.env.optimism_goerli b/configs/envs/.env.optimism_goerli new file mode 100644 index 0000000000..d34f132149 --- /dev/null +++ b/configs/envs/.env.optimism_goerli @@ -0,0 +1,48 @@ +# Set of ENVs for zkevm (dev only) +# https://eth.blockscout.com/ + +# app configuration +NEXT_PUBLIC_APP_PROTOCOL=http +NEXT_PUBLIC_APP_HOST=localhost +NEXT_PUBLIC_APP_PORT=3000 + +# blockchain parameters +NEXT_PUBLIC_NETWORK_NAME='OP Goerli' +NEXT_PUBLIC_NETWORK_SHORT_NAME='OP Goerli' +NEXT_PUBLIC_NETWORK_ID=420 +NEXT_PUBLIC_NETWORK_CURRENCY_NAME=Ether +NEXT_PUBLIC_NETWORK_CURRENCY_SYMBOL=ETH +NEXT_PUBLIC_NETWORK_CURRENCY_DECIMALS=18 +NEXT_PUBLIC_NETWORK_VERIFICATION_TYPE=validation +NEXT_PUBLIC_NETWORK_RPC_URL=https://goerli.optimism.io + +# api configuration +NEXT_PUBLIC_API_HOST=optimism-goerli.blockscout.com +NEXT_PUBLIC_API_PORT=80 +NEXT_PUBLIC_API_PROTOCOL=http +NEXT_PUBLIC_API_BASE_PATH=/ + +# ui config +## homepage +NEXT_PUBLIC_HOMEPAGE_CHARTS=['daily_txs'] +## sidebar +NEXT_PUBLIC_FEATURED_NETWORKS=https://raw.githubusercontent.com/blockscout/frontend-configs/main/configs/featured-networks/polygon-mainnet.json +## footer +## misc +NEXT_PUBLIC_NETWORK_EXPLORERS=[{'title':'Etherscan','baseUrl':'https://etherscan.io/','paths':{'tx':'/tx','address':'/address','token':'/token','block':'/block'}}] +# app features +NEXT_PUBLIC_APP_INSTANCE=local +NEXT_PUBLIC_APP_ENV=development +NEXT_PUBLIC_GRAPHIQL_TRANSACTION=0xf7d4972356e6ae44ae948d0cf19ef2beaf0e574c180997e969a2837da15e349d +NEXT_PUBLIC_IS_ACCOUNT_SUPPORTED=true +# NEXT_PUBLIC_AUTH_URL=http://localhost:3000 +NEXT_PUBLIC_API_WEBSOCKET_PROTOCOL=ws +NEXT_PUBLIC_LOGOUT_URL=https://blockscoutcom.us.auth0.com/v2/logout +NEXT_PUBLIC_STATS_API_HOST=https://stats-eth-main.k8s.blockscout.com +NEXT_PUBLIC_VISUALIZE_API_HOST=https://visualizer.services.blockscout.com +NEXT_PUBLIC_CONTRACT_INFO_API_HOST=https://contracts-info.services.blockscout.com +NEXT_PUBLIC_ADMIN_SERVICE_API_HOST=https://admin-rs.services.blockscout.com +# rollup +NEXT_PUBLIC_IS_OPTIMISTIC_L2_NETWORK=true +NEXT_PUBLIC_OPTIMISTIC_L2_WITHDRAWAL_URL=https://app.optimism.io/bridge/withdraw +NEXT_PUBLIC_L1_BASE_URL=https://eth-goerli.blockscout.com/ diff --git a/lib/shortenString.ts b/lib/shortenString.ts index 28a7f67411..bda35d1dca 100644 --- a/lib/shortenString.ts +++ b/lib/shortenString.ts @@ -1,11 +1,11 @@ -export default function shortenString(string: string | null) { +export default function shortenString(string: string | null, charNumber = 8) { if (!string) { return ''; } - if (string.length <= 7) { + if (string.length <= charNumber - 1) { return string; } - return string.slice(0, 4) + '...' + string.slice(-4); + return string.slice(0, charNumber - 4) + '...' + string.slice(-4); } diff --git a/nextjs/nextjs-routes.d.ts b/nextjs/nextjs-routes.d.ts index 95379a083a..0cc79a3a13 100644 --- a/nextjs/nextjs-routes.d.ts +++ b/nextjs/nextjs-routes.d.ts @@ -38,9 +38,9 @@ declare module "nextjs-routes" { | StaticRoute<"/login"> | DynamicRoute<"/name-domains/[name]", { "name": string }> | StaticRoute<"/name-domains"> - | StaticRoute<"/output-roots"> | DynamicRoute<"/op/[hash]", { "hash": string }> | StaticRoute<"/ops"> + | StaticRoute<"/output-roots"> | StaticRoute<"/search-results"> | StaticRoute<"/stats"> | DynamicRoute<"/token/[hash]", { "hash": string }> diff --git a/ui/address/tokens/ERC20TokensTableItem.tsx b/ui/address/tokens/ERC20TokensTableItem.tsx index ed78abcfd5..d1d8457457 100644 --- a/ui/address/tokens/ERC20TokensTableItem.tsx +++ b/ui/address/tokens/ERC20TokensTableItem.tsx @@ -43,6 +43,7 @@ const ERC20TokensTableItem = ({ diff --git a/ui/addresses/AddressesListItem.tsx b/ui/addresses/AddressesListItem.tsx index f50a5909fa..6b6e7e13e5 100644 --- a/ui/addresses/AddressesListItem.tsx +++ b/ui/addresses/AddressesListItem.tsx @@ -35,6 +35,7 @@ const AddressesListItem = ({ isLoading={ isLoading } fontWeight={ 700 } mr={ 2 } + truncation="constant" /> { index } diff --git a/ui/blocks/BlocksListItem.tsx b/ui/blocks/BlocksListItem.tsx index 9760992c97..3c2827a0c9 100644 --- a/ui/blocks/BlocksListItem.tsx +++ b/ui/blocks/BlocksListItem.tsx @@ -63,6 +63,7 @@ const BlocksListItem = ({ data, isLoading, enableTimeIncrement }: Props) => { ) } diff --git a/ui/blocks/BlocksTableItem.tsx b/ui/blocks/BlocksTableItem.tsx index 8323ab83a8..4c4cb9570e 100644 --- a/ui/blocks/BlocksTableItem.tsx +++ b/ui/blocks/BlocksTableItem.tsx @@ -70,6 +70,7 @@ const BlocksTableItem = ({ data, isLoading, enableTimeIncrement }: Props) => { ) } diff --git a/ui/l2Deposits/DepositsListItem.tsx b/ui/l2Deposits/DepositsListItem.tsx index 658d09d979..a874dce2a0 100644 --- a/ui/l2Deposits/DepositsListItem.tsx +++ b/ui/l2Deposits/DepositsListItem.tsx @@ -44,6 +44,7 @@ const DepositsListItem = ({ item, isLoading }: Props) => { hash={ item.l2_tx_hash } fontSize="sm" lineHeight={ 5 } + truncation="constant_long" /> @@ -59,6 +60,7 @@ const DepositsListItem = ({ item, isLoading }: Props) => { hash={ item.l1_tx_hash } fontSize="sm" lineHeight={ 5 } + truncation="constant_long" /> @@ -68,6 +70,7 @@ const DepositsListItem = ({ item, isLoading }: Props) => { address={{ hash: item.l1_tx_origin, name: '', is_contract: false, is_verified: false, implementation_name: '', ens_domain_name: null }} isLoading={ isLoading } noCopy + truncation="constant" /> diff --git a/ui/l2Deposits/DepositsTableItem.tsx b/ui/l2Deposits/DepositsTableItem.tsx index 2c9f437ab7..28e6e2336e 100644 --- a/ui/l2Deposits/DepositsTableItem.tsx +++ b/ui/l2Deposits/DepositsTableItem.tsx @@ -31,6 +31,7 @@ const WithdrawalsTableItem = ({ item, isLoading }: Props) => { fontSize="sm" lineHeight={ 5 } fontWeight={ 600 } + noIcon /> @@ -39,7 +40,8 @@ const WithdrawalsTableItem = ({ item, isLoading }: Props) => { hash={ item.l2_tx_hash } fontSize="sm" lineHeight={ 5 } - truncation="constant" + truncation="constant_long" + noIcon /> @@ -49,7 +51,8 @@ const WithdrawalsTableItem = ({ item, isLoading }: Props) => { diff --git a/ui/l2OutputRoots/OutputRootsListItem.tsx b/ui/l2OutputRoots/OutputRootsListItem.tsx index 4a4a9337d0..c62a60df4f 100644 --- a/ui/l2OutputRoots/OutputRootsListItem.tsx +++ b/ui/l2OutputRoots/OutputRootsListItem.tsx @@ -8,7 +8,7 @@ import dayjs from 'lib/date/dayjs'; import CopyToClipboard from 'ui/shared/CopyToClipboard'; import BlockEntityL2 from 'ui/shared/entities/block/BlockEntityL2'; import TxEntityL1 from 'ui/shared/entities/tx/TxEntityL1'; -import HashStringShortenDynamic from 'ui/shared/HashStringShortenDynamic'; +import HashStringShorten from 'ui/shared/HashStringShorten'; import ListItemMobileGrid from 'ui/shared/ListItemMobile/ListItemMobileGrid'; const feature = config.features.optimisticRollup; @@ -55,14 +55,15 @@ const OutputRootsListItem = ({ item, isLoading }: Props) => { hash={ item.l1_tx_hash } fontSize="sm" lineHeight={ 5 } + truncation="constant_long" /> Output root - - - + + + diff --git a/ui/l2OutputRoots/OutputRootsTable.tsx b/ui/l2OutputRoots/OutputRootsTable.tsx index 96ce6c9c40..76187fa0b1 100644 --- a/ui/l2OutputRoots/OutputRootsTable.tsx +++ b/ui/l2OutputRoots/OutputRootsTable.tsx @@ -18,7 +18,7 @@ const OutputRootsTable = ({ items, top, isLoading }: Props) => { - + diff --git a/ui/l2OutputRoots/OutputRootsTableItem.tsx b/ui/l2OutputRoots/OutputRootsTableItem.tsx index e64b613a82..d132163d00 100644 --- a/ui/l2OutputRoots/OutputRootsTableItem.tsx +++ b/ui/l2OutputRoots/OutputRootsTableItem.tsx @@ -8,7 +8,7 @@ import dayjs from 'lib/date/dayjs'; import CopyToClipboard from 'ui/shared/CopyToClipboard'; import BlockEntityL2 from 'ui/shared/entities/block/BlockEntityL2'; import TxEntityL1 from 'ui/shared/entities/tx/TxEntityL1'; -import HashStringShortenDynamic from 'ui/shared/HashStringShortenDynamic'; +import HashStringShorten from 'ui/shared/HashStringShorten'; const feature = config.features.optimisticRollup; @@ -36,6 +36,7 @@ const OutputRootsTableItem = ({ item, isLoading }: Props) => { fontSize="sm" lineHeight={ 5 } fontWeight={ 600 } + noIcon />
L2 output indexL2 output index Age L2 block # L1 txn hash @@ -44,12 +45,14 @@ const OutputRootsTableItem = ({ item, isLoading }: Props) => { hash={ item.l1_tx_hash } fontSize="sm" lineHeight={ 5 } + noIcon + truncation="constant_long" /> - - - + + + diff --git a/ui/l2TxnBatches/TxnBatchesListItem.tsx b/ui/l2TxnBatches/TxnBatchesListItem.tsx index 3efba7b03e..8b6e27a707 100644 --- a/ui/l2TxnBatches/TxnBatchesListItem.tsx +++ b/ui/l2TxnBatches/TxnBatchesListItem.tsx @@ -72,7 +72,7 @@ const TxnBatchesListItem = ({ item, isLoading }: Props) => { hash={ hash } fontSize="sm" lineHeight={ 5 } - maxW="100%" + truncation="constant_long" /> )) } diff --git a/ui/l2TxnBatches/TxnBatchesTableItem.tsx b/ui/l2TxnBatches/TxnBatchesTableItem.tsx index 8409b8e736..87da345f6a 100644 --- a/ui/l2TxnBatches/TxnBatchesTableItem.tsx +++ b/ui/l2TxnBatches/TxnBatchesTableItem.tsx @@ -32,6 +32,7 @@ const TxnBatchesTableItem = ({ item, isLoading }: Props) => { fontSize="sm" lineHeight={ 5 } fontWeight={ 600 } + noIcon /> @@ -64,7 +65,8 @@ const TxnBatchesTableItem = ({ item, isLoading }: Props) => { hash={ hash } fontSize="sm" lineHeight={ 5 } - maxW="100%" + truncation="constant_long" + noIcon /> )) } diff --git a/ui/l2Withdrawals/WithdrawalsListItem.tsx b/ui/l2Withdrawals/WithdrawalsListItem.tsx index 585b3f7688..11bfd89ac9 100644 --- a/ui/l2Withdrawals/WithdrawalsListItem.tsx +++ b/ui/l2Withdrawals/WithdrawalsListItem.tsx @@ -40,6 +40,7 @@ const WithdrawalsListItem = ({ item, isLoading }: Props) => { diff --git a/ui/l2Withdrawals/WithdrawalsTableItem.tsx b/ui/l2Withdrawals/WithdrawalsTableItem.tsx index 6df6254116..e32018cf1b 100644 --- a/ui/l2Withdrawals/WithdrawalsTableItem.tsx +++ b/ui/l2Withdrawals/WithdrawalsTableItem.tsx @@ -40,9 +40,10 @@ const WithdrawalsTableItem = ({ item, isLoading }: Props) => { @@ -61,7 +62,8 @@ const WithdrawalsTableItem = ({ item, isLoading }: Props) => { diff --git a/ui/nameDomain/history/NameDomainHistoryListItem.tsx b/ui/nameDomain/history/NameDomainHistoryListItem.tsx index afa2e526b3..c679cdaa19 100644 --- a/ui/nameDomain/history/NameDomainHistoryListItem.tsx +++ b/ui/nameDomain/history/NameDomainHistoryListItem.tsx @@ -32,7 +32,7 @@ const NameDomainHistoryListItem = ({ isLoading, transaction_hash: transactionHas <> From - + ) } diff --git a/ui/nameDomain/history/NameDomainHistoryTableItem.tsx b/ui/nameDomain/history/NameDomainHistoryTableItem.tsx index d52e4626ca..c90c234cd6 100644 --- a/ui/nameDomain/history/NameDomainHistoryTableItem.tsx +++ b/ui/nameDomain/history/NameDomainHistoryTableItem.tsx @@ -25,7 +25,7 @@ const NameDomainHistoryTableItem = ({ isLoading, transaction_hash: transactionHa - { fromAddress && } + { fromAddress && } { action && { action } } diff --git a/ui/shared/EntityTags.tsx b/ui/shared/EntityTags.tsx index 72da69d3ff..7e0a62d94c 100644 --- a/ui/shared/EntityTags.tsx +++ b/ui/shared/EntityTags.tsx @@ -62,7 +62,7 @@ const EntityTags = ({ className, data, tagsBefore = [], tagsAfter = [], isLoadin } - +{ tags.length - 1 } + +{ tags.length - 1 } diff --git a/ui/shared/HashStringShorten.tsx b/ui/shared/HashStringShorten.tsx index 4084be6579..25e037d30f 100644 --- a/ui/shared/HashStringShorten.tsx +++ b/ui/shared/HashStringShorten.tsx @@ -7,17 +7,19 @@ import shortenString from 'lib/shortenString'; interface Props { hash: string; isTooltipDisabled?: boolean; + type?: 'long' | 'short'; as?: As; } -const HashStringShorten = ({ hash, isTooltipDisabled, as = 'span' }: Props) => { - if (hash.length <= 8) { +const HashStringShorten = ({ hash, isTooltipDisabled, as = 'span', type }: Props) => { + const charNumber = type === 'long' ? 16 : 8; + if (hash.length <= charNumber) { return { hash }; } return ( - { shortenString(hash) } + { shortenString(hash, charNumber) } ); }; diff --git a/ui/shared/address/AddressFromTo.tsx b/ui/shared/address/AddressFromTo.tsx index e3d2763ee9..eb7fbf8c1c 100644 --- a/ui/shared/address/AddressFromTo.tsx +++ b/ui/shared/address/AddressFromTo.tsx @@ -25,7 +25,7 @@ interface Props { noIcon?: boolean; } -const AddressFromTo = ({ from, to, current, mode: modeProp, className, isLoading, tokenHash = '', truncation, noIcon }: Props) => { +const AddressFromTo = ({ from, to, current, mode: modeProp, className, isLoading, tokenHash = '', noIcon }: Props) => { const mode = useBreakpointValue( { base: (typeof modeProp === 'object' ? modeProp.base : modeProp), @@ -52,8 +52,8 @@ const AddressFromTo = ({ from, to, current, mode: modeProp, className, isLoading noCopy={ current === from.hash } noIcon={ noIcon } tokenHash={ tokenHash } - truncation={ truncation } - maxW={ truncation === 'constant' ? undefined : 'calc(100% - 28px)' } + truncation="constant" + maxW="calc(100% - 28px)" w="min-content" /> @@ -65,8 +65,8 @@ const AddressFromTo = ({ from, to, current, mode: modeProp, className, isLoading noCopy={ current === to.hash } noIcon={ noIcon } tokenHash={ tokenHash } - truncation={ truncation } - maxW={ truncation === 'constant' ? undefined : 'calc(100% - 28px)' } + truncation="constant" + maxW="calc(100% - 28px)" w="min-content" ml="28px" /> @@ -87,8 +87,8 @@ const AddressFromTo = ({ from, to, current, mode: modeProp, className, isLoading noCopy={ isOutgoing } noIcon={ noIcon } tokenHash={ tokenHash } - truncation={ truncation } - maxW={ truncation === 'constant' ? undefined : `calc(50% - ${ iconSizeWithMargins / 2 }px)` } + truncation="constant" + maxW={ `calc(50% - ${ iconSizeWithMargins / 2 }px)` } mr={ isOutgoing ? 4 : 2 } /> ) } diff --git a/ui/shared/entities/base/components.tsx b/ui/shared/entities/base/components.tsx index 2beee12d0c..5f977ddcc3 100644 --- a/ui/shared/entities/base/components.tsx +++ b/ui/shared/entities/base/components.tsx @@ -13,7 +13,7 @@ import LinkInternal from 'ui/shared/LinkInternal'; import { getIconProps, type IconSize } from './utils'; -export type Truncation = 'constant' | 'dynamic' | 'tail' | 'none'; +export type Truncation = 'constant' | 'constant_long' | 'dynamic' | 'tail' | 'none'; export interface EntityBaseProps { className?: string; @@ -117,6 +117,14 @@ const Content = chakra(({ className, isLoading, asProp, text, truncation = 'dyna const children = (() => { switch (truncation) { + case 'constant_long': + return ( + + ); case 'constant': return ( { return ( - - - { text } + + + { text } ); diff --git a/ui/tokens/TokensTableItem.tsx b/ui/tokens/TokensTableItem.tsx index e8f2916866..0673af026c 100644 --- a/ui/tokens/TokensTableItem.tsx +++ b/ui/tokens/TokensTableItem.tsx @@ -87,6 +87,7 @@ const TokensTableItem = ({ noIcon fontSize="sm" fontWeight={ 500 } + truncation="constant" /> { { tag } diff --git a/ui/txs/TxsListItem.tsx b/ui/txs/TxsListItem.tsx index 7beb0c0859..7a510e377d 100644 --- a/ui/txs/TxsListItem.tsx +++ b/ui/txs/TxsListItem.tsx @@ -49,7 +49,7 @@ const TxsListItem = ({ tx, isLoading, showBlockInfo, currentAddress, enableTimeI { tx.timestamp && ( diff --git a/ui/txs/TxsTableItem.tsx b/ui/txs/TxsTableItem.tsx index fb94dcba1e..10294dcd65 100644 --- a/ui/txs/TxsTableItem.tsx +++ b/ui/txs/TxsTableItem.tsx @@ -55,6 +55,7 @@ const TxsTableItem = ({ tx, showBlockInfo, currentAddress, enableTimeIncrement, fontWeight={ 700 } noIcon maxW="100%" + truncation="constant" /> { tx.timestamp && { timeAgo } } diff --git a/ui/userOps/UserOpsListItem.tsx b/ui/userOps/UserOpsListItem.tsx index e3eb68b5bc..560a90018d 100644 --- a/ui/userOps/UserOpsListItem.tsx +++ b/ui/userOps/UserOpsListItem.tsx @@ -28,7 +28,7 @@ const UserOpsListItem = ({ item, isLoading, showTx, showSender }: Props) => { User op hash - + Age @@ -48,6 +48,7 @@ const UserOpsListItem = ({ item, isLoading, showTx, showSender }: Props) => { @@ -61,6 +62,7 @@ const UserOpsListItem = ({ item, isLoading, showTx, showSender }: Props) => { hash={ item.transaction_hash } isLoading={ isLoading } noIcon + truncation="constant_long" /> diff --git a/ui/userOps/UserOpsTable.tsx b/ui/userOps/UserOpsTable.tsx index 0478a283e4..f887cfaf7d 100644 --- a/ui/userOps/UserOpsTable.tsx +++ b/ui/userOps/UserOpsTable.tsx @@ -18,7 +18,7 @@ import UserOpsTableItem from './UserOpsTableItem'; const UserOpsTable = ({ items, isLoading, top, showTx, showSender }: Props) => { return ( - +
diff --git a/ui/userOps/UserOpsTableItem.tsx b/ui/userOps/UserOpsTableItem.tsx index cdd0a74609..cf86bb3284 100644 --- a/ui/userOps/UserOpsTableItem.tsx +++ b/ui/userOps/UserOpsTableItem.tsx @@ -25,7 +25,7 @@ const UserOpsTableItem = ({ item, isLoading, showTx, showSender }: Props) => { return ( ) } diff --git a/ui/zkEvmL2TxnBatches/ZkEvmTxnBatchesListItem.tsx b/ui/zkEvmL2TxnBatches/ZkEvmTxnBatchesListItem.tsx index 0d54b9c4eb..413be4a791 100644 --- a/ui/zkEvmL2TxnBatches/ZkEvmTxnBatchesListItem.tsx +++ b/ui/zkEvmL2TxnBatches/ZkEvmTxnBatchesListItem.tsx @@ -69,7 +69,7 @@ const ZkEvmTxnBatchesListItem = ({ item, isLoading }: Props) => { hash={ item.verify_tx_hash } fontSize="sm" lineHeight={ 5 } - maxW="100%" + truncation="constant_long" /> ) : Pending } @@ -82,7 +82,7 @@ const ZkEvmTxnBatchesListItem = ({ item, isLoading }: Props) => { hash={ item.sequence_tx_hash } fontSize="sm" lineHeight={ 5 } - maxW="100%" + truncation="constant_long" /> ) : Pending } diff --git a/ui/zkEvmL2TxnBatches/ZkEvmTxnBatchesTable.tsx b/ui/zkEvmL2TxnBatches/ZkEvmTxnBatchesTable.tsx index fabbc0ae70..8754c5c246 100644 --- a/ui/zkEvmL2TxnBatches/ZkEvmTxnBatchesTable.tsx +++ b/ui/zkEvmL2TxnBatches/ZkEvmTxnBatchesTable.tsx @@ -15,15 +15,15 @@ type Props = { const TxnBatchesTable = ({ items, top, isLoading }: Props) => { return ( -
User op hash
- + { timeAgo } diff --git a/ui/withdrawals/WithdrawalsListItem.tsx b/ui/withdrawals/WithdrawalsListItem.tsx index 24d1879c21..f639c57b1d 100644 --- a/ui/withdrawals/WithdrawalsListItem.tsx +++ b/ui/withdrawals/WithdrawalsListItem.tsx @@ -64,6 +64,7 @@ const WithdrawalsListItem = ({ item, isLoading, view }: Props) => { diff --git a/ui/withdrawals/WithdrawalsTableItem.tsx b/ui/withdrawals/WithdrawalsTableItem.tsx index 2cc0ed0fb8..602cee5c3d 100644 --- a/ui/withdrawals/WithdrawalsTableItem.tsx +++ b/ui/withdrawals/WithdrawalsTableItem.tsx @@ -37,6 +37,7 @@ const WithdrawalsTableItem = ({ item, view, isLoading }: Props) => { isLoading={ isLoading } fontSize="sm" lineHeight={ 5 } + noIcon />
+
- - + + - - - + + + diff --git a/ui/zkEvmL2TxnBatches/ZkEvmTxnBatchesTableItem.tsx b/ui/zkEvmL2TxnBatches/ZkEvmTxnBatchesTableItem.tsx index 0c1cc95b01..4e7d45a983 100644 --- a/ui/zkEvmL2TxnBatches/ZkEvmTxnBatchesTableItem.tsx +++ b/ui/zkEvmL2TxnBatches/ZkEvmTxnBatchesTableItem.tsx @@ -32,6 +32,7 @@ const TxnBatchesTableItem = ({ item, isLoading }: Props) => { fontSize="sm" lineHeight={ 5 } fontWeight={ 600 } + noIcon /> @@ -70,7 +72,8 @@ const TxnBatchesTableItem = ({ item, isLoading }: Props) => { hash={ item.sequence_tx_hash } fontSize="sm" lineHeight={ 5 } - maxW="100%" + truncation="constant_long" + noIcon /> ) : Pending }
Batch #StatusBatch #Status AgeTxn countVerify Tx HasSequence hashTxn countVerify Tx HasSequence hash
@@ -59,7 +60,8 @@ const TxnBatchesTableItem = ({ item, isLoading }: Props) => { hash={ item.verify_tx_hash } fontSize="sm" lineHeight={ 5 } - maxW="100%" + truncation="constant_long" + noIcon /> ) : Pending }