diff --git a/main/src/cache.rs b/main/src/cache.rs index 15307b8..b2798bd 100644 --- a/main/src/cache.rs +++ b/main/src/cache.rs @@ -168,6 +168,7 @@ pub async fn place_bid(cfg: &CacheBidConfig) -> Result<()> { .await?; let chain_id = provider.get_chain_id().await?; let wallet = cfg.auth.alloy_wallet(chain_id)?; + let from_address = wallet.default_signer().address(); let provider = ProviderBuilder::new() .with_recommended_fillers() .wallet(wallet) @@ -183,7 +184,7 @@ pub async fn place_bid(cfg: &CacheBidConfig) -> Result<()> { greyln!("Checking if contract can be cached..."); - let raw_output = place_bid_call.clone().call().await; + let raw_output = place_bid_call.clone().from(from_address).call().await; if let Err(e) = raw_output { let Error::TransportError(tperr) = e else { bail!("failed to send cache bid tx: {:?}", e)