Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement SV1 upstream logic for Message Generator #971

Closed
plebhash opened this issue Jun 15, 2024 · 1 comment
Closed

implement SV1 upstream logic for Message Generator #971

plebhash opened this issue Jun 15, 2024 · 1 comment

Comments

@plebhash
Copy link
Collaborator

Message Generator is currently unable to behave as an SV1 Upstream

we need a new setup_as_sv1_upstream function on utils/message-generator/src/net.rs

and then we need a new match arm here:

match (test.as_dowstream, test.as_upstream) {
(Some(as_down), None) => {
let (recv_from_up, send_to_up) = setup_as_sv1_downstream(as_down.addr).await;
Self {
name: Arc::new(test_name.clone()),
send_to_up: Some(send_to_up),
recv_from_up: Some(recv_from_up),
actions: test.sv1_actions.unwrap(),
cleanup_commmands: test.cleanup_commmands,
process,
save,
}
}
_ => unreachable!(),
}

@pavlenex
Copy link
Collaborator

Should this be closed or added to #1077 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants