Skip to content

Commit

Permalink
remove debug log (#337)
Browse files Browse the repository at this point in the history
* implement okx 1%

* relax test case

* remove getLogger due to 'Dependency with key logger not found' when used from backend.

* relax test case

* added okx approve transaction

* register loggers

* remove registering logger in sdk, should be done in backend instead

* review comments

* change logger format

* version

* make logs human readable

* okx 100% for testing

* update logging

* merge main
  • Loading branch information
tommyzhao451 authored Sep 13, 2024
1 parent 06d1ebc commit a2fed01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@aperture_finance/uniswap-v3-automation-sdk",
"version": "3.10.2",
"version": "3.10.3",
"description": "SDK for Aperture's CLMM automation platform",
"author": "Aperture Finance <[email protected]>",
"license": "MIT",
Expand Down
7 changes: 1 addition & 6 deletions src/viem/solver/getOkxSolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@ export async function buildRequest(methodName: string, params: object) {
}

function apiRequestUrl(methodName: string) {
const rv = new URL(
`api/v5/dex/aggregator/${methodName}`,
ApiBaseUrl,
).toString();
console.log('apiRequestUrl', rv);
return rv;
return new URL(`api/v5/dex/aggregator/${methodName}`, ApiBaseUrl).toString();
}

export async function getOkxApproveTarget(
Expand Down

0 comments on commit a2fed01

Please sign in to comment.