Skip to content

Commit

Permalink
v7.5.7
Browse files Browse the repository at this point in the history
v7.5.7
  • Loading branch information
platschi authored Sep 5, 2023
2 parents eacbd88 + 1cac220 commit 1f52f56
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/jest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lighthouse.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # pin@v2
uses: actions/checkout@v4 # pin@v2

- name: Run lighthouse
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sentry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion packages/app/src/utils/futures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const updatePositionUpnl = (
.sub(offChainPrice)
.mul(position.side === PositionSide.LONG ? -1 : 1)
)
const pnlPct = pnl.div(position.initialMargin.add(thisPositionHistory.netTransfers))
const pnlPct = pnl.div(thisPositionHistory.initialMargin.add(thisPositionHistory.netTransfers))
const accruedFunding = position.accruedFunding.add(thisPositionHistory.netFunding)

return {
Expand Down

1 comment on commit 1f52f56

@vercel
Copy link

@vercel vercel bot commented on 1f52f56 Sep 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

kwenta – ./packages/app

kwenta.io
kwenta-git-main-kwenta.vercel.app
kwenta-kwenta.vercel.app

Please sign in to comment.