From 013feda154b2a04f62ae6a30121010da72b7b676 Mon Sep 17 00:00:00 2001 From: Jan-Felix Date: Wed, 17 Jul 2024 14:51:55 +0200 Subject: [PATCH] fix a regression: tx translations broken after migration to vnets --- extension/src/browser/Drawer/Translate.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extension/src/browser/Drawer/Translate.tsx b/extension/src/browser/Drawer/Translate.tsx index d82273e4..e701e1b6 100644 --- a/extension/src/browser/Drawer/Translate.tsx +++ b/extension/src/browser/Drawer/Translate.tsx @@ -46,7 +46,7 @@ export const Translate: React.FC = ({ }) // revert to checkpoint before the transaction to remove - const checkpoint = transactionState.transactionHash // the ForkProvider uses checkpoints as IDs for the recorded transactions + const checkpoint = transactionState.snapshotId // the ForkProvider uses checkpoints as IDs for the recorded transactions await provider.request({ method: 'evm_revert', params: [checkpoint] }) // re-simulate all transactions starting with the translated ones