Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
LuckySwap
interface
Commits
367be52f
Commit
367be52f
authored
Oct 09, 2024
by
Uniswap Labs Service Account
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ci(release): publish latest release
parent
6bac24a4
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
19 deletions
+26
-19
RELEASE
RELEASE
+6
-11
VERSION
VERSION
+1
-1
EthSend.tsx
.../features/dappRequests/requestContent/EthSend/EthSend.tsx
+4
-1
WrapContent.tsx
.../app/features/dappRequests/requestContent/WrapContent.tsx
+9
-5
hooks.ts
packages/uniswap/src/features/gas/hooks.ts
+6
-1
No files found.
RELEASE
View file @
367be52f
IPFS hash of the deployment:
IPFS hash of the deployment:
- CIDv0: `Qm
SSKD7h4Q9E4bEtFW5zqeBJQ419v7BGHUushs7Myz2WQQ
`
- CIDv0: `Qm
brVRA32CDwC4dhB4NStnreoYJ2xEaX3SoMW8kU5TuE7s
`
- CIDv1: `bafybei
b44ixryspegordbiauzjcek6nvu4kqbdgucj6dgvwiv4jad6owde
`
- CIDv1: `bafybei
giztmprfce7w24v25bv65hos5sz464njnrahj37irfxp255e434i
`
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
The latest release is always mirrored at [app.uniswap.org](https://app.uniswap.org).
...
@@ -10,15 +10,10 @@ You can also access the Uniswap Interface from an IPFS gateway.
...
@@ -10,15 +10,10 @@ You can also access the Uniswap Interface from an IPFS gateway.
Your Uniswap settings are never remembered across different URLs.
Your Uniswap settings are never remembered across different URLs.
IPFS gateways:
IPFS gateways:
- https://bafybei
b44ixryspegordbiauzjcek6nvu4kqbdgucj6dgvwiv4jad6owde
.ipfs.dweb.link/
- https://bafybei
giztmprfce7w24v25bv65hos5sz464njnrahj37irfxp255e434i
.ipfs.dweb.link/
- https://bafybei
b44ixryspegordbiauzjcek6nvu4kqbdgucj6dgvwiv4jad6owde
.ipfs.cf-ipfs.com/
- https://bafybei
giztmprfce7w24v25bv65hos5sz464njnrahj37irfxp255e434i
.ipfs.cf-ipfs.com/
- [ipfs://Qm
SSKD7h4Q9E4bEtFW5zqeBJQ419v7BGHUushs7Myz2WQQ/](ipfs://QmSSKD7h4Q9E4bEtFW5zqeBJQ419v7BGHUushs7Myz2WQQ
/)
- [ipfs://Qm
brVRA32CDwC4dhB4NStnreoYJ2xEaX3SoMW8kU5TuE7s/](ipfs://QmbrVRA32CDwC4dhB4NStnreoYJ2xEaX3SoMW8kU5TuE7s
/)
### 5.50.2 (2024-10-09)
### 5.50.3 (2024-10-09)
### Bug Fixes
* **web:** log step and original error on web (#12826) 5d4bd4f
VERSION
View file @
367be52f
web/5.50.2
web/5.50.3
\ No newline at end of file
\ No newline at end of file
apps/extension/src/app/features/dappRequests/requestContent/EthSend/EthSend.tsx
View file @
367be52f
...
@@ -24,7 +24,10 @@ export function EthSendRequestContent({ request }: EthSendRequestContentProps):
...
@@ -24,7 +24,10 @@ export function EthSendRequestContent({ request }: EthSendRequestContentProps):
const
chainId
=
useDappLastChainId
(
dappUrl
)
const
chainId
=
useDappLastChainId
(
dappUrl
)
// Gas service requires a chain id
// Gas service requires a chain id
const
formattedTxnForGasQuery
=
{
...
dappRequest
.
transaction
,
chainId
}
const
formattedTxnForGasQuery
=
useMemo
(
()
=>
({
...
dappRequest
.
transaction
,
chainId
}),
[
dappRequest
.
transaction
,
chainId
],
)
const
transactionGasFeeResult
=
useTransactionGasFee
(
const
transactionGasFeeResult
=
useTransactionGasFee
(
formattedTxnForGasQuery
,
formattedTxnForGasQuery
,
...
...
apps/extension/src/app/features/dappRequests/requestContent/WrapContent.tsx
View file @
367be52f
import
{
useMemo
}
from
'
react
'
import
{
useTranslation
}
from
'
react-i18next
'
import
{
useTranslation
}
from
'
react-i18next
'
import
{
useDappLastChainId
}
from
'
src/app/features/dapp/hooks
'
import
{
useDappLastChainId
}
from
'
src/app/features/dapp/hooks
'
import
{
DappRequestStoreItem
}
from
'
src/app/features/dappRequests/slice
'
import
{
DappRequestStoreItem
}
from
'
src/app/features/dappRequests/slice
'
...
@@ -25,11 +26,14 @@ export const WrapTransactionDetails = ({
...
@@ -25,11 +26,14 @@ export const WrapTransactionDetails = ({
const
chainId
=
useDappLastChainId
(
dappUrl
)
||
UniverseChainId
.
Mainnet
const
chainId
=
useDappLastChainId
(
dappUrl
)
||
UniverseChainId
.
Mainnet
const
networkFee
=
useTransactionGasFee
({
const
txRequest
=
useMemo
(
chainId
,
()
=>
({
...
sendTransactionRequest
.
transaction
,
chainId
}),
...
sendTransactionRequest
.
transaction
,
[
sendTransactionRequest
,
chainId
],
}).
value
)
const
gasFeeUSD
=
useUSDValue
(
chainId
,
networkFee
)
const
networkFee
=
useTransactionGasFee
(
txRequest
)
const
gasFeeUSD
=
useUSDValue
(
chainId
,
networkFee
.
value
)
return
(
return
(
<
Flex
>
<
Flex
>
...
...
packages/uniswap/src/features/gas/hooks.ts
View file @
367be52f
...
@@ -114,8 +114,13 @@ export function useTransactionGasFee(
...
@@ -114,8 +114,13 @@ export function useTransactionGasFee(
const
activeGasStrategy
=
useActiveGasStrategy
(
tx
?.
chainId
,
'
general
'
)
const
activeGasStrategy
=
useActiveGasStrategy
(
tx
?.
chainId
,
'
general
'
)
const
shadowGasStrategies
=
useShadowGasStrategies
(
tx
?.
chainId
,
'
general
'
)
const
shadowGasStrategies
=
useShadowGasStrategies
(
tx
?.
chainId
,
'
general
'
)
const
txWithGasStrategies
=
useMemo
(
()
=>
({
...
tx
,
gasStrategies
:
[
activeGasStrategy
,
...(
shadowGasStrategies
??
[])]
}),
[
tx
,
activeGasStrategy
,
shadowGasStrategies
],
)
const
{
data
,
error
,
isLoading
}
=
useGasFeeQuery
({
const
{
data
,
error
,
isLoading
}
=
useGasFeeQuery
({
params
:
skip
||
!
tx
?
undefined
:
{
...
tx
,
gasStrategies
:
[
activeGasStrategy
,
...(
shadowGasStrategies
??
[])]
}
,
params
:
skip
||
!
tx
?
undefined
:
txWithGasStrategies
,
refetchInterval
,
refetchInterval
,
staleTime
:
pollingIntervalForChain
,
staleTime
:
pollingIntervalForChain
,
immediateGcTime
:
pollingIntervalForChain
+
15
*
ONE_SECOND_MS
,
immediateGcTime
:
pollingIntervalForChain
+
15
*
ONE_SECOND_MS
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment