mirror of
https://github.com/pezkuwichain/revive-differential-tests.git
synced 2026-04-30 19:57:59 +00:00
Use provider method in tests
This commit is contained in:
@@ -983,12 +983,7 @@ mod tests {
|
||||
node.spawn(GENESIS_JSON.to_owned())
|
||||
.expect("Failed to spawn the node");
|
||||
|
||||
let provider = ProviderBuilder::new()
|
||||
.network::<KitchenSinkNetwork>()
|
||||
.wallet(args.wallet())
|
||||
.connect(&node.rpc_url)
|
||||
.await
|
||||
.expect("Failed to create provider");
|
||||
let provider = node.provider().await.expect("Failed to create provider");
|
||||
|
||||
let account_address = args.wallet().default_signer().address();
|
||||
let transaction = TransactionRequest::default()
|
||||
|
||||
Reference in New Issue
Block a user