Skip to content

Commit

Permalink
Merge pull request #116 from reservoirprotocol/ofir/platf-2438-relaye…
Browse files Browse the repository at this point in the history
…r-for-zksync

feat: added chains
  • Loading branch information
nofir authored Oct 20, 2023
2 parents 67dab25 + 8fba517 commit 9dece87
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/continuous-delivery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,24 @@ jobs:
./prod/platform/relayer-zora-testnet.yaml \
${{ github.sha }} \
relayer-zora-testnet
./utils/version_update.sh \
./prod/platform/relayer-bsc.yaml \
${{ github.sha }} \
relayer-bsc
./utils/version_update.sh \
./prod/platform/relayer-linea.yaml \
${{ github.sha }} \
relayer-linea
./utils/version_update.sh \
./prod/platform/relayer-polygon-zkevm.yaml \
${{ github.sha }} \
relayer-polygon-zkevm
./utils/version_update.sh \
./prod/platform/relayer-zksync.yaml \
${{ github.sha }} \
relayer-zksync
./utils/version_update.sh \
./prod/platform/relayer-arbitrum-nova.yaml \
${{ github.sha }} \
relayer-arbitrum-nova
12 changes: 12 additions & 0 deletions src/common/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,18 @@ const log = (level: "debug" | "error" | "info" | "warn") => {
case 11155111:
network = "sepolia";
break;

case 59144:
network = "linea";
break;

case 1101:
network = "polygon-zkevm";
break;

case 324:
network = "zksync";
break;
}

const service = `relayer-${network}`;
Expand Down
12 changes: 12 additions & 0 deletions src/common/tracer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,18 @@ if (process.env.DATADOG_AGENT_URL) {
case 11155111:
network = "sepolia";
break;

case 59144:
network = "linea";
break;

case 1101:
network = "polygon-zkevm";
break;

case 324:
network = "zksync";
break;
}

const service = `relayer-${network}`;
Expand Down

0 comments on commit 9dece87

Please sign in to comment.