Skip to content

Commit

Permalink
Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kristoferlund committed Oct 25, 2024
1 parent d902964 commit c07b358
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/backend/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use ic_cdk::export_candid;
// latest block number, it is quite likely that a new block gets created during the
// time it takes for the RPC procider to execute the requests.
fn get_rpc_service_sepolia() -> RpcService {
// Uncomment to use EVM RPC Canister
// Uncomment to use EVM RPC Canister instead of RPC proxy
// RpcService::EthSepolia(EthSepoliaService::Alchemy)

// Below proxy is intended for limited use with this demo, DO NOT use in a
Expand All @@ -27,11 +27,11 @@ fn get_rpc_service_sepolia() -> RpcService {
}

fn get_rpc_service_base() -> RpcService {
// Uncomment to use EVM RPC Canister
// Uncomment to use EVM RPC Canister instead of RPC proxy
// RpcService::BaseMainnet(L2MainnetService::Alchemy)

RpcService::Custom(RpcApi {
url: "https://ic-alloy-evm-rpc-proxy.kristofer-977.workers.dev/eth-sepolia".to_string(),
url: "https://ic-alloy-evm-rpc-proxy.kristofer-977.workers.dev/base-mainnet".to_string(),
headers: None,
})
}
Expand Down

0 comments on commit c07b358

Please sign in to comment.