Skip to content

Commit

Permalink
fix a regression: tx translations broken after migration to vnets
Browse files Browse the repository at this point in the history
  • Loading branch information
jfschwarz committed Jul 17, 2024
1 parent 1aefaa9 commit 013feda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/src/browser/Drawer/Translate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const Translate: React.FC<Props> = ({
})

// 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
Expand Down

0 comments on commit 013feda

Please sign in to comment.