Skip to content

Commit

Permalink
add reusable Environment to scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ramtinms committed Oct 25, 2023
1 parent c45b405 commit 97315e9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fvm/runtime/reusable_cadence_runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,9 @@ func (reusable *ReusableCadenceRuntime) ExecuteScript(
return reusable.Runtime.ExecuteScript(
script,
runtime.Context{
Interface: reusable.fvmEnv,
Location: location,
Interface: reusable.fvmEnv,
Location: location,
Environment: reusable.Environment,
},
)
}
Expand Down

0 comments on commit 97315e9

Please sign in to comment.