Skip to content

Commit

Permalink
🔥 remove log
Browse files Browse the repository at this point in the history
  • Loading branch information
jgalat committed Sep 26, 2023
1 parent bd39220 commit c7b27be
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions contexts/LeveragerContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import {
hexToBigInt,
keccak256,
encodeAbiParameters,
encodeFunctionData,
} from 'viem';
import { splitSignature } from '@ethersproject/bytes';
import { AbiParametersToPrimitiveTypes, ExtractAbiFunction, ExtractAbiFunctionNames } from 'abitype';
Expand Down Expand Up @@ -918,11 +917,6 @@ export const LeveragerContextProvider: FC<PropsWithChildren> = ({ children }) =>
}
case 'permit2': {
args = [...args, marketPermit.value, assetPermit.value];
console.log(
debtManager.address,
walletAddress,
encodeFunctionData({ abi: debtManager.abi, functionName: 'leverage', args }),
);
const gasEstimation = await debtManager.estimateGas.leverage(args, opts);
hash = await debtManager.write.leverage(args, {
...opts,
Expand Down

0 comments on commit c7b27be

Please sign in to comment.