re-add revert on context change

pull/5370/head
Iuri Matias 5 years ago
parent f373aa22b8
commit b778f28ece
  1. 3
      remix-lib/src/execution/execution-context.js

@ -186,6 +186,9 @@ function ExecutionContext () {
if (context === 'vm') {
executionContext = context
vms.constantinople.stateManager.revert(() => {
vms.constantinople.stateManager.checkpoint(() => {})
})
self.event.trigger('contextChanged', ['vm'])
return cb()
}

Loading…
Cancel
Save