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

Commit bcd59f7

Browse files
authored
chore(general): update to bbef8de (alloy-rs#68)
* fix examples, on_http(rpc_url)? -> on_http(rpc_url) * fix missing docs
1 parent 31f21b2 commit bcd59f7

26 files changed

Lines changed: 30 additions & 28 deletions

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ unnecessary_struct_initialization = "allow"
8181
use_self = "allow"
8282

8383
[workspace.dependencies]
84-
alloy = { git = "https://github.com/alloy-rs/alloy", rev = "9aea693", features = [
84+
alloy = { git = "https://github.com/alloy-rs/alloy", rev = "bbef8de", features = [
8585
"contract",
8686
"network",
8787
"node-bindings",

‎examples/anvil/examples/deploy_contract_anvil.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async fn main() -> Result<()> {
3838
let provider = ProviderBuilder::new()
3939
.with_recommended_fillers()
4040
.signer(EthereumSigner::from(signer))
41-
.on_http(rpc_url)?;
41+
.on_http(rpc_url);
4242

4343
println!("Anvil running at `{}`", anvil.endpoint());
4444

‎examples/contracts/examples/deploy_from_artifact.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async fn main() -> Result<()> {
2828
let provider = ProviderBuilder::new()
2929
.with_recommended_fillers()
3030
.signer(EthereumSigner::from(signer))
31-
.on_http(rpc_url)?;
31+
.on_http(rpc_url);
3232

3333
println!("Anvil running at `{}`", anvil.endpoint());
3434

‎examples/contracts/examples/deploy_from_contract.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async fn main() -> Result<()> {
4040
let provider = ProviderBuilder::new()
4141
.with_recommended_fillers()
4242
.signer(EthereumSigner::from(signer))
43-
.on_http(rpc_url)?;
43+
.on_http(rpc_url);
4444

4545
println!("Anvil running at `{}`", anvil.endpoint());
4646

‎examples/contracts/examples/interact_with_abi.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ async fn main() -> Result<()> {
1919

2020
// Create a provider.
2121
let rpc_url = anvil.endpoint().parse()?;
22-
let provider = ProviderBuilder::new().on_http(rpc_url)?;
22+
let provider = ProviderBuilder::new().on_http(rpc_url);
2323

2424
// Create a contract instance.
2525
let contract = IERC20::new("0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2".parse()?, provider);

‎examples/fillers/examples/gas_filler.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ async fn main() -> Result<()> {
3131
// includes the `GasFiller`.
3232
.with_gas_estimation()
3333
.signer(EthereumSigner::from(signer))
34-
.on_http(rpc_url)?;
34+
.on_http(rpc_url);
3535

3636
// Create an EIP-1559 type transaction.
3737
let tx = TransactionRequest::default()

‎examples/fillers/examples/nonce_filler.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ async fn main() -> Result<()> {
4040
// includes the `NonceFiller`.
4141
.with_nonce_management()
4242
.signer(EthereumSigner::from(signer))
43-
.on_http(rpc_url)?;
43+
.on_http(rpc_url);
4444

4545
// Create an EIP-1559 type transaction.
4646
let tx = TransactionRequest::default()

‎examples/fillers/examples/recommended_fillers.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ async fn main() -> Result<()> {
2929
// Adds the `ChainIdFiller`, `GasFiller` and the `NonceFiller` layers.
3030
.with_recommended_fillers()
3131
.signer(EthereumSigner::from(signer))
32-
.on_http(rpc_url)?;
32+
.on_http(rpc_url);
3333

3434
// Build a EIP-1559 type transaction.
3535
// Notice that the `nonce` field is set by the `NonceFiller`.

‎examples/fillers/examples/signer_filler.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async fn main() -> Result<()> {
2828
let provider = ProviderBuilder::new()
2929
// Add the `SignerFiller` to the provider
3030
.signer(EthereumSigner::from(signer))
31-
.on_http(rpc_url)?;
31+
.on_http(rpc_url);
3232

3333
// Build a legacy type transaction to send 100 wei to Vitalik.
3434
let tx = TransactionRequest::default()

‎examples/providers/examples/builder.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ async fn main() -> Result<()> {
2828
let provider = ProviderBuilder::new()
2929
.with_recommended_fillers()
3030
.signer(EthereumSigner::from(wallet))
31-
.on_http(rpc_url)?;
31+
.on_http(rpc_url);
3232

3333
// Create a transaction.
3434
let tx =

0 commit comments

Comments
 (0)