Skip to content

Commit

Permalink
chore: add turbo network to silo config
Browse files Browse the repository at this point in the history
  • Loading branch information
diegofigs committed Dec 12, 2024
1 parent e8ab551 commit 98045d7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/olive-mails-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@aurora-is-near/backstage-plugin-blockchainradar-backend': patch
---

feat: add turbo support
1 change: 1 addition & 0 deletions plugins/blockchainradar-backend/src/lib/EtherscanClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export class EtherscanClient {
celo: 'api.celoscan.xyz',
'alfajores-celo': 'api-alfajores.celoscan.xyz',
clover: 'api.clvscan.com',
// TODO: handle using hex convention
...Object.values(SILO_NAMES_BY_CHAIN_ID).reduce(
(acc, siloName) => ({
...acc,
Expand Down
1 change: 1 addition & 0 deletions plugins/blockchainradar-backend/src/lib/networks.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export const SILO_NAMES_BY_CHAIN_ID = {
'1313161560': 'powergold',
'1313161567': 'turbo',
};

type SiloChainId = keyof typeof SILO_NAMES_BY_CHAIN_ID;
Expand Down

0 comments on commit 98045d7

Please sign in to comment.