chore: extend list of blocked addresses on relayer (#4696)

### Description

<!--
What's included in this PR?
-->

### Drive-by changes

<!--
Are there any minor or drive-by changes also included?
-->

### Related issues

<!--
- Fixes #[issue number here]
-->

### Backward compatibility

<!--
Are these changes backward compatible? Are there any infrastructure
implications, e.g. changes that would prohibit deploying older commits
using this infra tooling?

Yes/No
-->

### Testing

<!--
What kind of testing have these changes undergone?

None/Manual/Unit Tests
-->
pull/4698/head
Trevor Porter 2 weeks ago committed by GitHub
parent b1ff48bd1d
commit 6295693f31
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      typescript/infra/config/environments/mainnet3/agent.ts
  2. 12
      typescript/infra/src/config/agent/relayer.ts

@ -418,7 +418,7 @@ const hyperlane: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: 'efd438f-20241016-101828',
tag: 'b1ff48b-20241016-183301',
},
gasPaymentEnforcement: gasPaymentEnforcement,
metricAppContexts,
@ -452,7 +452,7 @@ const releaseCandidate: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: '5cb1787-20240924-192934',
tag: 'b1ff48b-20241016-183301',
},
// We're temporarily (ab)using the RC relayer as a way to increase
// message throughput.
@ -485,7 +485,7 @@ const neutron: RootAgentConfig = {
rpcConsensusType: RpcConsensusType.Fallback,
docker: {
repo,
tag: '5a0d68b-20240916-144115',
tag: 'b1ff48b-20241016-183301',
},
gasPaymentEnforcement: [
{

@ -169,7 +169,9 @@ export class RelayerConfigHelper extends AgentConfigHelper<RelayerConfig> {
}),
);
return allSanctionedAddresses.flat().filter((address) => {
const sanctionedEthereumAdresses = allSanctionedAddresses
.flat()
.filter((address) => {
if (!isValidAddressEvm(address)) {
this.logger.debug(
{ address },
@ -179,6 +181,14 @@ export class RelayerConfigHelper extends AgentConfigHelper<RelayerConfig> {
}
return true;
});
const radiantExploiter = [
'0xA0e768A68ba1BFffb9F4366dfC8D9195EE7217d1',
'0x0629b1048298AE9deff0F4100A31967Fb3f98962',
'0x97a05beCc2e7891D07F382457Cd5d57FD242e4e8',
];
return [...sanctionedEthereumAdresses, ...radiantExploiter];
}
// Returns whether the relayer requires AWS credentials

Loading…
Cancel
Save