feat: Add encoding to test suite (#259)
* feat: Add encoding to test suite Use execution from simulation Add protocol_system to all test files and pass it to run tycho Add encoding_utils.rs #time 5h 0m #time 1m #time 7m * refactor: Move encoding swap to its own method to simplify main code Rename encoding_utils.rs to encoding.rs #time 20m #time 0m #time 0m
This commit is contained in:
@@ -31,6 +31,7 @@ impl TychoRunner {
|
||||
start_block: u64,
|
||||
end_block: u64,
|
||||
protocol_type_names: &[String],
|
||||
protocol_system: &str,
|
||||
) -> miette::Result<()> {
|
||||
// Expects a .env present in the same folder as package root (where Cargo.toml is)
|
||||
dotenv().ok();
|
||||
@@ -50,6 +51,8 @@ impl TychoRunner {
|
||||
"map_protocol_changes",
|
||||
"--protocol-type-names",
|
||||
&protocol_type_names.join(","),
|
||||
"--protocol-system",
|
||||
protocol_system,
|
||||
"--start-block",
|
||||
&start_block.to_string(),
|
||||
"--stop-block",
|
||||
|
||||
Reference in New Issue
Block a user