diff --git a/tezt/tests/cloud/dal.ml b/tezt/tests/cloud/dal.ml index 1ca661ab7bd63a42d85f16a4a945f36012b33a66..68675764bb4a0a0c6bc4aeafd9304cb2bcff6f1b 100644 --- a/tezt/tests/cloud/dal.ml +++ b/tezt/tests/cloud/dal.ml @@ -1815,7 +1815,6 @@ let init_etherlink_dal_node ~bootstrap ~next_agent ~dal_slots ~network ~otel let init_etherlink_operator_setup cloud configuration etherlink_configuration name ~bootstrap ~dal_slots account batching_operators agent next_agent = let is_sequencer = etherlink_configuration.etherlink_sequencer in - let name = Format.asprintf "etherlink-%s-node" name in let data_dir = configuration.data_dir |> Option.map (fun data_dir -> data_dir // name) in @@ -1953,6 +1952,20 @@ let init_etherlink_operator_setup cloud configuration etherlink_configuration let mode = if is_sequencer then sequencer_mode else Evm_node.Proxy in let* evm_node = Tezos.Evm_node.Agent.init + ~patch_config:(fun json -> + JSON.update + "public_rpc" + (fun json -> + JSON.update + "cors_headers" + (fun _ -> + JSON.annotate ~origin:"patch-config:cors_headers" + @@ `A [`String "*"]) + json + |> JSON.update "cors_origins" (fun _ -> + JSON.annotate ~origin:"patch-config:cors_origins" + @@ `A [`String "*"])) + json) ~name:(Format.asprintf "etherlink-%s-evm-node" name) ~mode endpoint