diff --git a/src/routes/safe/components/Apps/components/AppFrame.tsx b/src/routes/safe/components/Apps/components/AppFrame.tsx index e332d6c9..1367cfb2 100644 --- a/src/routes/safe/components/Apps/components/AppFrame.tsx +++ b/src/routes/safe/components/Apps/components/AppFrame.tsx @@ -12,7 +12,7 @@ import { safeNameSelector, } from 'src/logic/safe/store/selectors' import { grantedSelector } from 'src/routes/safe/container/selector' -import { getNetworkName, getTxServiceUrl } from 'src/config' +import { getNetworkId, getNetworkName, getTxServiceUrl } from 'src/config' import { SAFELIST_ADDRESS } from 'src/routes/routes' import { isSameURL } from 'src/utils/url' import { useAnalytics, SAFE_NAVIGATION_EVENT } from 'src/utils/googleAnalytics' @@ -74,6 +74,7 @@ type Props = { } const NETWORK_NAME = getNetworkName() +const NETWORK_ID = getNetworkId() const INITIAL_CONFIRM_TX_MODAL_STATE: ConfirmTransactionModalState = { isOpen: false, @@ -166,6 +167,7 @@ const AppFrame = ({ appUrl }: Props): ReactElement => { communicator?.on('getSafeInfo', () => ({ safeAddress, network: NETWORK_NAME, + chainId: NETWORK_ID, })) communicator?.on('rpcCall', async (msg) => {