Get kitchensink provider to use kitchensink network

This commit is contained in:
Omar Abdulla
2025-07-14 22:30:30 +03:00
parent c6d63255ec
commit 8f80b1da8a
+6 -1
View File
@@ -340,13 +340,18 @@ impl KitchensinkNode {
&self,
) -> impl Future<
Output = anyhow::Result<
FillProvider<impl TxFiller<Ethereum>, impl Provider<Ethereum>, Ethereum>,
FillProvider<
impl TxFiller<KitchenSinkNetwork>,
impl Provider<KitchenSinkNetwork>,
KitchenSinkNetwork,
>,
>,
> + 'static {
let connection_string = self.connection_string();
let wallet = self.wallet.clone();
Box::pin(async move {
ProviderBuilder::new()
.network::<KitchenSinkNetwork>()
.wallet(wallet)
.connect(&connection_string)
.await