Skip to content

Commit

Permalink
Tesseract stability improvements (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wizdave97 authored Jun 15, 2024
1 parent 742ed62 commit e529387
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 29 deletions.
44 changes: 22 additions & 22 deletions Cargo.lock

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

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -304,21 +304,21 @@ features = [

[workspace.dependencies.ethers]
git = "https://github.com/polytope-labs/ethers-rs"
rev = "a61f4fd78cd9a417c74a1609e5007e17f0f0ebb4"
rev = "45239225c50247e049892125d281442c084a2a92"
features = ["ethers-solc"]
default-features = false

[workspace.dependencies.ethers-contract-abigen]
git = "https://github.com/polytope-labs/ethers-rs"
rev = "a61f4fd78cd9a417c74a1609e5007e17f0f0ebb4"
rev = "45239225c50247e049892125d281442c084a2a92"

[workspace.dependencies.forge-testsuite]
git = "https://github.com/polytope-labs/forge-testsuite"
rev = "9a4e82498e60b6c90c09be1685dfc80bca057fc2"
rev = "ff9fdc69c0200e3bb471198aa44ba933e043b78d"

[workspace.dependencies.foundry-evm]
git = "https://github.com/polytope-labs/foundry"
rev = "521813b3ebaf1aa05055d1780b555f9001071514"
rev = "1db7f747d7033a760c747fabbeef706576c88e34"

[workspace.dependencies.merkle-mountain-range]
package = "ckb-merkle-mountain-range"
Expand Down
3 changes: 2 additions & 1 deletion tesseract/evm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ use evm_common::presets::{
use ismp_solidity_abi::shared_types::{StateCommitment, StateMachineHeight};
use serde::{Deserialize, Serialize};
use sp_core::{bytes::from_hex, keccak_256, Pair, H160};
use std::sync::Arc;
use std::{sync::Arc, time::Duration};
use tesseract_primitives::IsmpProvider;

pub mod abi;
Expand Down Expand Up @@ -127,6 +127,7 @@ impl EvmClient {

let http_client = Http::new_client_with_chain_middleware(
config.rpc_urls.into_iter().map(|url| url.parse()).collect::<Result<_, _>>()?,
Some(Duration::from_secs(180)),
);
let provider = Provider::new(http_client);
let client = Arc::new(provider.clone());
Expand Down
3 changes: 2 additions & 1 deletion tesseract/messaging/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,8 @@ async fn handle_update(
}
}
},
Err(err) => tracing::error!("Failed to submit transaction to {state_machine}: {err:?}"),
Err(err) =>
tracing::error!("Failed to submit transaction to {}: {err:?}", chain_a.name()),
}
}

Expand Down
2 changes: 1 addition & 1 deletion tesseract/relayer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tesseract"
version = "0.3.3"
version = "0.3.4"
edition = "2021"
description = "Chain agnostic relayer implementation for Hyperbridge"
authors = ["Polytope Labs <[email protected]>"]
Expand Down

0 comments on commit e529387

Please sign in to comment.