Skip to content

Commit

Permalink
Fix conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
ltyu committed Jan 15, 2025
2 parents 489dff7 + 1536ea5 commit 25db6bb
Show file tree
Hide file tree
Showing 125 changed files with 5,178 additions and 1,807 deletions.
5 changes: 0 additions & 5 deletions .changeset/cold-cows-grow.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/eleven-carrots-shave.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/flat-lamps-deliver.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/infra': minor
---

Add Artela/Base USDC and WETH warp route config
5 changes: 5 additions & 0 deletions .changeset/green-schools-attack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/cli': patch
---

Print displayName instead of chain name in signer validity logs.
5 changes: 0 additions & 5 deletions .changeset/rare-windows-deny.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tall-starfishes-hunt.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/three-walls-count.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/cli': minor
---

Add explorer link to warp send and send message commands
5 changes: 5 additions & 0 deletions .changeset/violet-knives-drop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@hyperlane-xyz/cli': minor
---

Fixing the chain resolver checks and handling for argv.chain
1 change: 1 addition & 0 deletions .github/actions/checkout-registry/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ runs:
with:
repository: hyperlane-xyz/hyperlane-registry
ref: ${{ env.REGISTRY_VERSION }}
fetch-depth: 0
path: ./hyperlane-registry

- name: Move hyperlane-registry to parent directory
Expand Down
2 changes: 1 addition & 1 deletion .registryrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
115d44069109f3ef43caeed5632f6255d9a3390a
47aba98bdd78ecb5a3f756dca6dc2e28325bab43
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,5 @@ ENV REGISTRY_URI="/hyperlane-registry"
ARG REGISTRY_COMMIT="main"
RUN git clone https://github.com/hyperlane-xyz/hyperlane-registry.git "$REGISTRY_URI" \
&& cd "$REGISTRY_URI" \
&& git fetch origin "$REGISTRY_COMMIT" \
&& git checkout "$REGISTRY_COMMIT"
34 changes: 18 additions & 16 deletions rust/main/Cargo.lock

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

10 changes: 5 additions & 5 deletions rust/main/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -198,27 +198,27 @@ overflow-checks = true
[workspace.dependencies.ethers]
features = []
git = "https://github.com/hyperlane-xyz/ethers-rs"
tag = "2025-01-09"
tag = "2025-01-10"

[workspace.dependencies.ethers-contract]
features = ["legacy"]
git = "https://github.com/hyperlane-xyz/ethers-rs"
tag = "2025-01-09"
tag = "2025-01-10"

[workspace.dependencies.ethers-core]
features = []
git = "https://github.com/hyperlane-xyz/ethers-rs"
tag = "2025-01-09"
tag = "2025-01-10"

[workspace.dependencies.ethers-providers]
features = []
git = "https://github.com/hyperlane-xyz/ethers-rs"
tag = "2025-01-09"
tag = "2025-01-10"

[workspace.dependencies.ethers-signers]
features = ["aws"]
git = "https://github.com/hyperlane-xyz/ethers-rs"
tag = "2025-01-09"
tag = "2025-01-10"

[patch.crates-io.curve25519-dalek]
branch = "v3.2.2-relax-zeroize"
Expand Down
2 changes: 2 additions & 0 deletions rust/main/agents/relayer/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ hyperlane-ethereum = { path = "../../chains/hyperlane-ethereum" }
once_cell.workspace = true
mockall.workspace = true
tokio-test.workspace = true
tracing-test.workspace = true
hyperlane-test = { path = "../../hyperlane-test" }
hyperlane-base = { path = "../../hyperlane-base", features = ["test-utils"] }
hyperlane-core = { path = "../../hyperlane-core", features = ["agent", "async", "test-utils"] }
ethers-prometheus = { path = "../../ethers-prometheus", features = ["serde"] }

[features]
default = ["color-eyre", "oneline-errors"]
Expand Down
3 changes: 3 additions & 0 deletions rust/main/agents/relayer/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ mod memory_profiler;

#[tokio::main(flavor = "multi_thread", worker_threads = 20)]
async fn main() -> Result<()> {
// Logging is not initialised at this point, so, using `println!`
println!("Relayer starting up...");

let agent_main_fut = agent_main::<Relayer>();

#[cfg(feature = "memory-profiling")]
Expand Down
2 changes: 1 addition & 1 deletion rust/main/agents/relayer/src/msg/metadata/aggregation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ impl AggregationIsmMetadataBuilder {

#[async_trait]
impl MetadataBuilder for AggregationIsmMetadataBuilder {
#[instrument(err, skip(self), ret)]
#[instrument(err, skip(self, message), ret)]
#[allow(clippy::blocks_in_conditions)] // TODO: `rustc` 1.80.1 clippy issue
async fn build(
&self,
Expand Down
4 changes: 2 additions & 2 deletions rust/main/agents/relayer/src/msg/metadata/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ impl Deref for MessageMetadataBuilder {

#[async_trait]
impl MetadataBuilder for MessageMetadataBuilder {
#[instrument(err, skip(self), fields(destination_domain=self.destination_domain().name()))]
#[instrument(err, skip(self, message), fields(destination_domain=self.destination_domain().name()))]
async fn build(
&self,
ism_address: H256,
Expand Down Expand Up @@ -228,7 +228,7 @@ impl MessageMetadataBuilder {
}
}

#[instrument(err, skip(self), fields(destination_domain=self.destination_domain().name()), ret)]
#[instrument(err, skip(self, message), fields(destination_domain=self.destination_domain().name()), ret)]
pub async fn build_ism_and_metadata(
&self,
ism_address: H256,
Expand Down
2 changes: 1 addition & 1 deletion rust/main/agents/relayer/src/msg/metadata/ccip_read.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pub struct CcipReadIsmMetadataBuilder {

#[async_trait]
impl MetadataBuilder for CcipReadIsmMetadataBuilder {
#[instrument(err, skip(self))]
#[instrument(err, skip(self, message))]
async fn build(
&self,
ism_address: H256,
Expand Down
2 changes: 1 addition & 1 deletion rust/main/agents/relayer/src/msg/metadata/routing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pub struct RoutingIsmMetadataBuilder {

#[async_trait]
impl MetadataBuilder for RoutingIsmMetadataBuilder {
#[instrument(err, skip(self), ret)]
#[instrument(err, skip(self, message), ret)]
#[allow(clippy::blocks_in_conditions)] // TODO: `rustc` 1.80.1 clippy issue
async fn build(
&self,
Expand Down
2 changes: 1 addition & 1 deletion rust/main/agents/relayer/src/msg/op_submitter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ impl OperationBatch {
};

if !excluded_ops.is_empty() {
warn!(excluded_ops=?excluded_ops, "Either the batch tx would revert, or the operations would revert in the batch. Falling back to serial submission.");
warn!(excluded_ops=?excluded_ops, "Either operations reverted in the batch or the txid wasn't included. Falling back to serial submission.");
OperationBatch::new(excluded_ops, self.domain)
.submit_serially(prepare_queue, confirm_queue, metrics)
.await;
Expand Down
2 changes: 1 addition & 1 deletion rust/main/agents/relayer/src/msg/pending_message.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub const CONFIRM_DELAY: Duration = if cfg!(any(test, feature = "test-utils")) {
// Wait 5 seconds after submitting the message before confirming in test mode
Duration::from_secs(5)
} else {
// Wait 1 min after submitting the message before confirming in normal/production mode
// Wait 10 min after submitting the message before confirming in normal/production mode
Duration::from_secs(60 * 10)
};

Expand Down
Loading

0 comments on commit 25db6bb

Please sign in to comment.