Skip to content

Commit

Permalink
Merge pull request #120 from gnosisguild/fix-regression-vnets
Browse files Browse the repository at this point in the history
fix a regression: tx translations broken after migration to vnets
  • Loading branch information
jfschwarz authored Jul 17, 2024
2 parents 1aefaa9 + 013feda commit e5bb6cb
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 e5bb6cb

Please sign in to comment.