File tree Expand file tree Collapse file tree 3 files changed +6
-1
lines changed
engine/execution/computation/computer Expand file tree Collapse file tree 3 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -598,6 +598,7 @@ func TestBlockExecutor_ExecuteBlock(t *testing.T) {
598598 fvm .WithReusableCadenceRuntimePool (
599599 reusableRuntime .NewCustomReusableCadenceRuntimePool (
600600 0 ,
601+ runtime.Config {},
601602 func (_ runtime.Config ) runtime.Runtime {
602603 return emittingRuntime
603604 })))
@@ -685,6 +686,7 @@ func TestBlockExecutor_ExecuteBlock(t *testing.T) {
685686 fvm .WithReusableCadenceRuntimePool (
686687 reusableRuntime .NewCustomReusableCadenceRuntimePool (
687688 0 ,
689+ runtime.Config {},
688690 func (_ runtime.Config ) runtime.Runtime {
689691 return rt
690692 })))
@@ -787,6 +789,7 @@ func TestBlockExecutor_ExecuteBlock(t *testing.T) {
787789 fvm .WithReusableCadenceRuntimePool (
788790 reusableRuntime .NewCustomReusableCadenceRuntimePool (
789791 0 ,
792+ runtime.Config {},
790793 func (_ runtime.Config ) runtime.Runtime {
791794 return rt
792795 })))
Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ func TestSystemContractsInvoke(t *testing.T) {
5757 tracer := tracing .NewTracerSpan ()
5858 runtimePool := reusableRuntime .NewCustomReusableCadenceRuntimePool (
5959 0 ,
60+ runtime.Config {},
6061 func (_ runtime.Config ) runtime.Runtime {
6162 return & testutil.TestInterpreterRuntime {
6263 InvokeContractFunc : tc .contractFunction ,
Original file line number Diff line number Diff line change @@ -146,11 +146,12 @@ func NewReusableCadenceRuntimePool(
146146
147147func NewCustomReusableCadenceRuntimePool (
148148 poolSize int ,
149+ config runtime.Config ,
149150 newCustomRuntime CadenceRuntimeConstructor ,
150151) ReusableCadenceRuntimePool {
151152 return newReusableCadenceRuntimePool (
152153 poolSize ,
153- runtime. Config {} ,
154+ config ,
154155 newCustomRuntime ,
155156 )
156157}
You can’t perform that action at this time.
0 commit comments