From 000d88d0d002783c01a6e964f7d68a9eadda9efd Mon Sep 17 00:00:00 2001 From: 0xKarasu <0xKarasu@protonmail.com> Date: Fri, 27 Oct 2023 19:04:09 +0200 Subject: [PATCH] rm benchmark tmp changes --- crates/client/data-availability/Cargo.toml | 2 +- crates/client/data-availability/src/bitcoin/mod.rs | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/client/data-availability/Cargo.toml b/crates/client/data-availability/Cargo.toml index ec9b01ee08..354289789c 100644 --- a/crates/client/data-availability/Cargo.toml +++ b/crates/client/data-availability/Cargo.toml @@ -60,4 +60,4 @@ mp-storage = { workspace = true, default-features = true } bitcoin = "0.30.1" bitcoincore-rpc = "0.17.0" hex = "0.4.2" -bitcoin-da = { git = "https://github.com/KasarLabs/bitcoin-da", branch = "write_without_network" } +bitcoin-da = { git = "https://github.com/KasarLabs/bitcoin-da", branch = "bitcoin-da/prod" } diff --git a/crates/client/data-availability/src/bitcoin/mod.rs b/crates/client/data-availability/src/bitcoin/mod.rs index a43b16fe1f..b0b41b7939 100644 --- a/crates/client/data-availability/src/bitcoin/mod.rs +++ b/crates/client/data-availability/src/bitcoin/mod.rs @@ -4,7 +4,6 @@ pub mod config; use anyhow::Result; use async_trait::async_trait; // Bitcoincore RPC imports -use bitcoin::Network; use bitcoin_da::{Config as BitcoinDAConfig, Relayer}; use ethers::types::{I256, U256}; @@ -32,7 +31,7 @@ impl DaClient for BitcoinClient { let tx: bitcoin::Txid = self .relayer - .write(&state_diff_bytes, fees_multiplicator, dust, Network::Regtest) + .write(&state_diff_bytes, fees_multiplicator, dust) .map_err(|e| anyhow::anyhow!("bitcoin write err: {e}"))?; log::info!("State Update: {:?}", tx);