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