Commit d941f848 authored by Mark Tyneway's avatar Mark Tyneway

lint: fix

parent 56e48169
...@@ -400,13 +400,14 @@ export const getTenderlySimulationLink = async ( ...@@ -400,13 +400,14 @@ export const getTenderlySimulationLink = async (
tx: ethers.PopulatedTransaction tx: ethers.PopulatedTransaction
): Promise<string> => { ): Promise<string> => {
if (process.env.TENDERLY_PROJECT && process.env.TENDERLY_USERNAME) { if (process.env.TENDERLY_PROJECT && process.env.TENDERLY_USERNAME) {
return `https://dashboard.tenderly.co/${process.env.TENDERLY_PROJECT}/${process.env.TENDERLY_USERNAME return `https://dashboard.tenderly.co/${process.env.TENDERLY_PROJECT}/${
}/simulator/new?${new URLSearchParams({ process.env.TENDERLY_USERNAME
network: (await provider.getNetwork()).chainId.toString(), }/simulator/new?${new URLSearchParams({
contractAddress: tx.to, network: (await provider.getNetwork()).chainId.toString(),
rawFunctionInput: tx.data, contractAddress: tx.to,
from: tx.from, rawFunctionInput: tx.data,
}).toString()}` from: tx.from,
}).toString()}`
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment