1
0
mirror of synced 2025-02-19 11:17:08 +00:00

511 Commits

Author SHA1 Message Date
Roman
ecd45c12e4
test: calling poll on validator_behaviour 2024-10-25 16:27:35 +08:00
Roman Zajic
b7e8eb627c
Merge branch 'master' into chore-da-behavior-membership-tests 2024-10-25 09:50:12 +08:00
gusto
938bcd7926
Nomos tracing crate (#849)
* tmp grafana stack

* Testnet configure otlp tracing

* tmp: Configurable loki and tempo in cfgsync

* Rename nomos-log to nomos-tracing-service

* nomos-tracing crate for tracing layer creation

* Use multiple layers in nomos-tracing-service

* Tracing in tests and testnet

* Tempo volume instead of local host dir
2024-10-24 19:33:04 +03:00
Daniel Sanchez
733f50b521
Abort tasks for da networks backends (#853)
* Abort tasks for da networks backends

* fmt
2024-10-24 18:17:33 +02:00
gusto
193ff82980
Cli: Dissemination and retrieval (#851)
* Remove chat and dissemination from nomos-cli

* Dissemination using executor http client in nomos-cli

* Blob retrieval from indexer using executor http client

* Range reqeust type from nomos-node

* Split executor and validator commands
2024-10-24 16:21:27 +03:00
Youngjoon Lee
ce24a03a23
Mix: Offload transmission rate and message processing from libp2p behaviour/handler (#843) 2024-10-24 21:00:26 +09:00
gusto
97330a763f
Reconstruct from incomplete blobs (#852) 2024-10-24 12:01:19 +03:00
Roman Zajic
835b106688
Merge branch 'master' into chore-da-behavior-membership-tests 2024-10-24 11:20:45 +08:00
Youngjoon Lee
929fb1b7b1
forward msgs immediately without any processing (#841) 2024-10-24 11:44:35 +09:00
Roman
54e6939141
fix: have executors and validators in the same subnet_id = 0 2024-10-23 18:26:28 +08:00
Roman
3eeafc819c
fix: address to contain p2p address 2024-10-23 15:44:11 +08:00
Roman Zajic
7a63118bd3
Merge branch 'master' into chore-da-behavior-membership-tests 2024-10-23 13:25:45 +08:00
Roman Zajic
ca786fd264
fix: Coverage workflow to run on ubuntu-22.04 (#836)
* fix: remove Remove unwanted software step

* fix: return Remove unwanted software step
- change to run ubuntu-latest to not occupy self-hosted runner

* fix: remove redundant condition

* fix: remove Checkout submodules step

* test: run on ubuntu-22.04

* test: without Remove unwanted software

* fix: remove on push trigger
2024-10-23 11:12:01 +08:00
Roman Zajic
52459f3b8e
Merge branch 'master' into chore-da-behavior-membership-tests 2024-10-23 07:57:58 +08:00
Daniel Sanchez
5a85281ec0
Use tokio 1 in deps (#842) 2024-10-22 16:59:42 +02:00
Giacomo Pasini
ad88d2bc0c
Add first tx defition (#835)
* Add first tx defition

* address review comments

* review comments
2024-10-22 15:51:54 +02:00
Roman Zajic
8e75709edb
Merge branch 'master' into chore-da-behavior-membership-tests 2024-10-22 20:09:10 +08:00
Roman
6861dc18a6
test: executor > validator auto connect 2024-10-22 20:08:36 +08:00
Deep Mondal
b0142d7173
Fix: membership comments to documentation (#838)
* rebased

* doc comment add

* fmt
2024-10-22 13:13:29 +02:00
gusto
03854f4c23
Executor in testnet (#839) 2024-10-22 12:36:06 +03:00
Roman
1a7d01f032
test: send messages using swarms 2024-10-22 14:25:11 +08:00
Roman Zajic
6293837890
Merge branch 'master' into chore-da-behavior-membership-tests 2024-10-22 09:20:51 +08:00
gusto
328398ca68
DA: Use executor in tests (#818)
* Use executor in tests instead of nomos node

* Executor config from node config

* Bring generics to the testing game

* Fill in missing gaps in test

* Implement testnode wrapper

* Use sleep on dispersal service instead

* Fix cfgsync

* Clippy happy

* Clippy happy tests

* Mixnet config in tests for validator

* Tests: General config and multiple nodes (#832)

* Use executor in tests instead of nomos node

* Bring generics to the testing game

* Fill in missing gaps in test

* Clippy happy

* Mixnet config in tests for validator

* Derive different types of configs from general in tests

* Validator and executor in cfgsync

---------

Co-authored-by: danielSanchezQ <3danimanimal@gmail.com>

* Tests executor node mix config (#834)

* Merge branch 'master' into tests-executor-node-mix-config

* add mix configs

---------

Co-authored-by: danielSanchezQ <3danimanimal@gmail.com>
Co-authored-by: Youngjoon Lee <5462944+youngjoon-lee@users.noreply.github.com>
2024-10-21 15:38:56 +03:00
Roman Zajic
5b009ce246
Merge branch 'master' into chore-da-behavior-membership-tests 2024-10-21 17:53:00 +08:00
Youngjoon Lee
83d9ef7738
Mix: Integrate mix service to the system (#824)
* Mix: remove all of the previous mixnet stuff

* Mix: Add mix service

* Integrate mix service to the node

* Add mock mix service for DA integration tests

* clippy happy

* use explicit function name and add TODOs

* remove the redundant use of tokio::sync::broadcast channel in mix adapter

* add mix service to nomos-executor binary

* removed mock mix backend and related adapters

Use the real mix backend for DA integration tests

* fix compile error generated when merging master

* rename all `MixNetwork*` to `Mix*` for further changes

* use explicit name for adapters

* Mix: Perform broadcasting within the mix service (#829)

* rename relay variables properly
2024-10-21 18:12:47 +09:00
Roman Zajic
6f13b78335
Merge branch 'master' into chore-da-behavior-membership-tests 2024-10-21 13:12:49 +08:00
Roman
d18144d4af
fix: formatting 2024-10-21 12:33:44 +08:00
Roman
ac627a3885
test: create swarms 2024-10-21 11:23:06 +08:00
Youngjoon Lee
163cc2ce64
chore: clippy: remove irrefutable let...else patterns in DA (#830) 2024-10-20 01:49:48 +09:00
Youngjoon Lee
26ae6c0a5d
CI: Update Rust 1.82 (#831) 2024-10-20 00:17:22 +09:00
Daniel Sanchez
ba726bad84
Remove task from consensus network adapter (#828) 2024-10-18 16:25:08 +02:00
Roman Zajic
e0e98f6de6
Merge branch 'master' into chore-da-behavior-membership-tests 2024-10-18 14:06:04 +08:00
Roman
cb4681de42
test: plug in behaviours into swarms 2024-10-18 14:03:44 +08:00
Daniel Sanchez
41a9387b4b
DA: Executor dispersal auto stream (#826)
* Re-structure connection handling properly

* Handle event based connections

* Fix test

* Handling auto reconnection for dispersal behaviour

* Ignore cli test
2024-10-17 14:10:28 +00:00
Roman
81e571d434
test: extend behavior with channels 2024-10-17 20:05:54 +08:00
Youngjoon Lee
8dbcf560f9
Mix: Add mix service (#823)
* Mix: remove all of the previous mixnet stuff

* Mix: Add mix service

* refactor extract_peer_id and add comments
2024-10-17 18:12:26 +09:00
Roman
c0b3cb1b95
test: attempt to open stream between two peers without swarm 2024-10-17 15:36:43 +08:00
Roman Zajic
6a281403b7
Merge branch 'master' into chore-da-behavior-membership-tests 2024-10-17 09:55:04 +08:00
Youngjoon Lee
cb86528a4a
Mix: remove all of the previous mixnet stuff (#822) 2024-10-17 00:19:20 +09:00
Roman
7d21571e55
test: simple basics to understand 2024-10-16 09:28:34 +08:00
Roman
a2c54231b3
fix: members for MockMembershipHandler 2024-10-14 14:57:29 +08:00
Roman
3995e4a4cc
test: validation behaviour establish_connection 2024-10-14 13:49:16 +08:00
Daniel Sanchez
228d4b2147
Da: Implement verifier adapter for executor network backend (#816)
* Implement adapter for executor
Refactored into common macro

* Executor and node indexer types

* Sampling service generic over network adapter

* Verifier changes tmp

---------

Co-authored-by: Gusto <bacvinka@gmail.com>
2024-10-10 08:16:25 +00:00
Daniel Sanchez
461a9cacdf
DA: Executor sampling adapter (#815)
* Add macro to share adapter implementation for both validator and executor

* Fix imports in binaries

* Adapt cryptarchia types in binaries

* Fix tests build
2024-10-09 10:32:00 +00:00
gusto
0d6e14c773
Executor: Dispersal http endpoint (#814)
* Data dispersal endpoint in executor

* Use path consts in openapi defs
2024-10-09 10:52:41 +03:00
Daniel Sanchez
11ddb23795
Ci: kzg bench update (#813)
* Update kzg benches

* Add bench check to CI
2024-10-08 16:39:38 +00:00
Daniel Sanchez
c983eb2260
Add Executor client (#811)
* Refactor paths into common modules

* Kickoff http client

* Add blob to send blob

* Refactor publish method. Will reuse older endpoint in further prs

* Use paths in tests

* Fix more tests
2024-10-08 15:43:58 +00:00
gusto
07c9096924
Integrate dispersal service into executor node (#812) 2024-10-08 17:03:38 +03:00
gusto
22dfb51eba
Executor: Dispersal service mempool adapter (#810)
* Pass metadata when dispersing

* Sketch of executor dispersal mempool adapter
2024-10-08 11:03:34 +03:00
Daniel Sanchez
a3cea9a09c
DA: Implement data reconstruction from original columns (#808)
* Implement data reconstruction from original columns

* Make reconstruction public
2024-10-08 07:15:41 +00:00