Skip to content

Commit

Permalink
Merge pull request #14648 from MinaProtocol/feature/local-engine-netw…
Browse files Browse the repository at this point in the history
…ork-config-develop

Lucy Local Framework extension
  • Loading branch information
MartinMinkov authored Jan 11, 2024
2 parents 93daa4b + 4fcdae6 commit 5dacd1e
Show file tree
Hide file tree
Showing 18 changed files with 2,421 additions and 267 deletions.
124 changes: 63 additions & 61 deletions src/app/test_executive/dune
Original file line number Diff line number Diff line change
@@ -1,64 +1,66 @@
(executable
(name test_executive)
(libraries
;; opam libraries
async_kernel
async
core
uri
yojson
core_kernel
cmdliner
base.base_internalhash_types
base.caml
async_unix
unsigned_extended
stdio
sexplib0
;; local libraries
mina_wire_types
with_hash
data_hash_lib
kimchi_backend
kimchi_backend.pasta
kimchi_backend.pasta.basic
pickles
pickles_types
random_oracle_input
genesis_constants
bash_colors
integration_test_lib
signature_lib
mina_signature_kind
mina_base
mina_stdlib
mina_transaction
file_system
currency
mina_runtime_config
secrets
integration_test_cloud_engine
mina_generators
logger
random_oracle
mina_numbers
transaction_snark
snark_params
pickles.backend
pipe_lib
mina_base.import
key_gen
integers
user_command_input
participating_state
graph_algorithms
visualization
sgn
zkapp_command_builder
network_pool
zkapps_examples
cache_dir
snarky.backendless
)
(instrumentation (backend bisect_ppx))
(preprocess (pps ppx_mina ppx_jane ppx_deriving_yojson ppx_mina ppx_version)))
;; opam libraries
async_kernel
async
core
uri
yojson
core_kernel
cmdliner
base.base_internalhash_types
base.caml
async_unix
unsigned_extended
stdio
sexplib0
;; local libraries
mina_wire_types
with_hash
data_hash_lib
kimchi_backend
kimchi_backend.pasta
kimchi_backend.pasta.basic
pickles
pickles_types
random_oracle_input
genesis_constants
bash_colors
integration_test_lib
signature_lib
mina_signature_kind
mina_base
mina_stdlib
mina_transaction
file_system
currency
mina_runtime_config
secrets
integration_test_cloud_engine
integration_test_local_engine
mina_generators
logger
random_oracle
mina_numbers
transaction_snark
snark_params
pickles.backend
pipe_lib
mina_base.import
key_gen
integers
user_command_input
participating_state
graph_algorithms
visualization
sgn
zkapp_command_builder
network_pool
zkapps_examples
cache_dir
snarky.backendless)
(instrumentation
(backend bisect_ppx))
(preprocess
(pps ppx_mina ppx_jane ppx_deriving_yojson ppx_mina ppx_version)))
4 changes: 3 additions & 1 deletion src/app/test_executive/test_executive.ml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ let validate_inputs ~logger inputs (test_config : Test_config.t) :
else Deferred.return ()

let engines : engine list =
[ ("cloud", (module Integration_test_cloud_engine : Intf.Engine.S)) ]
[ ("cloud", (module Integration_test_cloud_engine : Intf.Engine.S))
; ("local", (module Integration_test_local_engine : Intf.Engine.S))
]

let tests : test list =
[ ( "peers-reliability"
Expand Down
1 change: 1 addition & 0 deletions src/dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
(package (name inline_test_quiet_logs))
(package (name integers_stubs_js))
(package (name integration_test_cloud_engine))
(package (name integration_test_local_engine))
(package (name integration_test_lib))
(package (name internal_tracing))
(package (name interpolator_lib))
Expand Down
123 changes: 67 additions & 56 deletions src/lib/integration_test_cloud_engine/dune
Original file line number Diff line number Diff line change
@@ -1,59 +1,70 @@
(library
(public_name integration_test_cloud_engine)
(name integration_test_cloud_engine)
(inline_tests (flags -verbose -show-counts))
(instrumentation (backend bisect_ppx))
(preprocessor_deps ../../graphql-ppx-config.inc ../../../graphql_schema.json)
(preprocess (pps
ppx_here
ppx_mina ppx_version ppx_let ppx_inline_test ppx_pipebang
ppx_custom_printf ppx_deriving_yojson lens.ppx_deriving
ppx_sexp_conv
graphql_ppx -- %{read-lines:../../graphql-ppx-config.inc}))
(libraries
;; opam libraries
async_unix
async_kernel
core_kernel
core
async
cmdliner
base
uri
sexplib0
stdio
result
base.caml
integers
re2
;; local libraries
key_gen
integration_test_lib
graphql_lib
mina_runtime_config
mina_base
genesis_constants
genesis_ledger_helper
logger
mina_base_import
signature_lib
currency
mina_version
timeout_lib
mina_numbers
mina_state
mina_stdlib
mina_transaction
file_system
pickles
pickles_types
backend
kimchi_pasta
kimchi_backend.pasta.basic
with_hash
data_hash_lib
generated_graphql_queries
mina_graphql
error_json
)
)
(inline_tests
(flags -verbose -show-counts))
(instrumentation
(backend bisect_ppx))
(preprocessor_deps
../../graphql-ppx-config.inc
../../../graphql_schema.json)
(preprocess
(pps
ppx_here
ppx_mina
ppx_version
ppx_let
ppx_inline_test
ppx_pipebang
ppx_custom_printf
ppx_deriving_yojson
lens.ppx_deriving
ppx_sexp_conv
graphql_ppx
--
%{read-lines:../../graphql-ppx-config.inc}))
(libraries
;; opam libraries
async_unix
async_kernel
core_kernel
core
async
cmdliner
base
uri
sexplib0
stdio
result
base.caml
integers
re2
;; local libraries
key_gen
integration_test_lib
graphql_lib
mina_runtime_config
mina_base
genesis_constants
genesis_ledger_helper
logger
mina_base_import
signature_lib
currency
mina_version
timeout_lib
mina_numbers
mina_state
mina_stdlib
mina_transaction
file_system
pickles
pickles_types
backend
kimchi_pasta
kimchi_backend.pasta.basic
with_hash
data_hash_lib
generated_graphql_queries
mina_graphql
error_json))
Loading

0 comments on commit 5dacd1e

Please sign in to comment.