Skip to content

Commit

Permalink
chore: fixing toml
Browse files Browse the repository at this point in the history
  • Loading branch information
heemankv committed Aug 14, 2024
1 parent 82b243a commit 9b8c738
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/settlement-clients/ethereum/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ use alloy::{
use alloy::eips::eip2930::AccessList;
use alloy::eips::eip4844::BYTES_PER_BLOB;
use alloy::hex;
use alloy::network::TransactionBuilder;
// use alloy::node_bindings::Anvil;
use alloy::rpc::types::TransactionRequest;
use alloy_primitives::Bytes;
Expand Down Expand Up @@ -196,6 +195,9 @@ impl SettlementClient for EthereumSettlementClient {
nonce: u64,
) -> Result<String> {
//TODO: better file management
#[cfg(test)]
use alloy::network::TransactionBuilder;


let trusted_setup = KzgSettings::load_trusted_setup_file(Path::new("/Users/dexterhv/Work/Karnot/madara-alliance/madara-orchestrator/crates/settlement-clients/ethereum/src/trusted_setup.txt"))?;
let (sidecar_blobs, sidecar_commitments, sidecar_proofs) = prepare_sidecar(&state_diff, &trusted_setup).await?;
Expand Down

0 comments on commit 9b8c738

Please sign in to comment.