Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
zbuc committed Apr 17, 2024
1 parent ffd9b11 commit 4f954f2
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions crates/core/component/dex/src/component/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -964,20 +964,6 @@ async fn reproduce_arbitrage_loop_testnet_53() -> anyhow::Result<()> {
/// the amount of A purchaseable with the candidate assets, i.e. the amount of
/// A in the reserves for any A <-> * positions.
async fn check_routable_asset_ordering() -> anyhow::Result<()> {
tracing_subscriber::fmt()
.with_ansi(std::io::IsTerminal::is_terminal(&std::io::stdout()))
.with_env_filter(
tracing_subscriber::EnvFilter::from_default_env()
// Without explicitly disabling the `r1cs` target, the ZK proof implementations
// will spend an enormous amount of CPU and memory building useless tracing output.
.add_directive(
"r1cs=off"
.parse()
.expect("rics=off is a valid filter directive"),
),
)
.with_writer(std::io::stderr)
.init();
let storage = TempStorage::new().await?.apply_minimal_genesis().await?;
let mut state = Arc::new(StateDelta::new(storage.latest_snapshot()));
let mut state_tx = state.try_begin_transaction().unwrap();
Expand Down

0 comments on commit 4f954f2

Please sign in to comment.