mouseless0x / rusty-sando

Implementation of a competitive v2/v3 multi-meat MEV sandwich bot written using Rust and Huff.
MIT License
782 stars 256 forks source link

Cargo Tests result in "Optimal amount in: 0 not sandwichable" #30

Closed SadeRespector closed 1 year ago

SadeRespector commented 1 year ago

cargo test --release -- --nocapture Compiling rusty-sando v0.1.0 (/home/bunkerdiss/Mainnet/rusty-sando/bot) Finished release [optimized + debuginfo] target(s) in 32.22s Running unittests src/lib.rs (target/release/deps/rusty_sando-aadba4f6843ddd34)

running 8 tests Optimal amount in: 0 not sandwichable total_duration took: 98.083001ms test simulate::make_sandwich::test::sandv3_uniswap_universal_router_two ... ok Optimal amount in: 0 not sandwichable total_duration took: 104.813099ms test simulate::make_sandwich::test::sandv2_sushi_router ... ok Optimal amount in: 0 not sandwichable total_duration took: 115.216918ms test simulate::make_sandwich::test::sandv2_non_sandwichable ... ok Optimal amount in: 0 not sandwichable total_duration took: 124.925376ms Optimal amount in: 0 test simulate::make_sandwich::test::sandv2_multi_two ... ok not sandwichable total_duration took: 127.250113ms Optimal amount in: 0 not sandwichable total_duration took: 128.15483ms test simulate::make_sandwich::test::sandv2_multi_with_three_expect_one_reverts ... ok test simulate::make_sandwich::test::sandv2_metamask_swap_router ... ok Optimal amount in: 0 not sandwichable total_duration took: 142.075276ms test simulate::make_sandwich::test::sandv3_uniswap_universal_router_one ... ok Optimal amount in: 0 not sandwichable total_duration took: 164.145253ms test simulate::make_sandwich::test::sandv2_kyber_swap ... ok

test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s

 Running unittests src/main.rs (target/release/deps/rusty_sando-e283202ca237ea10)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

Doc-tests rusty-sando

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

as you can see running the cargo tests result in all not sandwichable optimal in being 0. anyone else have this issue?