From f2038ac2811f21e6e9bd30eeff2a21aadc9592b8 Mon Sep 17 00:00:00 2001 From: isstuev Date: Thu, 5 Sep 2024 12:10:50 +0200 Subject: [PATCH 1/2] fix address blocks validated --- ui/address/AddressDetails.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/address/AddressDetails.tsx b/ui/address/AddressDetails.tsx index a0e3bc93b9..7a2ce3f804 100644 --- a/ui/address/AddressDetails.tsx +++ b/ui/address/AddressDetails.tsx @@ -5,6 +5,8 @@ import React from 'react'; import config from 'configs/app'; import throwOnResourceLoadError from 'lib/errors/throwOnResourceLoadError'; import useIsMounted from 'lib/hooks/useIsMounted'; +import getNetworkValidationActionText from 'lib/networks/getNetworkValidationActionText'; +import getNetworkValidatorTitle from 'lib/networks/getNetworkValidatorTitle'; import getQueryParamString from 'lib/router/getQueryParamString'; import AddressCounterItem from 'ui/address/details/AddressCounterItem'; import ServiceDegradationWarning from 'ui/shared/alerts/ServiceDegradationWarning'; @@ -219,10 +221,10 @@ const AddressDetails = ({ addressQuery, scrollRef }: Props) => { { data.has_validated_blocks && ( <> - Blocks validated + { `Blocks ${ getNetworkValidationActionText() }` } { addressQuery.data ? ( From 06d1d604b652c341ea396e2b6adc490d3e93bf3a Mon Sep 17 00:00:00 2001 From: isstuev Date: Thu, 5 Sep 2024 12:11:16 +0200 Subject: [PATCH 2/2] fix arbitrum tx message info --- ui/tx/details/TxInfo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/tx/details/TxInfo.tsx b/ui/tx/details/TxInfo.tsx index 386f57eb48..db2e14d08e 100644 --- a/ui/tx/details/TxInfo.tsx +++ b/ui/tx/details/TxInfo.tsx @@ -790,7 +790,7 @@ const TxInfo = ({ data, isLoading, socketStatus }: Props) => { <> - { data.arbitrum?.message_related_info && ( + { data.arbitrum?.contains_message && data.arbitrum?.message_related_info && ( <>