Skip to content

Commit

Permalink
update: fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
heemankv committed Aug 20, 2024
1 parent 062b54c commit a69d56d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ PROVER_SERVICE="sharp"
SETTLEMENT_LAYER="ethereum"
DATA_STORAGE="s3"
MONGODB_CONNECTION_STRING="mongodb://localhost:27017"

DEFAULT_SETTLEMENT_CLIENT_RPC="http://localhost:3000"

# Ethereum Settlement
DEFAULT_L1_CORE_CONTRACT_ADDRESS="0xc662c410C0ECf747543f5bA90660f6ABeBD9C8c4"
Expand Down
3 changes: 1 addition & 2 deletions crates/settlement-clients/ethereum/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ impl EthereumSettlementClient {
.0
.into(),
filler_provider,

);

EthereumSettlementClient {
Expand Down Expand Up @@ -116,7 +115,7 @@ impl EthereumSettlementClient {
Arc::new(ProviderBuilder::new().with_recommended_fillers().wallet(wallet.clone()).on_http(rpc_url));

let core_contract_address = if let Some(core_contract_address) = core_contract_address {
core_contract_address.clone()
core_contract_address
} else {
// dummy address
Address::from_str("0x0").unwrap()
Expand Down
2 changes: 1 addition & 1 deletion crates/settlement-clients/ethereum/src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ impl EthereumTestBuilder {
// Setup Provider
let provider = ProviderBuilder::new().on_http(anvil.endpoint_url());

if let Some(impersonator) = self.impersonator.clone() {
if let Some(impersonator) = self.impersonator {
provider.anvil_impersonate_account(impersonator).await.expect("Unable to impersonate account.");
}

Expand Down

0 comments on commit a69d56d

Please sign in to comment.