Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ extendEnvironment(async (bre) => {
stateManager: vm.stateManager,
emGasLimit: gasLimit,
})
await ovm.init()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah this is so that we don't do that init step during the Synthetix tests & break snapshotting -- is that right?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe @kfichter mentioned this was to ensure the Execution manager state is correctly initialized, which was messing with timestamps?

node['_vm' as any] = ovm

// Hijack the gas estimation function.
Expand Down