Skip to content

Commit

Permalink
Merge branch 'hyperlane-xyz:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
ltyu authored Dec 23, 2023
2 parents 1a09adb + 0e60c22 commit 8ee79a2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rust/config/mainnet3_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@
"canonicalAsset": "untrn",
"prefix": "neutron",
"gasPrice": {
"amount": "0.5",
"amount": "0.57",
"denom": "untrn"
},
"index": {
Expand Down
2 changes: 1 addition & 1 deletion typescript/infra/config/environments/mainnet3/agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const neutron: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: '86b7f98-20231207-153805',
tag: '67585a2-20231220-223937',
},
gasPaymentEnforcement: [
{
Expand Down
5 changes: 4 additions & 1 deletion typescript/sdk/src/core/HyperlaneCoreDeployer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ export class HyperlaneCoreDeployer extends HyperlaneDeployer<
if (
!e.message.includes('already initialized') &&
// Some RPC providers dont return the revert reason (nor allow ethers to parse it), so we have to check the message
!e.message.includes('Reverted 0x08c379a')
!e.message.includes('Reverted 0x08c379a') &&
// Handle situation where the gas estimation fails on the call function,
// then the real error reason is not available in `e.message`, but rather in `e.error.reason`
!e.error?.reason?.includes('already initialized')
) {
throw e;
}
Expand Down

0 comments on commit 8ee79a2

Please sign in to comment.