Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…-workspace into serial/sdk
  • Loading branch information
tbraun96 committed Jan 22, 2025
2 parents f01a8ca + 7cbc32a commit f28a6c8
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 17 deletions.
26 changes: 13 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ rayon = { version = "1", default-features = false }
zeroize = { version = "1.8.1", default-features = false }

# Eigenlayer
eigensdk = { git = "https://github.com/Layr-Labs/eigensdk-rs.git", branch = "dev", default-features = false }
eigensdk = { git = "https://github.com/Layr-Labs/eigensdk-rs.git", rev = "6ab2674cf19e2f2c78218de706975af1244dad9c", default-features = false }
rust-bls-bn254 = { version = "0.2.1", default-features = false }
testcontainers = { version = "0.23.1", default-features = false }

Expand Down
4 changes: 2 additions & 2 deletions crates/clients/evm/src/instrumented_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,7 @@ mod tests {
]))
.await
.expect("Failed to mine anvil blocks");
tokio::time::sleep(gadget_std::time::Duration::from_secs(1)).await;
tokio::time::sleep(gadget_std::time::Duration::from_secs(5)).await;

let expected_block_number = provider.clone().get_block_number().await.unwrap();
let block_number = instrumented_client.block_number().await.unwrap();
Expand Down Expand Up @@ -1216,7 +1216,7 @@ mod tests {
]))
.await
.expect("Failed to mine anvil blocks");
tokio::time::sleep(gadget_std::time::Duration::from_secs(1)).await;
tokio::time::sleep(gadget_std::time::Duration::from_secs(5)).await;

let block_count = 4;
let last_block = BlockNumberOrTag::Latest;
Expand Down
5 changes: 4 additions & 1 deletion crates/testing-utils/tangle/src/node/transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ use alloy_provider::{
network::{ReceiptResponse, TransactionBuilder},
PendingTransactionError, Provider, WsConnect,
};
use alloy_provider::network::AnyNetwork;
use alloy_rpc_types::serde_helpers::WithOtherFields;
use alloy_signer_local::PrivateKeySigner;
use gadget_clients::tangle::client::{TangleClient as TestClient, TangleConfig};
use gadget_logging::{error, info};
Expand Down Expand Up @@ -64,12 +66,13 @@ pub async fn deploy_new_mbsm_revision<T: Signer<TangleConfig>>(
let wallet = alloy_provider::network::EthereumWallet::from(signer_evm);
let provider = alloy_provider::ProviderBuilder::new()
.with_recommended_fillers()
.network::<AnyNetwork>()
.wallet(wallet)
.on_ws(WsConnect::new(evm_rpc_endpoint))
.await?;

let tx = alloy_rpc_types::TransactionRequest::default().with_deploy_code(bytecode.to_vec());
let send_result = provider.send_transaction(tx).await;
let send_result = provider.send_transaction(WithOtherFields::new(tx)).await;
let tx = match send_result {
Ok(tx) => tx,
Err(err) => {
Expand Down

0 comments on commit f28a6c8

Please sign in to comment.