Sitelet https://github.com/SharkHand3/examples/commit/fff6a814e66573ac4c17bc72947a02590529d4a0
Skip to content

Commit fff6a81

Browse files
committed
update to f7333c4
1 parent 5d05036 commit fff6a81

6 files changed

Lines changed: 11 additions & 8 deletions

File tree

‎examples/providers/Cargo.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ repository.workspace = true
1313
[dev-dependencies]
1414
alloy.workspace = true
1515
# Temp dependency fix to enable relevant features - Ref: https://github.com/alloy-rs/examples/pull/3#discussion_r1537842062
16-
alloy-rpc-client = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", features = [
16+
alloy-rpc-client = { git = "https://github.com/alloy-rs/alloy", rev = "f7333c4", features = [
1717
"pubsub",
1818
] }
19-
alloy-provider = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", features = [
19+
alloy-provider = { git = "https://github.com/alloy-rs/alloy", rev = "f7333c4", features = [
2020
"pubsub",
2121
"ws",
2222
] }

‎examples/subscriptions/Cargo.toml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ repository.workspace = true
1313
[dev-dependencies]
1414
alloy.workspace = true
1515
# Temp fix for enabling features. Ref: https://github.com/alloy-rs/examples/pull/3/#discussion_r1537842062
16-
alloy-rpc-client = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", features = [
16+
alloy-rpc-client = { git = "https://github.com/alloy-rs/alloy", rev = "f7333c4", features = [
1717
"pubsub",
1818
"ws",
1919
] }
20-
alloy-provider = { git = "https://github.com/alloy-rs/alloy", rev = "fd8f065", features = [
20+
alloy-provider = { git = "https://github.com/alloy-rs/alloy", rev = "f7333c4", features = [
2121
"pubsub",
2222
] }
2323
# alloy-contract.workspace = true

‎examples/transactions/examples/transfer_erc20.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async fn main() -> Result<()> {
4343
println!("Transfer tx: {:?}", pending_tx.tx_hash());
4444

4545
// Wait for confirmation
46-
let _ = pending_tx.with_confirmations(1);
46+
let _ = pending_tx.with_required_confirmations(1);
4747

4848
let to_bal = balance_of(&provider, to, contract_address).await?;
4949
let from_bal = balance_of(&provider, from, contract_address).await?;

‎examples/wallets/examples/ledger_signer.rs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ async fn main() -> Result<()> {
3030
};
3131

3232
// Broadcast the transaction and wait for the receipt.
33-
let receipt = provider.send_transaction(tx).await?.with_confirmations(3).get_receipt().await?;
33+
let receipt =
34+
provider.send_transaction(tx).await?.with_required_confirmations(3).get_receipt().await?;
3435

3536
println!("Send transaction: {:?}", receipt.transaction_hash);
3637

‎examples/wallets/examples/trezor_signer.rs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ async fn main() -> Result<()> {
3030
};
3131

3232
// Broadcast the transaction and wait for the receipt.
33-
let receipt = provider.send_transaction(tx).await?.with_confirmations(3).get_receipt().await?;
33+
let receipt =
34+
provider.send_transaction(tx).await?.with_required_confirmations(3).get_receipt().await?;
3435

3536
println!("Send transaction: {:?}", receipt.transaction_hash);
3637

‎examples/wallets/examples/yubi_signer.rs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ async fn main() -> Result<()> {
3939
};
4040

4141
// Broadcast the transaction and wait for the receipt.
42-
let receipt = provider.send_transaction(tx).await?.with_confirmations(3).get_receipt().await?;
42+
let receipt =
43+
provider.send_transaction(tx).await?.with_required_confirmations(3).get_receipt().await?;
4344

4445
println!("Send transaction: {:?}", receipt.transaction_hash);
4546

0 commit comments

Comments
 (0)