Skip to content

Commit

Permalink
rm benchmark tmp changes
Browse files Browse the repository at this point in the history
  • Loading branch information
0xEniotna committed Oct 27, 2023
1 parent 912e19a commit 000d88d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/client/data-availability/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
3 changes: 1 addition & 2 deletions crates/client/data-availability/src/bitcoin/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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};

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 000d88d

Please sign in to comment.