From e89671b734fd304451d761b046fc7f7cd19db1da Mon Sep 17 00:00:00 2001 From: Trevor Porter Date: Wed, 7 Aug 2024 09:41:53 +0100 Subject: [PATCH 1/2] hacky bsc gas price override --- rust/chains/hyperlane-ethereum/src/mailbox.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/rust/chains/hyperlane-ethereum/src/mailbox.rs b/rust/chains/hyperlane-ethereum/src/mailbox.rs index 587d726fb8..dca90f4b7f 100644 --- a/rust/chains/hyperlane-ethereum/src/mailbox.rs +++ b/rust/chains/hyperlane-ethereum/src/mailbox.rs @@ -282,6 +282,15 @@ where tx = tx.gas_price(gas_price); } } + if self.domain.id() == 56 { + if let Ok(gas_price) = std::env::var("BSC_GAS_PRICE") + .unwrap_or_default() + .parse::() + { + debug!(%gas_price, "Using custom gas price for BSC"); + tx = tx.gas_price(gas_price); + } + } Ok(tx) } } From 1733a5ef089beddb5cd08702b06c6ee3290afb6f Mon Sep 17 00:00:00 2001 From: Trevor Porter Date: Wed, 7 Aug 2024 12:17:38 +0100 Subject: [PATCH 2/2] new image --- typescript/infra/config/environments/mainnet2/agent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typescript/infra/config/environments/mainnet2/agent.ts b/typescript/infra/config/environments/mainnet2/agent.ts index 217c237d7c..4741d3619c 100644 --- a/typescript/infra/config/environments/mainnet2/agent.ts +++ b/typescript/infra/config/environments/mainnet2/agent.ts @@ -127,7 +127,7 @@ const hyperlane: RootAgentConfig = { connectionType: AgentConnectionType.HttpFallback, docker: { repo, - tag: '475bd1c-20240416-105206', + tag: '113b19a-20240807-084327', }, blacklist: [ ...releaseCandidateHelloworldMatchingList,