diff --git a/apps/api/src/utils.ts b/apps/api/src/utils.ts index 116adea95..dd6d50ae6 100644 --- a/apps/api/src/utils.ts +++ b/apps/api/src/utils.ts @@ -168,10 +168,10 @@ export async function handleExecutionStrategy( const [l1Destination] = payload; if (!l1Destination) throw new Error('Invalid payload for EthRelayer execution strategy'); - destinationAddress = l1Destination; + destinationAddress = formatAddress('Ethereum', l1Destination); const SimpleQuorumExecutionStrategyContract = new EthContract( - l1Destination, + destinationAddress, SimpleQuorumExecutionStrategyAbi, ethProvider ); diff --git a/apps/ui/src/composables/useExecutionActions.ts b/apps/ui/src/composables/useExecutionActions.ts index c4b93fca6..46a89a2af 100644 --- a/apps/ui/src/composables/useExecutionActions.ts +++ b/apps/ui/src/composables/useExecutionActions.ts @@ -75,6 +75,11 @@ export function useExecutionActions( }); async function fetchEthRelayerExecutionDetails() { + if (currentTimestamp.value < proposal.max_end * 1000) { + message.value = + 'This execution strategy requires max end time to be reached.'; + } + if (!proposal.execution_tx) return; const tx = await network.value.helpers.getTransaction(