Skip to content

Commit

Permalink
fix requested changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aburkut committed Jan 22, 2025
1 parent c2d16e0 commit b27bdb7
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions tests/tenderly-simulation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,7 @@ export class TenderlySimulation implements TransactionSimulator {
[Network.BASE]: 'base',
};

constructor(private network: number = 1, vnetId?: string) {
if (vnetId) {
this.vnetId = vnetId;
}
}
constructor(private network: number = 1) {}

getChainNameByChainId(network: number): string {
return this.chainIdToChainNameMap[network];
Expand All @@ -94,8 +90,6 @@ export class TenderlySimulation implements TransactionSimulator {
`TenderlySimulation_setup: TENDERLY_TOKEN not found in the env`,
);

if (this.vnetId) return;

const findAdminRPC = (rpcs: { name: string; url: string }[]) => {
return rpcs.find(
rpc => rpc.name.toLowerCase() === 'Admin RPC'.toLowerCase(),
Expand Down

0 comments on commit b27bdb7

Please sign in to comment.