Skip to content

Commit

Permalink
adding some cvm router tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitry-lahoda committed Apr 11, 2024
1 parent aaebd0e commit 7504fde
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mantis/node/src/mantis/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ pub struct SolverArgs {
/// HTTP url to call with parameters to obtain route or built in shortest pass router
#[arg(long, default_value = "shortest_path")]
pub router: String,

/// set to true of want to use CVM for routing only
#[arg(long, default_value_t = false)]
pub no_cows: bool,
}

impl MantisArgs {
Expand Down
File renamed without changes.
Empty file added mantis/node/tests/cvms.rs
Empty file.
2 changes: 2 additions & 0 deletions mantis/node/tests/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
mod cows;
mod cvms;

0 comments on commit 7504fde

Please sign in to comment.