mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-06-18 05:51:05 +00:00
Get kitchensink provider to use kitchensink network
This commit is contained in:
@@ -340,13 +340,18 @@ impl KitchensinkNode {
|
|||||||
&self,
|
&self,
|
||||||
) -> impl Future<
|
) -> impl Future<
|
||||||
Output = anyhow::Result<
|
Output = anyhow::Result<
|
||||||
FillProvider<impl TxFiller<Ethereum>, impl Provider<Ethereum>, Ethereum>,
|
FillProvider<
|
||||||
|
impl TxFiller<KitchenSinkNetwork>,
|
||||||
|
impl Provider<KitchenSinkNetwork>,
|
||||||
|
KitchenSinkNetwork,
|
||||||
|
>,
|
||||||
>,
|
>,
|
||||||
> + 'static {
|
> + 'static {
|
||||||
let connection_string = self.connection_string();
|
let connection_string = self.connection_string();
|
||||||
let wallet = self.wallet.clone();
|
let wallet = self.wallet.clone();
|
||||||
Box::pin(async move {
|
Box::pin(async move {
|
||||||
ProviderBuilder::new()
|
ProviderBuilder::new()
|
||||||
|
.network::<KitchenSinkNetwork>()
|
||||||
.wallet(wallet)
|
.wallet(wallet)
|
||||||
.connect(&connection_string)
|
.connect(&connection_string)
|
||||||
.await
|
.await
|
||||||
|
|||||||
Reference in New Issue
Block a user