Skip to content

Commit

Permalink
feat: migrate base tenderly to new endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jsy1218 committed Nov 8, 2024
1 parent bee5543 commit baf1c9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/providers/tenderly-simulation-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ const TENDERLY_NODE_API = (chainId: ChainId, tenderlyNodeApiKey: string) => {
switch (chainId) {
case ChainId.MAINNET:
return `https://mainnet.gateway.tenderly.co/${tenderlyNodeApiKey}`;
case ChainId.BASE:
return `https://base.gateway.tenderly.co/${tenderlyNodeApiKey}`;
default:
throw new Error(
`ChainId ${chainId} does not correspond to a tenderly node endpoint`
Expand Down

0 comments on commit baf1c9c

Please sign in to comment.