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

Commit e1f3800

Browse files
committed
update examples to 218ece4
1 parent bbc7886 commit e1f3800

5 files changed

Lines changed: 29 additions & 29 deletions

File tree

‎Cargo.toml‎

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,30 @@ repository = "https://github.com/alloy-rs/examples"
1313
publish = false
1414

1515
[workspace.dependencies]
16-
alloy-consensus = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
17-
alloy-contract = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
18-
alloy-eips = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
19-
alloy-genesis = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
20-
alloy-json-rpc = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
21-
alloy-network = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
22-
alloy-node-bindings = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
23-
alloy-provider = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
24-
alloy-pubsub = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
25-
alloy-rpc-client = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
26-
alloy-rpc-engine-types = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
27-
alloy-rpc-trace-types = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
28-
alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
29-
alloy-serde = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
30-
alloy-signer = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
31-
alloy-signer-aws = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
32-
alloy-signer-gcp = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
33-
alloy-signer-ledger = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
34-
alloy-signer-trezor = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
35-
alloy-signer-wallet = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
36-
alloy-transport = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
37-
alloy-transport-http = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
38-
alloy-transport-ipc = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
39-
alloy-transport-ws = { git = "https://github.com/alloy-rs/alloy", rev = "e7dfb4f", default-features = false }
16+
alloy-consensus = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
17+
alloy-contract = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
18+
alloy-eips = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
19+
alloy-genesis = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
20+
alloy-json-rpc = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
21+
alloy-network = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
22+
alloy-node-bindings = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
23+
alloy-provider = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
24+
alloy-pubsub = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
25+
alloy-rpc-client = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
26+
alloy-rpc-engine-types = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
27+
alloy-rpc-trace-types = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
28+
alloy-rpc-types = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
29+
alloy-serde = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
30+
alloy-signer = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
31+
alloy-signer-aws = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
32+
alloy-signer-gcp = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
33+
alloy-signer-ledger = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
34+
alloy-signer-trezor = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
35+
alloy-signer-wallet = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
36+
alloy-transport = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
37+
alloy-transport-http = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
38+
alloy-transport-ipc = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
39+
alloy-transport-ws = { git = "https://github.com/alloy-rs/alloy", rev = "218ece4", default-features = false }
4040

4141
alloy-core = { version = "0.6.4", default-features = false, features = ["std"] }
4242
alloy-dyn-abi = { version = "0.6.4", default-features = false, features = [

‎examples/wallets/examples/ledger_signer.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ async fn main() -> Result<()> {
3535
// Broadcast the transaction and wait for the receipt.
3636
let receipt = provider.send_transaction(tx).await?.with_confirmations(3).get_receipt().await?;
3737

38-
println!("Send transaction: {:?}", receipt.transaction_hash.unwrap_or_default());
38+
println!("Send transaction: {:?}", receipt.transaction_hash);
3939

4040
Ok(())
4141
}

‎examples/wallets/examples/private_key_signer.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ async fn main() -> Result<()> {
3030
let tx = TransactionRequest {
3131
value: Some(U256::from(100)),
3232
to: Some(bob.address()),
33-
nonce: Some(U64::from(0)),
33+
nonce: Some(0),
3434
gas_price: Some(U256::from(20e9)),
3535
gas: Some(U256::from(21000)),
3636
..Default::default()
@@ -39,7 +39,7 @@ async fn main() -> Result<()> {
3939
// Broadcast the transaction and wait for the receipt.
4040
let receipt = provider.send_transaction(tx).await?.with_confirmations(1).get_receipt().await?;
4141

42-
println!("Send transaction: {:?}", receipt.transaction_hash.unwrap());
42+
println!("Send transaction: {:?}", receipt.transaction_hash);
4343

4444
Ok(())
4545
}

‎examples/wallets/examples/trezor_signer.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ async fn main() -> Result<()> {
3333
// Broadcast the transaction and wait for the receipt.
3434
let receipt = provider.send_transaction(tx).await?.with_confirmations(3).get_receipt().await?;
3535

36-
println!("Send transaction: {:?}", receipt.transaction_hash.unwrap());
36+
println!("Send transaction: {:?}", receipt.transaction_hash);
3737

3838
Ok(())
3939
}

‎examples/wallets/examples/yubi_signer.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ async fn main() -> Result<()> {
4242
// Broadcast the transaction and wait for the receipt.
4343
let receipt = provider.send_transaction(tx).await?.with_confirmations(3).get_receipt().await?;
4444

45-
println!("Send transaction: {:?}", receipt.transaction_hash.unwrap());
45+
println!("Send transaction: {:?}", receipt.transaction_hash);
4646

4747
Ok(())
4848
}

0 commit comments

Comments
 (0)