Skip to content

Commit

Permalink
🐛 Fix: bug with not using cloned vm
Browse files Browse the repository at this point in the history
  • Loading branch information
roninjin10 committed Oct 17, 2024
1 parent f03d6c8 commit d591949
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/actions/src/Call/callHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,10 @@ export const callHandler =
})
}

const stateOverrideResult = await handleStateOverrides(client, params.stateOverrideSet)
const stateOverrideResult = await handleStateOverrides(
{ ...client, getVm: async () => vm },
params.stateOverrideSet,
)
if (stateOverrideResult.errors) {
return maybeThrowOnFail(_params.throwOnFail ?? defaultThrowOnFail, {
errors: stateOverrideResult.errors,
Expand Down

0 comments on commit d591949

Please sign in to comment.